]> git.ipfire.org Git - thirdparty/grub.git/commit
tests/tpm2_key_protector_test: Add a test for PCR Capping
authorGary Lin <glin@suse.com>
Fri, 3 Oct 2025 03:22:08 +0000 (11:22 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Sat, 11 Oct 2025 13:43:59 +0000 (15:43 +0200)
commit21cdcb125c84840dba2aa14e696da90495e24732
tree87446a445662a6718c625415e46cbab82f604c8c
parentafddba0127d187a5f21f0035aa4dd41af0687bb6
tests/tpm2_key_protector_test: Add a test for PCR Capping

A test is introduced to cap PCR 1 and track the PCR 1 value before and
after key unsealing.

Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/tpm2_key_protector_test.in