#StackBounty: #software-installation #hardware #intel #intel-cpu #sgx How do I setup Intel SGX on Ubuntu?

Bounty: 50

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.

I have downloaded the latest version of the SGX SDK from here.
I have downloaded the icls client from here. I then install it as follows:

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_2.5.100.49891-bionic1_amd64.deb
sudo ./sgx_linux_x64_sdk_2.5.100.49891.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?

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.