az-tdx-vtpm

Crates.ioaz-tdx-vtpm
lib.rsaz-tdx-vtpm
version0.7.1
sourcesrc
created_at2023-11-28 19:09:33.07357
updated_at2024-11-18 13:20:20.017732
descriptionvTPM based TDX attestation for Azure Confidential VMs
homepage
repositoryhttps://github.com/kinvolk/azure-cvm-tooling/
max_upload_size
id1052282
size42,341
Magnus Kulke (mkulke)

documentation

README

az-tdx-vtpm

Rust Crate Docs

This library enables guest attestation and verification for TDX CVMs on Azure.

Build & Install

cargo b --release -p az-tdx-vtpm
scp ../target/release/tdx-vtpm azureuser@$CONFIDENTIAL_VM:

Run Binary

On the TDX CVM, retrieve a TD Quote and write it to disk:

sudo ./tdx-vtpm

Integration Tests

The integration test suite can run on a TDX CVM. It needs to be executed as root and the tests have to run sequentially.

sudo -E env "PATH=$PATH" cargo t --features integration_test -- --test-threads 1
Commit count: 61

cargo fmt