-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I configure two TDX host machine for identical measurements #270
Comments
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/PEK-1458.
|
can you elaborate a little bit please ? for this third machine, you are saying that the values are different to the first 2 machines ? |
Hi Hector, Yes, the third machine is a bare metal machine. The first two machines are on Google Cloud, where we only have TDX Guest access. |
and you are using the same guest image for Google Cloud and bare metal ? I dont know how Google Cloud run the guest because i can impact the event log contents and therefore the RTMR measurement values |
Yes it's the same image.
Can I turn event logs off maybe? |
You cannot, the event logs are used to compute the measurement values RTMR |
There is a bunch of differences between hypervisors on bare metal machines and also between cloud providers, some thoughts:
|
@kostko Thanks for this feedback, i m not sure that TDVF is responsible for measuring all later boot stages, it might depends on what is the boot flow, in case the boot flow involves shim, grub, these 2 components will record their own event logs whose digests will contribute to the measurement values (RTMR) |
Yes of course, all the later boot stages may (and do) further extend the RTMRs. But those components (boot loader, kernel, apps, ...) you can control quite easily to ensure determinism. It is more tricky to ensure determinism of early boot due to the issues I mentioned above. |
Describe the support request
Running this repo multiple times produces slightly different images but for any given run, a particular image is created, which can be widely shared and audited.
I am finding that running the same TDX .qcow2 image (same file checksum) on different host machines configured identically by the same cloud provider I get the same measurement. However I now have a bare metal machine and all nonzero measurements except vendor ID are different (MRSEAM, MRTD, RTMR[0:2] etc.
How do I configure two bare metal TDX machines to produce the same attestation? How might I get an identical attestation to the cloud provider? How else can I audit the firmware TDX guest cloud providers are using?
I have attached a system report to comply with the requested formatting here although I don't believe it is relevant.
System report
Git ref
Operating system details
Kernel version
TDX kernel logs
TDX CPU instruction support
Model specific registers (MSRs)
CPU details
QEMU package details
Libvirt package details
OVMF package details
sgx-dcap-pccs package details
tdx-qgs package details
sgx-ra-service package details
sgx-pck-id-retrieval-tool package details
QGSD service status
PCCS service status
MPA registration logs (last 30 lines)
The text was updated successfully, but these errors were encountered: