/experiment-sgx

SGX related experiments

Primary LanguagePythonApache License 2.0Apache-2.0

SGX Experiments in Faasm

Quick start from fresh VM

Install the required dependencies:

sudo apt update && sudo apt upgrade -y
sudo apt install -y \
    python3-invoke \
    python3-pip \
    python3-venv

Initialise the virtual environment:

source ./bin/workon.sh

Now configure the APT repos:

sudo inv sgx.configure

Install the remaining dependencies:

sudo apt update && sudo apt install -y \
    az-dcap-client \
    dkms \
    libsgx-quote-ex \
    libsgx-enclave-common \
    libsgx-enclave-common-dev \
    libsgx-dcap-ql \
    libsgx-dcap-ql-dev \
    libssl-dev

Finally, install the DCAP driver and SGX SDK:

inv sgx.install

And source your environment:

source ~/.bashrc