This is the Enclave/Trusted code the Fleek SGX WASM service. Untrusted/Runner code can be found in the lightning repo here.
fleek-sgx/
lib/
ra-tls/
: Remote attestation TLS implemented via Rustls and RustCryptora-verify/
: Verifing remote attestations implemented via RustCrypto
enclave/
: Trusted enclave for WASM TEE
Requires nix with flake support enabled
# Build the enclave
nix build
# Hash the result
b3sum result/enclave.sgxs