Re: Seal/Unseal trusted keys against PCR policy

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

 



On 12/28/2022 5:48 PM, James Bottomley wrote:
The main thing you have to do is connect to the TPM not through the
resource manager so the policy session survives multiple commands

export TPM_DEVICE=/dev/tpm0

Just FYI, as James says, command line utilities interact with the resource manager.  When I want to run command line programs through the resource manager, I use a proxy to keep the /dev/tpmrm0 session connected.

https://github.com/kgoldman/ibmtss/blob/master/utils/tpmproxy.c holds an open source proxy.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux