Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 881 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 881 Bytes

SGX Attestation App

This is a sample application to demostrate the SGX enclave attestation with Intel® Trust Authority using trustauthority-client

Instructions for Ubuntu-20.04

Use the below command to install all the dependencies necessary to run this sample app.

chmod +x install.sh
sudo ./install.sh

Build

Once the above install script is successful, use the below steps to build and run the app

make -C enclave
CGO_CFLAGS_ALLOW="-f.*" /usr/local/go/bin/go build
LD_LIBRARY_PATH=enclave/ ./sgxexample --config config.json

Config Definition

{
    "trustauthority_url": "https://portal.trustauthority.intel.com",
    "trustauthority_api_url": "https://api.trustauthority.intel.com",
    "trustauthority_api_key": "<trustauthority attestation api key>"
}