Crates.io | em-app |
lib.rs | em-app |
version | 0.4.0 |
source | src |
created_at | 2020-06-24 18:47:59.672271 |
updated_at | 2024-04-16 19:27:44.197905 |
description | Rust EDP application library for Fortanix Enclave Manager |
homepage | |
repository | https://github.com/fortanix/rust-sgx |
max_upload_size | |
id | 257650 |
size | 66,890 |
This crate provides utility functions for Fortanix Enclave Manager. Currently it allows obtaining signed certificates for SGX and AWS Nitro enclaves running in Enclave Manager environment.
To build for SGX:
export CFLAGS_x86_64_fortanix_unknown_sgx="-isystem/usr/include/x86_64-linux-gnu -mlvi-hardening -mllvm -x86-experimental-lvi-inline-asm-hardening"
export CC_x86_64_fortanix_unknown_sgx=clang-11
cargo build --target=x86_64-fortanix-unknown-sgx --locked
To build for Nitro, use either of the following
cargo build --target=x86_64-unknown-linux-musl --locked
cargo build --target=x86_64-unknown-linux-gnu --locked
cargo build --target=x86_64-unknown-linux-fortanixvme --locked
Patches might need to be applied, these are available on root level Cargo.toml.