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."