Minor fix.

This commit is contained in:
bʰedoh₂ swé 2025-01-12 18:54:40 +05:00
parent 36b532bc58
commit e4e1c71c23

View File

@ -81,7 +81,7 @@ decrypt() {
cipher="$(echo "${i}" | grep -Po 'ENCRYPTED!<\K([a-zA-Z0-9\=\+\/]*)(?=\>)')" || : cipher="$(echo "${i}" | grep -Po 'ENCRYPTED!<\K([a-zA-Z0-9\=\+\/]*)(?=\>)')" || :
if [ -n "${cipher}" ]; then if [ -n "${cipher}" ]; then
echo -n "Decrypted: " 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 fi
done done
} }