Git Product home page Git Product logo

sgx_agent's Introduction

SGX Agent

SGX Agent is primarily involved in SGX technology discovery and collection of SGX attributes on a SGX enabled platform (Single Socket/Multi socket).

Key features

  • SGX agent required for SGX Discovery and Provisioning
  • Collects the SGX platform-specific values, explicitly Encrypted PPID, CPU SVN, ISV SVN, PCE ID, Manifest and QEID
  • SGX Agent provides platform SGX-related information to the SGX Host Verification Service

System Requirements

  • RHEL 8.4 or ubuntu 20.04
  • Epel 8 Repo
  • Proxy settings if applicable
  • SHVS should be up and running

Software requirements

  • git
  • makeself
  • docker
  • Go 1.18.8

Step By Step Build Instructions

Install required shell commands

Install tools from dnf

sudo dnf install -y git wget makeself docker

Install go 1.18.8

The Certificate Management Service requires Go version 1.18 that has support for go modules. The build was validated with version 1.18.8 version of go. It is recommended that you use a newer version of go

  • but please keep in mind that the product has been validated with 1.18.8 and newer versions of go may introduce compatibility issues. You can use the following to install go.
wget https://dl.google.com/go/go1.18.8.linux-amd64.tar.gz
tar -xzf go1.18.8.linux-amd64.tar.gz
sudo mv go /usr/local
export GOROOT=/usr/local/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH

Build SGX Agent

  • Git clone the SGX Agent
  • Run scripts to build the SGX Agent
repo init -u  https://github.com/intel-secl/build-manifest.git -b refs/tags/v5.1.0 -m manifest/skc.xml 
repo sync 
make sgx_agent_k8s 
- Sgx agent container image will be generated. Use: `docker images` to list 

Manage service

  • Start service

    • sgx_agent start
  • Stop service

    • sgx_agent stop
  • Status of service

    • sgx_agent status

Third Party Dependencies

  • Certificate Management Service

  • Authentication and Authorization Service

Direct dependencies

Name Repo URL Minimum Version Required
uuid github.com/google/uuid v1.2.0
cpuid github.com/klauspost/cpuid v1.2.1
errors github.com/pkg/errors v0.9.1
logrus github.com/sirupsen/logrus v1.7.0
jwt-go github.com/dgrijalva/jwt-go v3.2.1
testify github.com/stretchr/testify v1.6.1
yaml.v3 gopkg.in/yaml.v3 v3.0.1
common github.com/intel-secl/common v5.1.0
clients github.com/intel-secl/client v5.1.0

Note: All dependencies are listed in go.mod

sgx_agent's People

Contributors

ravi-bhat avatar manuullas avatar johnnyjacob avatar vartikad avatar rashmirrajashekara avatar pravinrajr9 avatar shefalikamal avatar ddhawal avatar arijit8972 avatar prashanthx-pai avatar aasikrax avatar harmindx avatar arvind5 avatar pkumarex avatar dsyalamx avatar mganapax avatar samudrala-apurva avatar ss893 avatar afathimx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.