From: Jarkko Sakkinen <jarkko@kernel.org>
To: Jason Gunthorpe <jgg@nvidia.com>
Cc: Jiri Pirko <jiri@resnulli.us>,
linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-api@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org,
linux-doc@vger.kernel.org, david.quigley@intel.com,
lukas@wunner.de, ksinyuk@kernel.org, rodrigo.vivi@intel.com,
cedric.xing@intel.com, sameo@meta.com, drdeeglaze@gmail.com,
James.Bottomley@hansenpartnership.com, aik@amd.com,
jpiotrowski@nvidia.com, qinkun@google.com, pgonda@google.com,
jic23@kernel.org, alistair.francis@wdc.com, ankita@nvidia.com,
suzuki.poulose@arm.com, kas@kernel.org,
rick.p.edgecombe@intel.com, elena.reshetova@intel.com,
dave.hansen@linux.intel.com,
sathyanarayanan.kuppuswamy@linux.intel.com, peter.fang@intel.com,
zohar@linux.ibm.com, yeoreum.yun@arm.com,
aneesh.kumar@kernel.org, dave.jiang@intel.com,
nik.borisov@suse.com, sergii.dmytruk@3mdeb.com
Subject: Re: [PATCH RFC v2 1/9] attestation: Add the base family specification and generated files
Date: Wed, 2 Dec 2026 20:33:28 +0200 [thread overview]
Message-ID: <axBkeOAUBWE4ajTT@kernel.org> (raw)
In-Reply-To: <20261202154716.GE868208@nvidia.com>
On Wed, Dec 02, 2026 at 11:47:16AM -0400, Jason Gunthorpe wrote:
> 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.
It's not and it is great any device test feature :-)
I'm working ATM with edutech for high schools i.e., Linux laptops, Info
displays and the whole shebang, and the plaform is deployed to at least
40% of highschool in Finland, and steadily growing number of schools
at different parts of Germany.
I.e. there's lot's of kids in two countries and that makes security
a challenge because leaking private information of underaged due
ignorance is the one way route for big troubles. It will never
happen :-)
Without tech bombing details there's cloud, there's Kerberos realm and
other stuff, which is not that far away from Entra's machine auth
(Intune). Laptops SB-booted at KEK (not MOK) level and things talk to
each other with TPM2 handshakes.
I'm interested on ecosystem fit of this, and leveraging opportunities
over in-house ad-hoc code. I'm also interested could Himmelblau IDM
leverage this feature, which I can investigate a bit.
It's a project I have one draft PR in progress because I need it for
building a bridge to our cloud without having to have in-premises AD
server: https://github.com/himmelblau-idm/himmelblau/pull/1982
>
> 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
One question.
In TPM2 (old AMD Zen 2 laptop):
$ tpm2sh memory
HANDLE CLASS DETAILS
01c00002 nv-index rsa-2048:sha256
01c0000a nv-index ecc-nist-p256:sha256
$ tpm2sh memory 01c0000a | openssl x509 -text -noout | head
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 1298017026 (0x4d5e2b02)
Signature Algorithm: ecdsa-with-SHA256
Issuer: C=DE, O=Infineon Technologies AG, OU=OPTIGA(TM), CN=Infineon OPTIGA(TM) TPM 2.0 ECC CA 042
Validity
Not Before: Sep 16 22:18:38 2020 GMT
Not After : Sep 16 22:18:38 2035 GMT
Subject:
Downloading and signing the chain is probably user space activity i.e.,
a border line for the feature in the user space side, or is this even
the right conclusion?
>
> I'd like to see a draft YAML for AMD also since it is so complicated
AMD Secure Processor's VCEK/VLEK signed attestation, and not fTPM
related, right? Again, finding the border line by asking trivial
questions ;-)
>
> And I'm hoping to work on SPDM today.
My stance: don't mind if you don't and don't mind if you do type of
situation. E.g., if you want help with the TPM2 provider, I could
help and having a real cloud ecosystem to draft architecture on
would likely help too.
>
> Jason
Br, Jarkko
next prev parent reply other threads:[~2026-12-02 18:33 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 16:08 [PATCH RFC v2 0/9] attestation: Add a common subsystem and TDX support Jiri Pirko
2026-11-13 16:08 ` [PATCH RFC v2 1/9] attestation: Add the base family specification and generated files Jiri Pirko
2026-11-27 0:25 ` Jason Gunthorpe
2026-11-27 12:54 ` Jiri Pirko
2026-11-30 20:25 ` Jason Gunthorpe
2026-12-02 14:01 ` Jiri Pirko
2026-12-02 14:28 ` Jason Gunthorpe
2026-12-02 15:38 ` Jarkko Sakkinen
2026-12-02 15:47 ` Jason Gunthorpe
2026-12-02 18:33 ` Jarkko Sakkinen [this message]
2026-11-30 14:00 ` Jiri Pirko
2026-11-30 20:35 ` Jason Gunthorpe
2026-12-02 14:55 ` Jiri Pirko
2026-12-02 15:08 ` Jason Gunthorpe
2026-11-13 16:08 ` [PATCH RFC v2 2/9] Documentation: attestation: Add userspace ABI Jiri Pirko
2026-11-13 16:08 ` [PATCH RFC v2 3/9] attestation: Prepare provider and instance core Jiri Pirko
2026-11-27 0:25 ` Jason Gunthorpe
2026-11-30 14:19 ` Jiri Pirko
2026-11-30 20:37 ` Jason Gunthorpe
2026-11-13 16:08 ` [PATCH RFC v2 4/9] attestation: Prepare measurement registers Jiri Pirko
2026-11-13 16:08 ` [PATCH RFC v2 5/9] attestation: Add CTLV operation handling Jiri Pirko
2026-11-13 16:08 ` [PATCH RFC v2 6/9] Documentation: attestation: Describe how to write a provider Jiri Pirko
2026-11-13 16:08 ` [PATCH RFC v2 7/9] tdx-guest: Expose the native attestation service API Jiri Pirko
2026-11-13 16:08 ` [PATCH RFC v2 8/9] attestation: Add the TDX family specification and generated files Jiri Pirko
2026-11-13 16:08 ` [PATCH RFC v2 9/9] attestation: Add the TDX family implementation Jiri Pirko
2026-11-23 9:09 ` Yeoreum Yun
2026-11-23 12:38 ` Jarkko Sakkinen
2026-11-23 15:11 ` Jason Gunthorpe
2026-11-23 15:15 ` Jarkko Sakkinen
2026-11-23 15:24 ` Jarkko Sakkinen
2026-11-23 15:40 ` Jason Gunthorpe
2026-11-23 15:42 ` Jarkko Sakkinen
2026-11-24 12:13 ` Jiri Pirko
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=axBkeOAUBWE4ajTT@kernel.org \
--to=jarkko@kernel.org \
--cc=James.Bottomley@hansenpartnership.com \
--cc=aik@amd.com \
--cc=alistair.francis@wdc.com \
--cc=aneesh.kumar@kernel.org \
--cc=ankita@nvidia.com \
--cc=cedric.xing@intel.com \
--cc=dave.hansen@linux.intel.com \
--cc=dave.jiang@intel.com \
--cc=david.quigley@intel.com \
--cc=drdeeglaze@gmail.com \
--cc=elena.reshetova@intel.com \
--cc=jgg@nvidia.com \
--cc=jic23@kernel.org \
--cc=jiri@resnulli.us \
--cc=jpiotrowski@nvidia.com \
--cc=kas@kernel.org \
--cc=ksinyuk@kernel.org \
--cc=kvm@vger.kernel.org \
--cc=linux-api@vger.kernel.org \
--cc=linux-coco@lists.linux.dev \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=nik.borisov@suse.com \
--cc=peter.fang@intel.com \
--cc=pgonda@google.com \
--cc=qinkun@google.com \
--cc=rick.p.edgecombe@intel.com \
--cc=rodrigo.vivi@intel.com \
--cc=sameo@meta.com \
--cc=sathyanarayanan.kuppuswamy@linux.intel.com \
--cc=sergii.dmytruk@3mdeb.com \
--cc=suzuki.poulose@arm.com \
--cc=x86@kernel.org \
--cc=yeoreum.yun@arm.com \
--cc=zohar@linux.ibm.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