em-app

Crates.ioem-app
lib.rsem-app
version
sourcesrc
created_at2020-06-24 18:47:59.672271+00
updated_at2025-02-21 16:30:32.484295+00
descriptionRust EDP application library for Fortanix Enclave Manager
homepage
repositoryhttps://github.com/fortanix/rust-sgx
max_upload_size
id257650
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
crates-owners (github:fortanix:crates-owners)

documentation

README

Fortanix Enclave Manager application library

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.

Commit count: 1017

cargo fmt