diff --git a/src/zlevis-encrypt b/src/zlevis-encrypt index 267e56e..b58c508 100755 --- a/src/zlevis-encrypt +++ b/src/zlevis-encrypt @@ -21,7 +21,7 @@ fi # Display usage information if input is from a terminal if [ -t 0 ]; then exec >&2 - echo "$summary" + echo "Usage: \"zlevis-encrypt '{\"property\":\"value\"}' < file.key > file.jwe\"" echo echo "This command uses the following configuration properties:" echo " hash: -> Hash algorithm used in the computation of the object name (default: sha256)." @@ -29,9 +29,6 @@ if [ -t 0 ]; then echo " pcr_bank: -> PCR algorithm bank to use for policy (default: first supported by TPM)." echo " pcr_ids: -> PCR list used for policy. If not present, no policy is used." echo " pcr_digest: -> Binary PCR hashes encoded in base64. If not present, the hash values are looked up." - echo - echo "Usage: \"zlevis-encrypt '{\"property\":\"value\"}' < file.key > file.jwe\"" - echo "Usage ZFS: \"zfs set tpm:jwe=\$(zlevis-encrypt '{\"property\":\"value\"}' < tank.key) \"" exit 2 fi