[openssl-dev] [openssl.org #4429] Cannot decrypt RC4-encrypted CMS object

Viktor Dukhovni openssl-users at dukhovni.org
Tue Mar 15 19:54:02 UTC 2016


On Tue, Mar 15, 2016 at 07:29:04PM +0000, Viktor Dukhovni wrote:

>     ok 24 - encrypted content test streaming PEM format, 128 bit RC2 key
>     ok 25 - encrypted content test streaming PEM format, 40 bit RC2 key

The underlying test commands amount to:

 $ cd test
 $ openssl cms -EncryptedData_encrypt -in smcont.txt -outform PEM -rc2 -secretkey 000102030405060708090A0B0C0D0E0F -stream -out test.cms
 $ openssl cms -EncryptedData_decrypt -in test.cms -inform PEM -secretkey 000102030405060708090A0B0C0D0E0F -out smtst.txt

For me these succeed and result in smtst.txt identical to smcont.txt.

-- 
 	Viktor.


More information about the openssl-dev mailing list