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.
![](/doc/tdx_measurement.png)
### Prerequisites
The Log Area Start Address (LASA) is from ACPI CCEL table. Please see [GHCI specification](https://cdrdv2.intel.com/v1/dl/getContent/726790).
### Run
Get Event Log
` ./tdx_eventlogs `
The example output for the event log in [grub boot](https://github.com/intel/tdx-tools/blob/main/doc/measure_log_grub_boot.txt) and [direct boot](https://github.com/intel/tdx-tools/blob/main/doc/measure_log_direct_boot.txt)
Get TD Report
` ./tdx_tdreport `
Verify the RTMR
` ./tdx_verify_rtmr `
### Installation
Build and install TDX Measurement Tool:
`sh 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
Built Distribution
Hashes for pytdxmeasure-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b48e5267c4fbb48d622e88cd3a782cfc7475f55a5dc81ebf5fa69946056c481 |
|
MD5 | 75d1b82315ec43efa8bd7bd83f245a5c |
|
BLAKE2b-256 | 71ef673594a8cd88794004ebaef300be093ab6e6f286c5ce456572ca4520f28e |