Compare commits

..

No commits in common. "4d1ab8d9fc905c0353f40cbb15007a74f96de579" and "740418826cddb4d3859671506bec8e978a5f2a70" have entirely different histories.

2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@
set -e
# Summary of the script's functionality
summary="Decrypts a JWE using a TPM2.0 chip"
summary="Decrypts a JWE using a TPM2.0 chip."
# TPM2.0 owner hierarchy to be used by the Operating System
auth="o"
@ -27,7 +27,7 @@ tpm2tools_version=$(tpm2_createprimary -v | awk -F'version="' '{print $2}' | awk
# Check if the tpm2-tools version is supported
if [ -z "$tpm2tools_version" ] || [ "$tpm2tools_version" -lt 4 ] || [ "$tpm2tools_version" -gt 5 ]; then
echo "The tpm2 pin requires a tpm2-tools version between 4 and 5" >&2
echo "The tpm2 pin requires a tpm2-tools version between 4 and 5"
exit 1
fi

View file

@ -4,7 +4,7 @@
set -e
# Summary of the script's functionality
summary="Encrypts using a TPM2.0 chip binding policy"
summary="Encrypts using a TPM2.0 chip binding policy."
# TPM2.0 owner hierarchy to be used by the Operating System
auth="o"
@ -60,7 +60,7 @@ tpm2tools_version=$(tpm2_createprimary -v | awk -F'version="' '{print $2}' | awk
# Check if the tpm2-tools version is supported
if [ -z "$tpm2tools_version" ] || [ "$tpm2tools_version" -lt 4 ] || [ "$tpm2tools_version" -gt 5 ]; then
echo "The tpm2 pin requires a tpm2-tools version between 4 and 5" >&2
echo "The tpm2 pin requires a tpm2-tools version between 4 and 5"
exit 1
fi