-
Notifications
You must be signed in to change notification settings - Fork 0
How to install Intel SGX Driver on Ubuntu
In this tutorial describes how to set up Intel SGX on a Linux system. The Intel SGX driver is required to run the enclaves on the supported machine. This makes it possible to execute enclaves that designate their own memory area with higher privileges. These can only be encrypted and decrypted by the processor. Primarily we will deal with the installation of the SGX driver.
First of all, we have to download the latest Intel SGX release (for example Intel SGX Linux 2.8 Release) on the following page:
❗ Note: In the meantime Linux SGX version 2.9 has been released. It is possible that the manual also applies to version 2.9. However, the manual has been tested with version 2.8.
Please make sure to use the SGX release for Ubuntu 18.04. Subsequently you will be redirected to a mirror where two binary files are contained.
Download the driver file sgx_linux_x64_driver_<version>.bin
and navigate to the destinated location in the filesystem. Before we can run the file, we have to use the chmod
command to make it executable.
chmod +x sgx_linux_x64_driver_<version>.bin
Now we can run the driver installation with root privileges.
sudo ./sgx_linux_x64_driver_<version>.bin
After execution of the .bin
file, the SGX driver has been successfully installed and is ready for use.
🛠️ How to install Intel SGX Driver on Ubuntu
🛠️ How to install Intel SGX SDK on Ubuntu
🎯 Validate that your Intel SGX Setup is working correctly
💻 How to setup the Eclipse IDE (with SGX Plugin)
⭐ How to setup the first SGX Project
📊 How to analyse an SGX Enclave? (Installation and Usage)
📁 Brief introduction: SQLite's Virtual File System