Konubinix' opinionated web of thoughts

Rust-Sgx

Fleeting

fortanix/rust-sgx: The Fortanix Rust Enclave Development Platform

The Fortanix Rust EDP is the preferred way to write Intel SGX enclaves from scratch

Install AESM service

  • Docker (Linux)

    Download and run the aesmd image from Docker Hub: docker run –detach –restart always –device /dev/isgx –volume /var/run/aesmd:/var/run/aesmd –name aesmd fortanix/aesmd

  • Ubuntu 16.04/18.04

    Enable the Intel SGX APT repository and install the sgx-aesm-service and the libsgx-aesm-launch-plugin packages. echo “deb https://download.01.org/intel-sgx/sgx_repo/ubuntu $(lsb_release -cs) main” | sudo tee -a /etc/apt/sources.list.d/intel-sgx.list >/dev/null curl -sSL “https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key” | sudo -E apt-key add - sudo apt-get update sudo apt-get install sgx-aesm-service libsgx-aesm-launch-plugin

  • Linux PSW package

    On Intel’s website, find the latest “Intel SGX Linux Release” (not “Intel SGX DCAP Linux Release”) and download the “Intel (R) SGX Installers” for your platform. The package will have psw in the name.

https://edp.fortanix.com/docs/installation/guide/

Notes pointant ici