Install SGX
Ensure your hardware is Hardware Compliance.
If you're running a local machine and not a cloud-based VM -
Go to your BIOS menu
Enable SGX (Set to "YES", it's not enough to set it to "software controlled")
Disable Secure Boot
Disable Hyperthreading
Installation
Install SGX
Note: sgx_linux_x64_driver_2.11.0_2d2b795.bin
is the latest driver as of August 24th, 2021. Please check under https://download.01.org/intel-sgx/sgx-linux/ that this is still the case. If not, please send us a PR or notify us.
If you are a node runner all you must do to install SGX is to save this as a script and run it.
Download the SGX install script.
Execute the script.
Testing your SGX setup
Run secretd init-enclave
secretd init-enclave
See Verify SGX for a guide how to test your setup.
Uninstall
To uninstall the Intel(R) SGX Driver, run:
The above command produces no output when it succeeds. If you want to verify that the driver has been uninstalled, you can run the following, which should print SGX Driver NOT installed
:
To uninstall the SGX SDK, run:
To uninstall the rest of the dependencies, run:
Refs
Last updated