setup/ssl/decrypt

9 lines
149 B
Plaintext
Raw Normal View History

2017-01-18 20:51:05 +00:00
#!/bin/sh
if [ $# -lt 2 ]; then
echo "missing arguments {in_encrypted} {out_decrypted}" && exit;
fi;
openssl enc -aes-256-cbc -d -in $1 -out $2;