You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 16, 2020. It is now read-only.
With the TPM 2 tool tpm2_listpersistent I see two keys.
Creating a key with p11tool also doesn't work:
# p11tool --provider=${PWD}/libtpm2-pk11.so --generate-privkey rsa --label mykey --bits 2048 --login "pkcs11:model=TPM2"
warning: no --outfile was specified and the generated public key will be printed on screen.
Generating an RSA key...
Error in pkcs11_generate:1311: The requested PKCS #11 object is not available
note: several smart cards do not support arbitrary size keys; try --bits 1024 or 2048.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I followed the Wiki instructions for creating a key, which worked fine. Then used GnuTLS p11tool with the following command line
Should the
p11tool
returned the created key at this point ?The text was updated successfully, but these errors were encountered: