]> git.ipfire.org Git - thirdparty/grub.git/commit
tpm2_key_protector: Add tpm2_dump_pcr command
authorGary Lin <glin@suse.com>
Mon, 7 Apr 2025 08:29:16 +0000 (16:29 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 10 Apr 2025 16:03:55 +0000 (18:03 +0200)
commit46c9f3a8dac5274c8d117ea131ca5c5842f9276f
tree9997ba1eb4f23c6370396ae187e6056d1d1e4d95
parent617dab9e476e8ea5aa314dcc5412bbd8a6f1f465
tpm2_key_protector: Add tpm2_dump_pcr command

The user may need to inspect the TPM 2.0 PCR values with the GRUB shell,
so the new tpm2_dump_pcr command is added to print all PCRs of the
specified bank.

Also update the document for the new command.

Signed-off-by: Gary Lin <glin@suse.com>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
docs/grub.texi
grub-core/commands/tpm2_key_protector/module.c