src/zlevis-encrypt typeset update
This commit is contained in:
parent
361efcc26b
commit
4d1ab8d9fc
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
echo "The tpm2 pin requires a tpm2-tools version between 4 and 5" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue