On Thu, 2021-05-20 at 17:43 -0700, James Bottomley wrote: > Now that the ASN.1 representation of trusted keys is upstream we can > add policy to the keys as a sequence of policy statements meaning the > kernel can now construct and use the policy session rather than the > user having to do it and pass the session down to the kernel. This > makes TPM 2.0 keys with policy much easier. > > The format of the policy statements is compatible with the > openssl_tpm2_engine policy implementation: > > https://git.kernel.org/pub/scm/linux/kernel/git/jejb/openssl_tpm2_engine.git/ > > And the seal_tpm2_data command in the above can be used to create > sealed keys (including with policy statements) for the kernel. I'd love to see that format properly defined and documented instead of just a reference to another implementation.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature