[openssl-users] Decrypt old openssl files
Bhasker C V
bhasker at unixindia.com
Sat Feb 11 13:05:35 UTC 2017
Hi,
I have two systems one with openssl 1.0.1e (debian wheezy) and the new one
with openssl 1.1.0c (debian stretch)
The files encrypted with 1.0.1e are not decryptable via 1.1.0c
These are the investigations I have done
on my system with 1.0.1e openssl
$ echo some text > file
$ cat file | openssl aes-256-cbc -pass pass:test > file.enc
$ md5sum file.enc
5482ea53a6677865d1e559ac3057738c file.enc
when I bring that file over to my system with 1.1.0c openssl
$ md5sum file.enc
5482ea53a6677865d1e559ac3057738c file.enc
$ cat file.enc | openssl aes-256-cbc -d -pass pass:test
bad decrypt
4146981184:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad
decrypt:crypto/evp/evp_enc.c:529:
Please can someone tell me what other options I Am supposed to pass to get
decryption done successfully.
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20170211/b49b03db/attachment-0001.html>
More information about the openssl-users
mailing list