From caec1349a7aaff2e5b3eed57dc1ba966f0620e66 Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 9 Feb 2022 11:55:23 +0100 Subject: [PATCH] tmp2-unlock - make it work for all systems (#2228) Signed-off-by: szaimen --- not-supported/tpm2-unlock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/not-supported/tpm2-unlock.sh b/not-supported/tpm2-unlock.sh index 3c07bd20..5183bd3a 100644 --- a/not-supported/tpm2-unlock.sh +++ b/not-supported/tpm2-unlock.sh @@ -76,7 +76,7 @@ apt-get install clevis-tpm2 clevis-luks clevis-initramfs -y # Execute the script print_text_in_color "$ICyan" "Setting up automatic unlocking via TPM2..." -if ! echo "$PASSWORD" | clevis luks bind -k - -d "/dev/${ENCRYPTED_DEVICE[*]}" tpm2 '{"pcr_ids":"7"}' +if ! echo "$PASSWORD" | clevis luks bind -k - -d "/dev/${ENCRYPTED_DEVICE[*]}" tpm2 '{"pcr_bank":"sha256","pcr_ids":"7"}' then msg_box "Something has failed while trying to configure clevis luks. We will now uninstall all needed packets again, so that you are able to start over."