I want to use Intel SGX on Ubuntu.
I have a Dell Inspiron with an Intel i7-8550U, which supports SGX. I am running Ubuntu 18.04 from a bootable flash drive (my main OS is Windows 10, typically I use a VM for my Linux dev, but a VM seems unable to access the SGX chip). I have set SGX to “enabled” mode in my BIOS settings.
sudo apt-get install alien sudo alien --scripts Downloads/iclsClient-1.45.449.12-1.x86_64.rpm sudo dpkg -i iclsclient_1.45.449.12-2_amd64.deb sudo ./sgx_linux_x64_driver_778dd1f.bin sudo dpkg -i libsgx-enclave-common_184.108.40.206891-bionic1_amd64.deb sudo ./sgx_linux_x64_sdk_220.127.116.11891.bin source sgxsdk/environment
The sdk includes some examples. I am able to run them in debug mode, but they are not working in hardware mode.
Any thoughts on why? Has anyone successfully run (the 2.5 version of) the SGX SDK using Ubuntu?