public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christian Ludwig <christian_ludwig@genua.de>
To: <pve-devel@lists.proxmox.com>
Subject: [PATCH 0/7] SEV: Expose chip ID and reported TCB versions
Date: Thu, 24 Sep 2026 16:14:01 +0200	[thread overview]
Message-ID: <chipid.1790235905.git@genua.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 999 bytes --]

Hi,

the SEV attestation report is signed with a private key that is unique
to each machine. A remote attester needs to obtain the public key (VCEK)
wrapped in a certificate from AMD's Key Distribution Service (KDS). The
remote attester needs the ChipId and the reported TCB version, along
with some CPUID information to ask the KDS for the correct certificate.

All of the information is part of newer attestation report revisions.
The remote attester can obtain the certificate in-band during the
attestation process. But in some scenarios it can be beneficial to
know the exact VM host during the attestation process already. For
private cloud environments that allows attestation policies that pin VMs
to a set of known hosts.

This series exposes the SEV-SNP ChipId, the raw reported TCB versions
and the missing CPUID information through the API. That information can
be used to obtain the VCEK certificate out-of-band prior to attestation.

Tests and feedback is very welcome.


 - Christian

             reply	other threads:[~2026-09-24 14:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-24 14:14 Christian Ludwig [this message]
2026-09-24 14:14 ` [PATCH pve-common 1/7] procfs: read CPU model and stepping from cpuinfo Christian Ludwig
2026-09-24 14:14 ` [PATCH qemu-server 2/7] sev: Detect SEV- Christian Ludwig
2026-09-24 14:14 ` [PATCH qemu-server 3/7] sev: Expose chip ID and reported TCB versions Christian Ludwig
2026-09-24 14:14 ` [PATCH qemu-server 4/7] api: add endpoint for SEV attestation data Christian Ludwig
2026-09-24 14:14 ` [PATCH pve-manager 5/7] api: register SEV capabilities endpoint Christian Ludwig
2026-09-24 14:14 ` [PATCH pve-docs 6/7] qm: Describe ASIDs for SEV Christian Ludwig
2026-09-24 14:14 ` [PATCH pve-docs 7/7] sev: Describe VCEK retieval Christian Ludwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=chipid.1790235905.git@genua.de \
    --to=christian_ludwig@genua.de \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal