mirror of
https://github.com/matter-labs/teepot.git
synced 2025-07-21 07:03:56 +02:00
feat: add platform-specific implementations for quote verification
- Introduced conditional compilation for Intel SGX/TDX quote verification based on target OS and architecture. - Moved Intel-specific logic to a separate module and added a fallback for unsupported platforms. This is done, so we can pull in the `teepot` crate even on `linux-x86_64` without the Intel SGX SDK lib dependency. Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
905487dac8
commit
2a8614c08f
13 changed files with 596 additions and 567 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -4968,7 +4968,6 @@ dependencies = [
|
|||
"sha2",
|
||||
"sha3",
|
||||
"signature",
|
||||
"tdx-attest-rs",
|
||||
"teepot-tee-quote-verification-rs",
|
||||
"testaso",
|
||||
"thiserror 2.0.11",
|
||||
|
@ -5003,6 +5002,7 @@ version = "0.3.0"
|
|||
dependencies = [
|
||||
"intel-tee-quote-verification-sys",
|
||||
"serde",
|
||||
"tdx-attest-rs",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue