#sgx #attestation #dcap

sgx-quote

Zero-copy Intel SGX quote parser using nom

2 unstable releases

0.1.0 Sep 21, 2019
0.0.9 Sep 21, 2019

#860 in Hardware support

Download history 302/week @ 2023-10-26 303/week @ 2023-11-02 419/week @ 2023-11-09 338/week @ 2023-11-16 426/week @ 2023-11-23 520/week @ 2023-11-30 396/week @ 2023-12-07 402/week @ 2023-12-14 205/week @ 2023-12-21 227/week @ 2023-12-28 385/week @ 2024-01-04 460/week @ 2024-01-11 319/week @ 2024-01-18 272/week @ 2024-01-25 217/week @ 2024-02-01 375/week @ 2024-02-08

1,282 downloads per month
Used in 15 crates (10 directly)

Apache-2.0/MIT

10KB
222 lines

sgx-quote

crates.io version Docs

Zero-copy parsing of Intel SGX quotes using nom.

Example

let quote = sgx_quote::Quote::parse(quote_bytes)?;
let sig = quote.signature;
ecdsa_verify(sig.attestation_key, quote.signed_message(), sig.isv_report_signature)?;

Fuzzing

This crate is fuzzed using cargo-fuzz. It hasn't found a panic yet, but this crate is also a dead simple nom parser, so I should hope not.

Dependencies

~1MB
~15K SLoC