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
I am trying to use an existing private key made using tpm2tss-genkey (a PEM encoded private key), but cannot seem to find a way to import it correctly.
I see no direct possibility to import it using go-tpm, so I have tried importing it using tpm2tools by running tpm2_loadexternal -r private.key -T device:/dev/tpmrm0 -c private.ctx to get a context file and then load that file in the following way
I am trying to use an existing private key made using
tpm2tss-genkey
(a PEM encoded private key), but cannot seem to find a way to import it correctly.I see no direct possibility to import it using go-tpm, so I have tried importing it using tpm2tools by running
tpm2_loadexternal -r private.key -T device:/dev/tpmrm0 -c private.ctx
to get a context file and then load that file in the following wayThe issue is I get err == EOF, and that doesn't really tell me what is going wrong.
Essentially my question is: Are there any way to import the private key to use it with go-tpm?
The text was updated successfully, but these errors were encountered: