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

Blumenthal, Uri - 0553 - MITLL uri at ll.mit.edu
Tue Mar 15 21:10:43 UTC 2016


My apologies - it appears that the patch was screwed up on my system. When
I just replaced the EVP_CIPHER_asn1_to_param() with your new code, the
tests passed OK.

. . . . . . 
../test/recipes/70-test_verify_extra.t .... ok
../test/recipes/80-test_ca.t .............. ok
../test/recipes/80-test_cms.t ............. ok
../test/recipes/80-test_ct.t .............. ok
../test/recipes/80-test_dane.t ............ ok
../test/recipes/80-test_dtlsv1listen.t .... ok
../test/recipes/80-test_ocsp.t ............ ok
../test/recipes/80-test_ssl.t ............. ok
../test/recipes/80-test_tsa.t ............. ok
../test/recipes/90-test_async.t ........... ok
../test/recipes/90-test_constant_time.t ... ok
../test/recipes/90-test_gmdiff.t .......... ok
../test/recipes/90-test_heartbeat.t ....... skipped: heartbeats is not
supported by this OpenSSL build
../test/recipes/90-test_ige.t ............. ok
../test/recipes/90-test_memleak.t ......... ok
../test/recipes/90-test_networking.t ...... ok
../test/recipes/90-test_np.t .............. ok
../test/recipes/90-test_p5_crpt2.t ........ ok
../test/recipes/90-test_secmem.t .......... ok
../test/recipes/90-test_srp.t ............. ok
../test/recipes/90-test_threads.t ......... ok
../test/recipes/90-test_v3name.t .......... ok
All tests successful.
Files=71, Tests=394, 53 wallclock secs ( 0.51 usr  0.17 sys + 32.96 cusr
15.10 csys = 48.74 CPU)
Result: PASS
$ 


-- 
Regards,
Uri Blumenthal





On 3/15/16, 15:54 , "openssl-dev on behalf of Viktor Dukhovni"
<openssl-dev-bounces at openssl.org on behalf of openssl-users at dukhovni.org>
wrote:

>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.
>-- 
>openssl-dev mailing list
>To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4324 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160315/ea004fda/attachment.bin>


More information about the openssl-dev mailing list