dec / enc: don't set SALT
[cmccabe-bin] / dec.sh
diff --git a/dec.sh b/dec.sh
index ef4aaa1..bbad6c6 100755 (executable)
--- 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