Skip to content
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

attester: az_snp_vtpm: Check cpuid bits in detect_platform() #169

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jepio
Copy link
Member

@jepio jepio commented Jun 22, 2023

It took a while to realize that we can check cpuid registers exposed by Hyper-V to determine whether we are in an SNP VM that can use the az-snp-vtpm attester. Rework detect_platform() to perform these checks.

Closes: confidential-containers/attestation-agent#220

It took a while to realize that we can check cpuid registers exposed by
Hyper-V to determine whether we are in an SNP VM that can use the
az-snp-vtpm attester. Rework detect_platform() to perform these checks.

Signed-off-by: Jeremi Piotrowski <[email protected]>
@fitzthum
Copy link
Member

fitzthum commented May 1, 2024

What happened with this PR?

@mkulke
Copy link
Contributor

mkulke commented Jun 12, 2024

I think we can revive it and extend it with tdx. the current heuristic to probe tpm works, but it's a bit noisy.

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.

3 participants