sgxwallet depends on several freely available software components. These must be installed and configured before running sgxwallet. This document describes how to install and configure these required components.
sgxwallet has been tested and should be run on Ubuntu 18.04.
Sgxwallet may run on other Linux distributions, but the installation process is likely to be more complicated, and the use of other distributions is not supported by their respective communities at this time.
Docker engine is pre-installed on Ubuntu 18.04. You can re-install it as described below
sudo apt-get install -y docker.io
To verify a correct installation, run sudo docker run hello-world
sudo apt-get install -y docker-compose
To verify a correct installation, run docker-compose version
For details on Docker installation, see https://docs.docker.com/engine/installation/linux/ubuntu and https://docs.docker.com/compose/install/#install-compose
Intel SGX automatically downloads enclave whitelist updates from
http://whitelist.trustedservices.intel.com/SGX/LCWL/Linux/sgx_white_list_cert.bin
Verify that your network and firewall configuration allows connections to this URL by running
curl -I http://whitelist.trustedservices.intel.com/SGX/LCWL/Linux/sgx_white_list_cert.bin
If you need to set advanced options, such as outgoing network proxy, edit "/etc/aesmd.conf" file in the sgxwallet docker container.
Install cpuid and libelf-dev packages:
sudo apt-get install -y libelf-dev cpuid
Verify processor support of Intel SGX:
cpuid | grep SGX:
The printout should read: SGX: Software Guard Extensions supported = true