-
Notifications
You must be signed in to change notification settings - Fork 381
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
tpm2_getekcertificate should support values stored in high range (NVRAM) #3435
Comments
Thank you for bringing up this topic. The points you raised align with the latest TCG specifications, and I completely agree that supporting High Range handles in Including these High Range values, particularly for It would be great if the maintainers could share their thoughts or confirm whether a contribution in this direction would align with the project’s priorities. |
Currently only FAPI supports high range certificates. For instance after provisioning with the P_ECCP384SHA384 profile you can get the EK certificate with: |
Great @JuergenReppSIT! I'll submit something by the end of the week ;) |
@JuergenReppSIT if you could take a look to the PR #3440 💪 |
By default, tpm2_getekcertificate search EK cert in NVRAM (if there is no search ARGUMENT).
The latest TCG spec encourages vendors to support ECC P384 and RSA 3072 EK certificates, as stated below:
source: 4.5.2.1 Pre-provisioned EK Certificates
The latest TCG Credential Profile EK 2.0 defines where the newest algorithms must be stored (ie. High Range):
source: 2.2.1.5 High Range
It seems that the current implementation of
tpm2_getekcertificate
only search in Low Range (see code here). The tool should also support High Range values in order to comply with the latest version of TCG spec.PS: I'm willing to do a PR on this issue if this ticket is relevant to maintainers.
The text was updated successfully, but these errors were encountered: