@ -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