X-Git-Url: http://www.club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=dec.sh;h=bbad6c675c8b3f04a3752ed7b0046f750c4617de;hb=0b2f05222a6101e555151c5751c3b5ec03eb51bb;hp=ef4aaa1455aa3030eaa120ca26d6656893046b8e;hpb=605f3943f7acf564530d4a064560d1709f1b847e;p=cmccabe-bin diff --git a/dec.sh b/dec.sh index ef4aaa1..bbad6c6 100755 --- a/dec.sh +++ b/dec.sh @@ -5,7 +5,6 @@ die() { exit 1 } -[ "x${SALT}" = "x" ] && die "you must set SALT to the salt." [ "x${PASS}" = "x" ] && die "you must set PASS to the password" RET=0 @@ -16,7 +15,6 @@ for FILE in "$@"; do echo "Not decrypting $FILE because there is already a ${BASE_FILE}" else if openssl enc -d -aes-256-ecb \ - -S "$SALT" \ -k "$PASS" < "${FILE}" > "${BASE_FILE}"; then echo "Created ${BASE_FILE}" else