From c7d0f7969ece9695e5cf88b5b21f92ab1a31ba15 Mon Sep 17 00:00:00 2001 From: Jonathon Hall Date: Wed, 8 Mar 2023 16:19:37 -0500 Subject: [PATCH] kexec-seal-key: Fix masked parameter position in tpmr seal The password was moved to parameter 7 in an earlier commit. Signed-off-by: Jonathon Hall --- initrd/bin/kexec-seal-key | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initrd/bin/kexec-seal-key b/initrd/bin/kexec-seal-key index ed0337a8..3450ee4f 100755 --- a/initrd/bin/kexec-seal-key +++ b/initrd/bin/kexec-seal-key @@ -109,7 +109,7 @@ tpmr calcfuturepcr -a "/tmp/luksDump.txt" "$pcrf" # We take into consideration user files in cbfs tpmr pcrread -a 7 "$pcrf" -DO_WITH_DEBUG --mask-position 6 \ +DO_WITH_DEBUG --mask-position 7 \ tpmr seal "$KEY_FILE" "$TPM_INDEX" 0,1,2,3,4,5,6,7 "$pcrf" \ "$TPM_SIZE" "$key_password"