Skip to content

Conversation

alexmwu
Copy link
Contributor

@alexmwu alexmwu commented Jan 3, 2025

Previously, VerifyAttestation required passing a SNP or TDX attestation when it detected the appropriate NonHostInfo event in the UEFI event log. This introduces a weak verification requirement that gives no guarantees in the resulting claim that the vTPM and SNP/TDX devices are actually on the same machine.

Fixes #500. We still need to remove the client auto collection of SNP/TDX attestation (#504), but that is a bit more work since we also need to update the gotpm CLI to include SNP and TDX attestation collection.

Internal: see go/refactor-gtt

Previously, VerifyAttestation required passing a SNP or TDX attestation
when it detected the appropriate NonHostInfo event in the UEFI event
log. This introduces a weak verification requirement that gives no
guarantees in the resulting claim that the vTPM and SNP/TDX devices are
actually on the same machine.

Fixes google#500 and google#504.
Copy link
Contributor

@jkl73 jkl73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is breaking change for people who relying on gotpm verify with snp/tdx?

@alexmwu alexmwu merged commit 9c8fac3 into google:main Jan 22, 2025
10 of 11 checks passed
alexmwu added a commit to alexmwu/go-tpm-tools that referenced this pull request Mar 5, 2025
This was removed in google#523, and we need to have this supported for the
next release of gotpm until we support separate commands for SNP/TDX
verification.
alexmwu added a commit to alexmwu/go-tpm-tools that referenced this pull request Mar 5, 2025
This was removed in google#523, and we need to have this supported for the
next release of gotpm until we support separate commands for SNP/TDX
verification.
alexmwu added a commit to alexmwu/go-tpm-tools that referenced this pull request Mar 5, 2025
This was removed in google#523, and we need to have this supported for the
next release of gotpm until we support separate commands for SNP/TDX
verification.
alexmwu added a commit to alexmwu/go-tpm-tools that referenced this pull request Mar 5, 2025
This was removed in google#523, and we need to have this supported for the
next release of gotpm until we support separate commands for SNP/TDX
verification.
alexmwu added a commit to alexmwu/go-tpm-tools that referenced this pull request Mar 5, 2025
This was removed in google#523, and we need to have this supported for the
next release of gotpm until we support separate commands for SNP/TDX
verification.
alexmwu added a commit that referenced this pull request May 19, 2025
…555)

This was removed in #523, and we need to have this supported for the
next release of gotpm until we support separate commands for SNP/TDX
verification.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove verifyGceTechnology from parseMachineStateFromTPM
2 participants