Description of problem: In September 2017, using openssl-1.0.2j-3.fc25.x86_64, I encrypted a file ; in November 2017, using openssl-1.1.0g-1.fc27.x86_64, decrypting, I get : bad decrypt 140138754258752:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:crypto/evp/evp_enc.c:569: The file decrypts correctly with openssl-1.0.2j-1.fc24.i686. Version-Release number of selected component (if applicable): openssl-1.1.0g-1.fc27.x86_64 How reproducible: At each attempt to decrypt. Steps to Reproduce: 1. With openssl-1.0.2j-3.fc25.x86_64 : $ openssl bf -a <clear >crypted 2. With openssl-1.1.0g-1.fc27.x86_64 : $ openssl bf -d -a <crypted >clear Actual results: bad decrypt 140135393576768:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:crypto/evp/evp_enc.c:569: Expected results: Uneventful decryption. Additional info: With openssl-1.1.0g-1.fc27.x86_64, encrypted files are larger than with openssl-1.0.2j-3.fc25.x86_64.
Just add -md md5 to the openssl 1.1.0 command line. See the HISTORY section of the enc(1) manual page.