Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
executable file 13 lines (11 sloc) 230 Bytes
#!/bin/bash
echo -n Password:
read -s PASSWD
export PASSWD
echo
for var in "$@"
do
NAME=$(echo $var | sed -e 's/\.enc$//')
echo "Decrypt $var => $NAME"
openssl aes-256-cbc -d -in "$var" -out "$NAME" -pass env:PASSWD
done