Intel SGX SDK Setup
Last updated
Last updated
Getting the Intel SDK running on your computer is sometimes tricky. Check out the wiki for tutorials.
This documentation is a quick installation guide to run Intel(R) Software Guard Extensions on Ubuntu 20.04 LTS 64-bit Desktop with disabled Flexible Launch Control (FLC) support.
To install the Intel® SGX PSW, first install the following tools
$ sudo apt-get install libssl-dev libcurl4-openssl-dev libprotobuf-dev
To install the Intel® SGX SDK, install the following tools
$ sudo apt-get install build-essential python-is-python3
Download the DCAP . You find the DCAP version in the driver_readme.txt
file.
Set the protections to allow for the .bin file execution
$ chmod 777 sgx_linux_x64_driver_<version>.bin
Run the following command:
$ sudo./sgx_linux_x64_driver_<version>.bin
Reboot your system.
Add the following repository to your sources
Add the key to the list of trusted keys used by the apt to authenticate packages:
Update the apt and install the packages:
$ sudo apt-get update
Install launch service:
$ sudo apt-get install libsgx-launch libsgx-urts
Install EPID-based attestation service:
$ sudo apt-get install libsgx-epid
Install algorithm agnostic attestation service
$ sudo apt-get install libsgx-quote-ex
Set the protections to allow for the .bin file execution
$ chmod 777 sgx_linux_x64_sdk_<version>.bin
Install the SDK using the following command:
$ sudo./sgx_linux_x64_sdk_<version>.bin
Install the SDK in directory /opt/intel/sgxsdk.
Run the following command
source /opt/intel/sgxsdk/environment
Intel(R) SGX for Linux* OS project home page on 01.org Intel(R) SGX Programming Reference
Update bios/uefi to the newest version. The new firmware can be found at the page of your manufactor or it can be updated through their distributed applications. To run with native Intel SGX support, enable SGX in your bios/uefi. Mostly found under security.
Download Intel SGX SDK for Windows v.2.12.1004.exe and Intel SGX PSW for Windows v.2.12.102.1.exe from here.
Download .