]> git.ipfire.org Git - thirdparty/grub.git/commit
tests/tpm2_key_protector_test: Simplify the NV index mode test
authorGary Lin <glin@suse.com>
Mon, 7 Apr 2025 08:29:22 +0000 (16:29 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 10 Apr 2025 16:15:31 +0000 (18:15 +0200)
commitb7d89e6671161d4e1dfa694355c060345e0cebd9
tree9c04c96b14cfbc0761a6307084d0e381b490f5e2
parent5934bf51cbdf820c71eeed4bbbbcf23756e96217
tests/tpm2_key_protector_test: Simplify the NV index mode test

Since grub-protect already supports NV index mode, tpm2_seal_nv() is
replaced with one grub-protect command to simplify the test script.

"tpm2_evictcontrol" is also replaced with "grub-protect --tpm2-evict".

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