guarantee
TEE attestation SDK for Rust. Cryptographic proof that your code runs in a Trusted Execution Environment.
Quick Start
[]
= "0.1.1"
use ;
async
async
How it works
- At startup, generates an ephemeral Ed25519 keypair
- In SGX enclaves: gets an attestation quote binding the key to the enclave measurement
- Every response is signed with
X-TEE-Attestation: v=1; sig=<ed25519>; hash=<sha256>; key=<pubkey> - Callers verify the signature chain: startup quote -> public key -> response signature
Works in dev mode without SGX hardware (GUARANTEE_ENCLAVE not set).
License
MIT