diff --git a/src/zlevis-decrypt b/src/zlevis-decrypt index a0e9bad..e0798b1 100755 --- a/src/zlevis-decrypt +++ b/src/zlevis-decrypt @@ -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" + echo "The tpm2 pin requires a tpm2-tools version between 4 and 5" >&2 exit 1 fi