In April I encrypted a file using the command
openssl enc -aes-256-cbc -salt -pass file:<passwordfile> < infile > outfil
Now I want to decrypt it with
openssl enc -d -aes-256-cbc -salt -pass file:<passwordfile> -in outfil -out infile2
but I get bad magic number.
A file encrypted yesterday with the same parameters decrypts ok.
What could have happened? and is there anyway I can retrieve this archived file?
-nosalt
or a really ancient OpenSSL (before 0.9.6 at most) does that. – dave_thompson_085 Apr 28 '19 at 06:33