#parser #quote #mocking #intel #tdx #attestation #verifies

tdx-quote

Parses and verifies Intel TDX quotes

1 unstable release

0.0.1 Oct 2, 2024

#6 in #quotes

Download history 255/week @ 2024-09-27 221/week @ 2024-10-04 131/week @ 2024-10-11 411/week @ 2024-10-18 172/week @ 2024-10-25 249/week @ 2024-11-01 229/week @ 2024-11-08 207/week @ 2024-11-15 284/week @ 2024-11-22 350/week @ 2024-11-29 214/week @ 2024-12-06 274/week @ 2024-12-13

1,192 downloads per month
Used in 2 crates

AGPL-3.0-or-later

31KB
635 lines

tdx-quote

Parses and verifies Intel TDX quotes (v4 and v5)

This crate is no_std.

This is inspired by tdx-quote-parser for the types and sgx-quote for the no-std parsing using nom.

This is based on the specification described in the Intel TDX DCAP Quoting Library API, appendix 3.

The mock feature flag allows generating mock quotes, which this library can parse and verify. This is used for testing attestation features on without needing TDX hardware.

Warning: This is in early stages of development and has not been audited.

For quote generation, see configfs-tsm.


lib.rs:

Parses and verifies Intel TDX quotes (v4 and v5)

This crate is no_std.

This is inspired by tdx-quote-parser for the types and sgx-quote for the no-std parsing using nom.

This is based on the specification described in the Intel TDX DCAP Quoting Library API, appendix 3.

The mock feature flag allows generating mock quotes, which this library can parse and verify. This is used for testing attestation features on without needing TDX hardware.

Warning: This is in early stages of development and has not been audited.

For quote generation, see configfs-tsm.

Dependencies

~4MB
~76K SLoC