Skip to contentSkip to conversation

RFC: "Hardened" trusted keys

DISCUSSION Jarkko Sakkinen 2 participants 2 messages Aug 29, 2016 – Sep 13, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

After LSS2016 I got this idea of having hardened trusted keys for TPM2 where the key material is never exposed to kernel. Child keys of a hardened trusted key would be unsealed using TPM2_EncryptDecrypt operation.

To retain backwards compatibility with the exiting trusted keys format, this would probably require a new option to keyctl.

This is not my priority at the moment but just wanted to mirror does this sound like a grazy idea?

/Jarkko

------------------------------------------------------------------------------

#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Jarkko Sakkinen

After LSS2016 I got this idea of having hardened trusted keys for TPM2 where the key material is never exposed to kernel. Child keys of a hardened trusted key would be unsealed using TPM2_EncryptDecrypt operation.

Beware that the TPM2_EncryptDecrypt command is optional. I know of at least one TPM vendor that does not implement the command due to export restrictions.

Why not seal to a parent symmetric key and use TPM2_Unseal? Unseal is just a restricted decryption operation.

------------------------------------------------------------------------------