Re: [PATCH RFC v2 1/9] attestation: Add the base family specification and generated files
From: Jason Gunthorpe
Date: Wed Dec 02 2026 - 10:47:43 EST
On Wed, Dec 02, 2026 at 05:38:37PM +0200, Jarkko Sakkinen wrote:
> What does provider need to provide dissected into pieces at
> apples/oranges abstraction level? ;-) Assets could be e.g., machine
> certificates, event logs (signed probably?), attestation keys,
> endorsement certificates, encrypted credentials (e.g.,
> TPM2_ActivateCredential).
This is a question we need to answer..
One of my big use cases is that a collection agent like systemd-report
can have a hope of working agnostically without knowing details of the
ROT.
It should be able to list all the unsigned evidence, dump it with the
kernel's labels, pick a signed evidence and use that to sign the
entire collected data report it sends to the verifier.
So, check what systemd-report needs to collect to give to a verifier
to evaluate a TPM quote and that is a very good starting point.
>From there we would want to see some well established cross-ROT
topics, like maybe sealing?
For TPM it might be interesting to explore passing the raw TPM
commands like tpmrm does in a structured way to give a one stop shop
for the interface.
Then locality perhaps, IDK what we need to do there in userspace, but
with DRTM we need to be able to use locality 2..
> Unless you got TPM2 covered I could probably write a provider within
> hours when I sit down and do it (even without AI) as long as I
> know what it needs to output. It's not a big stretch and then
> it is easier to review the patch set overall.
Yeah, exactly, it does not seem like a stretch.
At this point I think it is helpful to draft some YAML files that we
can look at. The main goal at this moment is to be confident in the
uAPI design
I'd like to see a draft YAML for AMD also since it is so complicated
And I'm hoping to work on SPDM today.
Jason