irtimmer/tpm2-pk11

Support for the TPM 2.0 simulator

Closed this issue · 3 comments

First of all, It is a great project. It would be nice to have support for TPM 2.0 simulator, e.g. IBM's Software TPM 2.0. It could be useful for virtualized environments where a real TPM is not present. Just an idea.

Thanks

You already can set type = socket to connect to a resource manager or simulator ;) You can also specify the host and port otherwise it would connect to 127.0.0.1:2323 by default.

Yes, I know, but have you tried it? ;) . It works partially, with some errors during key set-up, and doesn't work with actual ssh connection. By the way TSS has a new ADRM daemon that can connect to IBM simulator and it uses D-BUS for communications between apps and TSS stack.

I would strongly recommend to try it first before closing the issue :)

Thanks

The first POC of tpm2-pk11 was developed using the simulator. So, yes I tried. If there are errors during key set-up its probably even not an tpm2-pk11 issue as key setup is done using the TSS tools.