diff --git a/passphrase-from-tpm.sh b/passphrase-from-tpm.sh index 1fec532..b0704dd 100755 --- a/passphrase-from-tpm.sh +++ b/passphrase-from-tpm.sh @@ -2,7 +2,7 @@ set -e echo "Unlocking via TPM" >&2 export TPM2TOOLS_TCTI="device:/dev/tpm0" -/usr/bin/tpm2_unseal -c 0x81000000 -L sha256:0,1,4,5,7 +/usr/bin/tpm2_unseal -c 0x81000000 -p pcr:sha256:0,1,4,5,7 if [ $? -eq 0 ]; then exit fi