Closed liuqun closed 6 years ago
See also issue #55:
“No matching objects found” while executing p11tool --list-privkeys pkcs11:model=TPM2
Fixed by commit https://github.com/irtimmer/tpm2-pk11/commit/64f0fbb18e052abdc52c467a3ad6f6763b0f6955 with an additional patch in PR https://github.com/irtimmer/tpm2-pk11/pull/59
Install libtpm2-pk11.so into /usr/lib/x86_64-linux-gnu/pkcs11
Add a module configure file in /usr/share/p11-kit/modules for example /usr/share/pkcs11/modules/libtpm2-pk11.module
opensc-pkcs11.so and gnome-keyring-pkcs11.so seem to be good on my x86_64 Ubuntu desktop:
see https://p11-glue.github.io/p11-glue/p11-kit/manual/config-example.html
Update: Currently, p11tool --list-token only shows me "pkcs11:model=p11-kit-trust"