Skip to content
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: Provide option -u for certs in NV ram. #3445

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JuergenReppSIT
Copy link
Member

The option --ek-public (-u) can now used to select the certifcate in NV ram that will be written to the output file. Example:

tpm2_createek -G ecc384 -u ek_ecc384.pub -c ek_ecc384.ctx 
tpm2_getekcertificate -o ek_ecc384.cert -u ek_ecc384.pub

An integration test for ecc and rsa certificates is added.

@JuergenReppSIT JuergenReppSIT marked this pull request as draft December 14, 2024 10:43
@JuergenReppSIT JuergenReppSIT force-pushed the getek-certificate-pubkey-for-nv-cert branch 2 times, most recently from a7cbd2f to ff4cc24 Compare December 14, 2024 11:10
The option --ek-public (-u) can now used to select the certifcate
in NV ram that will be written to the output file. Example:

tpm2_createek -G ecc384 -u ek_ecc384.pub -c ek_ecc384.ctx
tpm2_getekcertificate -o ek_ecc384.cert -u ek_ecc384.pub

An integration test for ecc and rsa certificates is added.

Signed-off-by: Juergen Repp <juergen_repp@web.de>
@JuergenReppSIT JuergenReppSIT force-pushed the getek-certificate-pubkey-for-nv-cert branch from ff4cc24 to ba5c088 Compare December 14, 2024 12:41
@JuergenReppSIT JuergenReppSIT marked this pull request as ready for review December 14, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant