-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot wrap existing keys #12
Comments
I guess your workaround not working is related to #11 though. As for "importing" or "wrapping" existing keys: Patches are highly welcome. |
I think my workaround covers the storage format differences, but ultimately fails because the two engines use different keys as the parent of the wrapped/generated key. |
Only issue left for full support is #36 |
Did I miss support for wrapping existing keys (as opposed to creating new ones in the TPM)? Right now I use the other engine's tool, since we fixed compatibility... But don't we want tpm2tss-genkey to do it too? |
Oh, ok... sorry, i missed that part... |
Sorry, I wasn't stunningly coherent with the way I opened the ticket, talking mostly about my attempts to work around it. |
It's fine... |
I'll close this one for #39, which is a duplicate with a better description... |
The original TPM1 and TPM2 engines come with a
create_tpm{2,}_key
tool which can "wrap" existing keys.I tried using a key wrapped by
openssl_tpm2_engine
and converting it to the PEM format used bytpm2-tss-engine
, but there's more to it than the file format, it seems:This works:
Converting that to the format used by the new engine:
Connecting with it doesn't work though:
The text was updated successfully, but these errors were encountered: