From 2cc256c5ff0d07bc139ff8ef321f94a0bd794d62 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 4 Oct 2017 18:29:59 -0700 Subject: [PATCH] 2.1.0 - See CHANGELOG.md --- cryptr.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cryptr.bash b/cryptr.bash index a461a1e..e4958f1 100755 --- a/cryptr.bash +++ b/cryptr.bash @@ -45,7 +45,7 @@ cryptr_encrypt() { fi if [[ ! -z "${CRYPTR_PASSWORD}" ]]; then - echo "Using environment variable CRYPTR_PASSWORD for the password" 1>&2 + echo "Using environment variable CRYPTR_PASSWORD for the password" openssl $OPENSSL_CIPHER_TYPE -salt -in "$_file" -out "$_file".aes -pass env:CRYPTR_PASSWORD else openssl $OPENSSL_CIPHER_TYPE -salt -in "$_file" -out "$_file".aes @@ -60,7 +60,7 @@ local _file="$1" fi if [[ ! -z "${CRYPTR_PASSWORD}" ]]; then - echo "Using environment variable CRYPTR_PASSWORD for the password" 1>&2 + echo "Using environment variable CRYPTR_PASSWORD for the password" openssl $OPENSSL_CIPHER_TYPE -d -salt -in "$_file" -out "${_file%\.aes}" -pass env:CRYPTR_PASSWORD else openssl $OPENSSL_CIPHER_TYPE -d -salt -in "$_file" -out "${_file%\.aes}"