cycles-quartz/crates/enclave/core
2024-10-17 12:43:50 +04:00
..
data fix(enclave): remove core build.rs and copy data files (#259) 2024-10-17 12:43:50 +04:00
src fix(enclave): remove core build.rs and copy data files (#259) 2024-10-17 12:43:50 +04:00
.gitignore Rename crates and subdirs (#231) 2024-10-01 10:27:57 -04:00
Cargo.toml fix(enclave): remove core build.rs and copy data files (#259) 2024-10-17 12:43:50 +04:00
README.md Remove SPID from gramine calls (#246) 2024-10-09 17:33:01 +04:00

Quartz enclave

Enclave usage

gramine-sgx-gen-private-key

CARGO_TARGET_DIR=./target cargo build --release

gramine-manifest  \
    -Dlog_level="error"  \
    -Dhome=${HOME}  \
    -Darch_libdir="/lib/$(gcc -dumpmachine)"  \
    -Dra_type="dcap" \
    -Dra_client_linkable=1 \
    -Dquartz_dir="$(pwd)"  \
    quartz.manifest.template quartz.manifest

gramine-sgx-sign --manifest quartz.manifest --output quartz.manifest.sgx
gramine-sgx ./quartz

CLI usage

cargo run -- --chain-id testing \
    --trusted-height 1 \
    --trusted-hash "A1D115BA3A5E9FCC12ED68A9D8669159E9085F6F96EC26619F5C7CEB4EE02869"