No project description provided
Project description
TDX Measurement Tool
The measurement tool runs within TD guest to get RTMR value from TDREPORT via Linux attestion driver, and gets the full TD event log from CCEL ACPI table. Then it uses the TD event log to verify the RTMR value or change.
CSP or tenant developer could use it to analyze and debug the TDX measurement before providing the TDX guest VM.
Prerequisites
The Log Area Start Address (LASA) is from ACPI CCEL table. Please see GHCI specification.
Run
-
Get Event Log
./tdx_eventlogs
The example output for the event log in grub boot and direct boot
-
Get TD Report
./tdx_tdreport
-
Verify the RTMR
./tdx_verify_rtmr
Installation
Build and install TDX Measurement Tool:
python3 setup.py bdist_wheel
pip3 install dist/*.whl --force-reinstall
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pytdxmeasure-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6562c082aebbdf86ad4fbb796bc3f5460c274ce92e37574d8f067be1b39637d3 |
|
MD5 | dd1e5e9a6fcd2208a07af2a5534adcf4 |
|
BLAKE2b-256 | 0e5c95a8fd4e32210254fa6aaa34a096288de73fdc0e2482559993d23553cb2e |