grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v8 16/22] tpm2: Support authorized policy


From: Gary Lin
Subject: Re: [PATCH v8 16/22] tpm2: Support authorized policy
Date: Wed, 17 Jan 2024 16:13:17 +0800

On Tue, Jan 16, 2024 at 10:39:45AM -0500, James Bottomley wrote:
> On Tue, 2024-01-16 at 17:20 +0800, Gary Lin via Grub-devel wrote:
> [...]
> > (*1) https://www.hansenpartnership.com/draft-bottomley-tpm2-keys.html
> > (*2) https://github.com/okirch/pcr-oracle
> 
> Just a curiosity question, but have you tested the interoperability of
> pcr-oracle keys?  It looks like you got the ASN header straight from
> openssl_tpm2_engine, so it should all just work, but verifying that the
> seal/unseal and sign_tpm2_policy commands from openssl_tpm2_engine:
> 
> https://build.opensuse.org/package/show/security:tls/openssl_tpm2_engine
> 
> can be used to create sealed keys for this code would nicely verify
> that.
> 
I have to admit that the interoperability is not considered since the
sealed key is designed to be only valid in a short window and capped
after load linux kernel. However, it'd be nice to verify the format with
other programs like openssl_tpm2_engine.

My playground of grub2 is an openSUSE Tumbleweed VM and
openssl_tpm2_engine is available. Will check if the key file from
pcr-oracle works for openssl_tpm2_engine.

THanks,

Gary Lin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]