feat(quote): add FMSPC and CPUSVN extraction support

- Introduced new types `Fmspc`, `CpuSvn`, and `Svn` for SGX metadata.
- Added methods to extract raw certificate chains and FMSPC from SGX quotes.
- Created new test file for validating FMSPC extraction with example quotes.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2025-05-06 11:22:33 +02:00
parent fca60adc1a
commit 2bbfb2415c
Signed by: harald
GPG key ID: F519A1143B3FBE32
6 changed files with 1547 additions and 0 deletions

View file

@ -19,6 +19,7 @@ homepage = "https://github.com/matter-labs/teepot"
[workspace.dependencies]
actix-web = { version = "4.5", features = ["rustls-0_23"] }
anyhow = "1.0.82"
asn1_der = { version = "0.7", default-features = false, features = ["native_types"] }
async-trait = "0.1.86"
awc = { version = "3.5", features = ["rustls-0_23-webpki-roots"] }
base64 = "0.22.0"