diff --git a/dobroho_vechora.bash b/dobroho_vechora.bash index d2a0a9c..9d19339 100755 --- a/dobroho_vechora.bash +++ b/dobroho_vechora.bash @@ -81,7 +81,7 @@ decrypt() { cipher="$(echo "${i}" | grep -Po 'ENCRYPTED!<\K([a-zA-Z0-9\=\+\/]*)(?=\>)')" || : if [ -n "${cipher}" ]; then echo -n "Decrypted: " - echo "${cipher}" | openssl enc -pbkdf2 -d -a -aes256 -pass env:DOBROHO_VECHORA_ENCRYPTION_PASSWORD || : + echo "$(echo "${cipher}" | openssl enc -pbkdf2 -d -a -aes256 -pass env:DOBROHO_VECHORA_ENCRYPTION_PASSWORD || :)" fi done }