This repository contains two approaches to verify SGX quotes from TLSNotary notary servers running in Intel SGX Trusted Execution Environments (TEEs):
intel-tee-quote-verification-docker
: Uses Intel'stee-quote-verification
library (uses Docker to handle the native dependencies)quote_verification
: Native Rust to parse and verify the quote
To retrieve the SGX quote from a notary server:
- Visit the info page of the notary server.
- Copy the
rawQuote
field. - Decode the hex-encoded quote.
You can perform these steps in a single command:
curl https://notary.pse.dev/v0.1.0-alpha.9/info | jq -r '.quote.rawQuote' | xxd -r -p > quote.dat