Open pegahnikbakht opened 1 year ago
Hi, this is relevant for us as well. Is there any update on this?
The way to do this in an SNP CVM is by including the arbitrary data in a TPM quote via "nonce" parameter, the TPM quote signing key is included in the SNP report. Follow the process here: https://github.com/Azure/confidential-computing-cvm-guest-attestation/issues/18#issuecomment-1490142453.
The SNP report is only generated once during boot and is used to attest the key in the TPM. In this architecture, allowing users to attest arbitrary data through the SNP report would allow spoofing the report for an arbitrary non-TPM key and bypass the whole security architecture. So this is not possible.
Hi,
In SEV-SNP how we can add arbitrary data to attestation report file using vTPM NVRAM? I'm using the following commands to extract the report from an azure VM: