mirror of
https://github.com/tlsnotary/tlsn-quote-verification.git
synced 2026-01-09 22:27:56 -05:00
18 lines
693 B
Markdown
18 lines
693 B
Markdown
This repository contains two approaches to verify SGX quotes from TLSNotary notary servers running in Intel SGX Trusted Execution Environments (TEEs):
|
|
1. `intel-tee-quote-verification-docker`: Uses Intel's `tee-quote-verification` library (uses Docker to handle the native dependencies)
|
|
2. `quote_verification`: Native Rust to parse and verify the quote
|
|
|
|
## Getting the Quote
|
|
|
|
To retrieve the SGX quote from a notary server:
|
|
|
|
1. Visit the info page of the notary server.
|
|
2. Copy the `rawQuote` field.
|
|
3. Decode the hex-encoded quote.
|
|
|
|
You can perform these steps in a single command:
|
|
|
|
```sh
|
|
curl https://notary.pse.dev/v0.1.0-alpha.9/info | jq -r '.quote.rawQuote' | xxd -r -p > quote.dat
|
|
```
|