-
I applied the patches Launched the TD guest following the canonical instructions and using the manually built Qemu and OVMF.fd. Executed the Below are the observasions for: RTMR1: Any reason why tdx-measure doesn't have these three events but instead have RTMR2:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi @jkr0103, thanks for your question! Contrast isn't using the Ubuntu image from cannonical/tdx. We build our own NixOS images for the CVM guest (or Azure Linux, on AKS).
The QEMU version we use for TDX is 8.2.2, see
OVMF version we use is 202411, see https://search.nixos.org/packages?channel=unstable&from=0&size=2&sort=relevance&type=packages&query=ovmf
This is the measurement of grub, our image doesn't use grub but systemd-boot.
If I remember correctly, these are secure boot measurements. We don't use secure boot in the Contrast image. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the clarifications. I also see some hard coded hash values here for RTMR0. Any idea, how these values are retrieved and related components/binaries? |
Beta Was this translation helpful? Give feedback.
-
They were taken from an event log and put there as constants for now. The things that being measured there are pinned for our setup, so the measurements aren't expected to change. You can check out the code that creates these measurements here and the call site here. |
Beta Was this translation helpful? Give feedback.
Thanks a lot for the valuable info. I will check the links for measurements.