You are not logged in.
Heya,
I've got a number of files that were encrypted with the openssl-1.0.* branch:
openssl aes-256-cbc -salt -pass KEY -in FILE -out FILE.OUTThey decrypt correctly with openssl-1.0.*:
openssl aes-256-cbc -d -salt -pass KEY -in FILE -out FILE.OUTBut they can't be decrypted (same key, same file, same command) with openssl-1.1.0.e-1:
bad decrypt
140552101531520:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:crypto/evp/evp_enc.c:535:I'm a little bit clueless as how to proceed here. Is anyone else experiencing similar issues?
Last edited by chrzyki (2017-04-28 07:26:51)
Offline
I apologise for the unnecessary posting. After some more research I noticed that the default digest changed from 1.0 to 1.1. Everything works flawlessly if you provide the old digest (which was MD5 and now is SHA256):
openssl aes-256-cbc -d -md MD5 -salt -pass KEY -in FILE -out FILE.OUTOffline