Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 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
You can’t perform that action at this time.