-
Notifications
You must be signed in to change notification settings - Fork 24
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
Make 0x81000001
the default SRK handle when outputting TSS2
#413
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks good, but some description in this PR of why this change is necessary.
If we run openssl genpkey -provider tpm2 -algorithm RSA -out key.tss2
, the parent is 0x40000001
.
And in the last version of TCG TSS 2.0 Overview and Common Structures Specification contradicts Registry of Reserved TPM 2.0 Handles and Localities, and still shows:
#define TPM2_RH_OWNER ((TPM2_RH) 0x40000001)
Note that the other one shows TPM_RH_OWNER
, without the 2
.
Yes, that's correct. When using the TPM2 tools, by default and if you don't specify another parent, it would go directly under the owner handle. I'm not sure a different handle can be provided when using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Perhaps makes sense to use 0x81000001 as the default.
As discussed: for external users of the |
No description provided.