-
Notifications
You must be signed in to change notification settings - Fork 20
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
add support for persistent srk #38
base: master
Are you sure you want to change the base?
Conversation
This lacks a test. You should be able to recreate the flow as you describe through the TPM simulator. |
This is probably not going to work out in it's current form. We need to extend the SRK to the key format and I'm changing this to the ASN.1 key definition. https://github.com/Foxboron/go-tpm-keyfiles It should allow us to embed the parent handle into the keyfiles which should offer more flexibility. |
737dfe5
to
12bb054
Compare
17cbd10
to
b940614
Compare
* Persisting the SRK allows the creation and use of individual keys without specifying the owner password
Yo, thanks for working on this. I've been tidying up I think it should work as-is, but I have not yet written any tests for it. https://github.com/Foxboron/go-tpm-keyfiles Relevant code is here: https://github.com/Foxboron/go-tpm-keyfiles/blob/master/tpm.go#L458 |
Yo, I'm sorry for making this PR difficult to merge for you. I've added a I believe there is some flag parsing missing for specifying static handles instead of a hierarchy, but I think this is going to be easier to implement. If you don't want to work on this anymore I can salvage the interesting bits from this PR and work it out for you :) |
Example:
Based on #37