Decrypt old openssl files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux