mirror of
https://github.com/matter-labs/teepot.git
synced 2025-07-22 15:34:48 +02:00
feat: attestation test on azure and default dcap
``` ❯ docker run -i --rm --privileged --device /dev/sgx_enclave --net host \ matterlabsrobot/teepot-self-attestation-test-sgx-azure:latest \ | base64 -d --ignore-garbage \ | docker run -i --rm --net host matterlabsrobot/verify-attestation-sgx-azure:latest ``` Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
96f53752f1
commit
97420df006
15 changed files with 355 additions and 28 deletions
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright (c) 2023 Matter Labs
|
||||
// Copyright (c) 2023-2024 Matter Labs
|
||||
|
||||
//! Simple TEE attestation verification test
|
||||
|
||||
|
@ -19,6 +19,8 @@ fn main() -> Result<()> {
|
|||
.read_to_end(&mut myquote)
|
||||
.context("Failed to read quote from stdin")?;
|
||||
|
||||
println!("Verifying quote ({} bytes)...", myquote.len());
|
||||
|
||||
let collateral = tee_qv_get_collateral(&myquote).context("Failed to get collateral")?;
|
||||
|
||||
let unix_time: i64 = std::time::SystemTime::now()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue