[openssl-dev] Openssl-SNAP-20160315 issue Re: Openssl-SNAP-20160314 Re: Openssl SNAP 20160313 issue Re: OPenSSL SNAP 20160312 issue

The Doctor doctor at doctor.nl2k.ab.ca
Thu Mar 17 22:07:42 UTC 2016


On Wed, Mar 16, 2016 at 08:09:15PM +0100, Richard Levitte wrote:
> In message <20160316182629.GA10733 at doctor.nl2k.ab.ca> on Wed, 16 Mar 2016 12:26:29 -0600, The Doctor <doctor at doctor.nl2k.ab.ca> said:
> 
> doctor> On Tue, Mar 15, 2016 at 10:13:50PM +0100, Richard Levitte wrote:
> doctor> > In message <20160315205022.GA26917 at doctor.nl2k.ab.ca> on Tue, 15 Mar 2016 14:50:22 -0600, The Doctor <doctor at doctor.nl2k.ab.ca> said:
> doctor> > doctor> perl -i -pe 's/^.*\|//; s/ \/(\\.|[^ ])*//;               # $_ = undef if (/: *$/ || /^(#.*| *)$/); # $_.="\n" unless !defined($_) or /\R$/g;' crypto/aes/aes_cfb.d.tmp    
> doctor> > 
> doctor> > Actually, that perl line explained the issue just fine.  Thanks, I
> doctor> > know how to resolve this.
> doctor> >
> doctor> Just looked atthe Makefile.
> doctor> 
> doctor> May I suggest instead of using perl, use -${PERL} instead.
> 
> Good idea, I'll fix that.
>

And it works!

 
> doctor> When I did a symbolic like to perl, that worked
> doctor> 
> doctor> Also  from my non-root account
> doctor> 
> doctor> HARNESS_VERBOSE=yes make tests TESTS='test_evp test_packet test_cms'           
> doctor> 
> doctor> yielded
> doctor> 
> doctor> ../test/recipes/30-test_evp.t .....
> doctor> 1..1
> doctor> Test line 2548: unexpected error KEY_MISMATCH
> doctor> Expected: 77D6576238657B203B19CA42C18A0497F16B4844E3074AE8DFDFFA3FEDE21442FCD0069DED0948F8326A753A0FC81F17E8D3E0FB2E0D3628CF35E20C38D18906
> doctor> Got:      1E206D019AE5CD5575A1CD9BD56AF7AF094ACC8A903E163BF22A417CC7073B7B864FE17944690473DBED7E2FAA5A42069150BE9FF727AC1A251E04E52537B961
> doctor> Test line 2556: unexpected error KEY_MISMATCH
> doctor> Expected: FDBABE1C9D3472007856E7190D01E9FE7C6AD7CBC8237830E77376634B3731622EAF30D92E22A3886FF109279D9830DAC727AFB94A83EE6D8360CBDFA2CC0640
> doctor> Got:      4D0B8D57109EF588586B7812B70CD2FBD4DDE5F9AD1E45A17C565E24FE247DE986CA22CFDFF6C64346C62436F301EAE987A0E424B080EACB04E70830C3B9ACE0
> doctor> Test line 2564: unexpected error KEY_MISMATCH
> doctor> Expected: 7023BDCB3AFD7348461C06CD81FD38EBFDA8FBBA904F8E3EA9B543F6545DA1F2D5432955613F0FCF62D49705242A9AF9E61E85DC0D651E40DFCF017B45575887
> doctor> Got:      BF7268686B9059DAA738213780F8EEE8BC2FDD65D50DE1298B5ED2142040DB72E0CC5C6649C682EB8BC998A70D1CA8BCB73FF7367C1027403201F663239520D6
> doctor> 480 tests completed with 3 errors, 0 skipped
> doctor> not ok 1 - running evp_test evptests.txt
> doctor> 
> doctor> #   Failed test 'running evp_test evptests.txt'
> doctor> #   at ../test/recipes/30-test_evp.t line 11.
> doctor> # Looks like you failed 1 test of 1.
> doctor> Dubious, test returned 1 (wstat 256, 0x100)
> doctor> Failed 1/1 subtests
> doctor> ../test/recipes/70-test_packet.t ..
> doctor> 1..1
> doctor> test_PACKET_buf_init() failed
> doctor> not ok 1 - running packettest
> doctor> 
> doctor> #   Failed test 'running packettest'
> doctor> #   at ../test/testlib/OpenSSL/Test/Simple.pm line 70.
> doctor> # Looks like you failed 1 test of 1.
> doctor> Dubious, test returned 1 (wstat 256, 0x100)
> doctor> Failed 1/1 subtests
> doctor> ../test/recipes/80-test_cms.t .....
> doctor> 1..4
> doctor>     1..15
> doctor> Verification successful
> doctor>     ok 1 - signed content DER format, RSA key
> doctor> Verification successful
> doctor>     ok 2 - signed detached content DER format, RSA key
> doctor> Verification successful
> doctor>     ok 3 - signed content test streaming BER format, RSA
> doctor> Verification successful
> doctor>     ok 4 - signed content DER format, DSA key
> doctor> Verification successful
> doctor>     ok 5 - signed detached content DER format, DSA key
> doctor> Verification successful
> doctor>     ok 6 - signed detached content DER format, add RSA signer
> doctor> Verification successful
> doctor>     ok 7 - signed content test streaming BER format, DSA key
> doctor> Verification successful
> doctor>     ok 8 - signed content test streaming BER format, 2 DSA and 2 RSA keys
> doctor> Verification successful
> doctor>     ok 9 - signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes
> doctor> Verification successful
> doctor>     ok 10 - signed content test streaming S/MIME format, 2 DSA and 2 RSA keys
> doctor> Verification successful
> doctor>     ok 11 - signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys
> doctor>     ok 12 - enveloped content test streaming S/MIME format, 3 recipients
> doctor>     ok 13 - enveloped content test streaming S/MIME format, 3 recipients, 3rd used
> doctor>     ok 14 - enveloped content test streaming S/MIME format, 3 recipients, key only used
> doctor>     ok 15 - enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients
> doctor> ok 1 - CMS => PKCS\#7 compatibility tests
> doctor> #
> doctor>     1..15
> doctor> Verification successful
> doctor>     ok 1 - signed content DER format, RSA key
> doctor> Verification successful
> doctor>     ok 2 - signed detached content DER format, RSA key
> doctor> Verification successful
> doctor>     ok 3 - signed content test streaming BER format, RSA
> doctor> Verification successful
> doctor>     ok 4 - signed content DER format, DSA key
> doctor> Verification successful
> doctor>     ok 5 - signed detached content DER format, DSA key
> doctor> Verification successful
> doctor>     ok 6 - signed detached content DER format, add RSA signer
> doctor> Verification successful
> doctor>     ok 7 - signed content test streaming BER format, DSA key
> doctor> Verification successful
> doctor>     ok 8 - signed content test streaming BER format, 2 DSA and 2 RSA keys
> doctor> Verification successful
> doctor>     ok 9 - signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes
> doctor> Verification successful
> doctor>     ok 10 - signed content test streaming S/MIME format, 2 DSA and 2 RSA keys
> doctor> Verification successful
> doctor>     ok 11 - signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys
> doctor>     ok 12 - enveloped content test streaming S/MIME format, 3 recipients
> doctor>     ok 13 - enveloped content test streaming S/MIME format, 3 recipients, 3rd used
> doctor>     ok 14 - enveloped content test streaming S/MIME format, 3 recipients, key only used
> doctor>     ok 15 - enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients
> doctor> ok 2 - CMS <= PKCS\#7 compatibility tests
> doctor> #
> doctor>     1..27
> doctor> Verification successful
> doctor>     ok 1 - signed content DER format, RSA key
> doctor> Verification successful
> doctor>     ok 2 - signed detached content DER format, RSA key
> doctor> Verification successful
> doctor>     ok 3 - signed content test streaming BER format, RSA
> doctor> Verification successful
> doctor>     ok 4 - signed content DER format, DSA key
> doctor> Verification successful
> doctor>     ok 5 - signed detached content DER format, DSA key
> doctor> Verification successful
> doctor>     ok 6 - signed detached content DER format, add RSA signer
> doctor> Verification successful
> doctor>     ok 7 - signed content test streaming BER format, DSA key
> doctor> Verification successful
> doctor>     ok 8 - signed content test streaming BER format, 2 DSA and 2 RSA keys
> doctor> Verification successful
> doctor>     ok 9 - signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes
> doctor> Verification successful
> doctor>     ok 10 - signed content test streaming S/MIME format, 2 DSA and 2 RSA keys
> doctor> Verification successful
> doctor>     ok 11 - signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys
> doctor>     ok 12 - enveloped content test streaming S/MIME format, 3 recipients
> doctor>     ok 13 - enveloped content test streaming S/MIME format, 3 recipients, 3rd used
> doctor>     ok 14 - enveloped content test streaming S/MIME format, 3 recipients, key only used
> doctor>     ok 15 - enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients
> doctor> Verification successful
> doctor>     ok 16 - signed content test streaming BER format, 2 DSA and 2 RSA keys, keyid
> doctor> Verification successful
> doctor>     ok 17 - signed content test streaming PEM format, 2 DSA and 2 RSA keys
> doctor> Verification successful
> doctor>     ok 18 - signed content MIME format, RSA key, signed receipt request
> doctor> Verification successful
> doctor>     ok 19 - signed receipt MIME format, RSA key
> doctor>     ok 20 - enveloped content test streaming S/MIME format, 3 recipients, keyid
> doctor>     ok 21 - enveloped content test streaming PEM format, KEK
> doctor>     ok 22 - enveloped content test streaming PEM format, KEK, key only
> doctor>     ok 23 - data content test streaming PEM format
> doctor>     ok 24 - encrypted content test streaming PEM format, 128 bit RC2 key
> doctor>     ok 25 - encrypted content test streaming PEM format, 40 bit RC2 key
> doctor>     ok 26 - encrypted content test streaming PEM format, triple DES key
> doctor>     ok 27 - encrypted content test streaming PEM format, 128 bit AES key
> doctor> ok 3 - CMS <=> CMS consistency tests
> doctor> #
> doctor>     1..11
> doctor> Verification successful
> doctor>     ok 1 - signed content test streaming PEM format, RSA keys, PSS signature
> doctor> Verification successful
> doctor>     ok 2 - signed content test streaming PEM format, RSA keys, PSS signature, no attributes
> doctor> Verification successful
> doctor>     ok 3 - signed content test streaming PEM format, RSA keys, PSS signature, SHA384 MGF1
> doctor>     ok 4 - enveloped content test streaming S/MIME format, OAEP default parameters
> doctor>     ok 5 - enveloped content test streaming S/MIME format, OAEP SHA256
> doctor>     ok 6 - enveloped content test streaming S/MIME format, ECDH
> doctor>     ok 7 - enveloped content test streaming S/MIME format, ECDH, key identifier
> doctor>     ok 8 - enveloped content test streaming S/MIME format, ECDH, AES128, SHA256 KDF
> doctor>     ok 9 - enveloped content test streaming S/MIME format, ECDH, K-283, cofactor DH
> doctor>     ok 10 - enveloped content test streaming S/MIME format, X9.42 DH
> doctor> Error creating CMS structure
> doctor> 135045376:error:2E068097:CMS routines:CMS_compress:unsupported compression algorithm:crypto/cms/cms_smime.c:879:
> doctor>     not ok 11 - compressed content test streaming PEM format
> doctor> 
> doctor>     #   Failed test 'compressed content test streaming PEM format'
> doctor>     #   at ../test/recipes/80-test_cms.t line 452.
> doctor>     # Looks like you failed 1 test of 11.
> doctor> not ok 4 - CMS <=> CMS consistency tests, modified key parameters
> doctor> #
> doctor> 
> doctor> #   Failed test 'CMS <=> CMS consistency tests, modified key parameters
> doctor> # '
> doctor> #   at ../test/recipes/80-test_cms.t line 458.
> doctor> # Looks like you failed 1 test of 4.
> doctor> Dubious, test returned 1 (wstat 256, 0x100)
> doctor> Failed 1/4 subtests
> doctor> 
> doctor> Test Summary Report
> doctor> -------------------
> doctor> ../test/recipes/30-test_evp.t   (Wstat: 256 Tests: 1 Failed: 1)
> doctor>   Failed test:  1
> doctor>   Non-zero exit status: 1
> doctor> ../test/recipes/70-test_packet.t (Wstat: 256 Tests: 1 Failed: 1)
> doctor>   Failed test:  1
> doctor>   Non-zero exit status: 1
> doctor> ../test/recipes/80-test_cms.t   (Wstat: 256 Tests: 4 Failed: 1)
> doctor>   Failed test:  4
> doctor>   Non-zero exit status: 1
> doctor> Files=3, Tests=6, 24 wallclock secs ( 0.15 usr  0.08 sys + 12.15 cusr 15.10 csys = 27.48 CPU)
> doctor> Result: FAIL
> doctor> Failed 3/3 test programs. 3/6 subtests failed.
> doctor> *** Error code 1
> doctor> 
> doctor> Stop.                                              
> doctor> 
> doctor> The rest was fine.
> 
> Would you mind submitting an email about these failures to
> rt at openssl.org?
>

I will CC openssl-SNAP-20160317 results

../test/recipes/30-test_evp.t .....
1..1
Test line 2548: unexpected error KEY_MISMATCH
Expected: 77D6576238657B203B19CA42C18A0497F16B4844E3074AE8DFDFFA3FEDE21442FCD0069DED0948F8326A753A0FC81F17E8D3E0FB2E0D3628CF35E20C38D18906
Got:      1E206D019AE5CD5575A1CD9BD56AF7AF094ACC8A903E163BF22A417CC7073B7B864FE17944690473DBED7E2FAA5A42069150BE9FF727AC1A251E04E52537B961
Test line 2556: unexpected error KEY_MISMATCH
Expected: FDBABE1C9D3472007856E7190D01E9FE7C6AD7CBC8237830E77376634B3731622EAF30D92E22A3886FF109279D9830DAC727AFB94A83EE6D8360CBDFA2CC0640
Got:      4D0B8D57109EF588586B7812B70CD2FBD4DDE5F9AD1E45A17C565E24FE247DE986CA22CFDFF6C64346C62436F301EAE987A0E424B080EACB04E70830C3B9ACE0
Test line 2564: unexpected error KEY_MISMATCH
Expected: 7023BDCB3AFD7348461C06CD81FD38EBFDA8FBBA904F8E3EA9B543F6545DA1F2D5432955613F0FCF62D49705242A9AF9E61E85DC0D651E40DFCF017B45575887
Got:      BF7268686B9059DAA738213780F8EEE8BC2FDD65D50DE1298B5ED2142040DB72E0CC5C6649C682EB8BC998A70D1CA8BCB73FF7367C1027403201F663239520D6
480 tests completed with 3 errors, 0 skipped
not ok 1 - running evp_test evptests.txt

#   Failed test 'running evp_test evptests.txt'
#   at ../test/recipes/30-test_evp.t line 11.
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
../test/recipes/70-test_packet.t ..
1..1
test_PACKET_buf_init() failed
not ok 1 - running packettest

#   Failed test 'running packettest'
#   at ../test/testlib/OpenSSL/Test/Simple.pm line 70.
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
../test/recipes/80-test_cms.t .....
1..4
    1..15
Verification successful
    ok 1 - signed content DER format, RSA key
Verification successful
    ok 2 - signed detached content DER format, RSA key
Verification successful
    ok 3 - signed content test streaming BER format, RSA
Verification successful
    ok 4 - signed content DER format, DSA key
Verification successful
    ok 5 - signed detached content DER format, DSA key
Verification successful
    ok 6 - signed detached content DER format, add RSA signer
Verification successful
    ok 7 - signed content test streaming BER format, DSA key
Verification successful
    ok 8 - signed content test streaming BER format, 2 DSA and 2 RSA keys
Verification successful
    ok 9 - signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes
Verification successful
    ok 10 - signed content test streaming S/MIME format, 2 DSA and 2 RSA keys
Verification successful
    ok 11 - signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys
    ok 12 - enveloped content test streaming S/MIME format, 3 recipients
    ok 13 - enveloped content test streaming S/MIME format, 3 recipients, 3rd used
    ok 14 - enveloped content test streaming S/MIME format, 3 recipients, key only used
    ok 15 - enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients
ok 1 - CMS => PKCS\#7 compatibility tests
#
    1..15
Verification successful
    ok 1 - signed content DER format, RSA key
Verification successful
    ok 2 - signed detached content DER format, RSA key
Verification successful
    ok 3 - signed content test streaming BER format, RSA
Verification successful
    ok 4 - signed content DER format, DSA key
Verification successful
    ok 5 - signed detached content DER format, DSA key
Verification successful
    ok 6 - signed detached content DER format, add RSA signer
Verification successful
    ok 7 - signed content test streaming BER format, DSA key
Verification successful
    ok 8 - signed content test streaming BER format, 2 DSA and 2 RSA keys
Verification successful
    ok 9 - signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes
Verification successful
    ok 10 - signed content test streaming S/MIME format, 2 DSA and 2 RSA keys
Verification successful
    ok 11 - signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys
    ok 12 - enveloped content test streaming S/MIME format, 3 recipients
    ok 13 - enveloped content test streaming S/MIME format, 3 recipients, 3rd used
    ok 14 - enveloped content test streaming S/MIME format, 3 recipients, key only used
    ok 15 - enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients
ok 2 - CMS <= PKCS\#7 compatibility tests
#
    1..27
Verification successful
    ok 1 - signed content DER format, RSA key
Verification successful
    ok 2 - signed detached content DER format, RSA key
Verification successful
    ok 3 - signed content test streaming BER format, RSA
Verification successful
    ok 4 - signed content DER format, DSA key
Verification successful
    ok 5 - signed detached content DER format, DSA key
Verification successful
    ok 6 - signed detached content DER format, add RSA signer
Verification successful
    ok 7 - signed content test streaming BER format, DSA key
Verification successful
    ok 8 - signed content test streaming BER format, 2 DSA and 2 RSA keys
Verification successful
    ok 9 - signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes
Verification successful
    ok 10 - signed content test streaming S/MIME format, 2 DSA and 2 RSA keys
Verification successful
    ok 11 - signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys
    ok 12 - enveloped content test streaming S/MIME format, 3 recipients
    ok 13 - enveloped content test streaming S/MIME format, 3 recipients, 3rd used
    ok 14 - enveloped content test streaming S/MIME format, 3 recipients, key only used
    ok 15 - enveloped content test streaming S/MIME format, AES-256 cipher, 3 recipients
Verification successful
    ok 16 - signed content test streaming BER format, 2 DSA and 2 RSA keys, keyid
Verification successful
    ok 17 - signed content test streaming PEM format, 2 DSA and 2 RSA keys
Verification successful
    ok 18 - signed content MIME format, RSA key, signed receipt request
Verification successful
    ok 19 - signed receipt MIME format, RSA key
    ok 20 - enveloped content test streaming S/MIME format, 3 recipients, keyid
    ok 21 - enveloped content test streaming PEM format, KEK
    ok 22 - enveloped content test streaming PEM format, KEK, key only
    ok 23 - data content test streaming PEM format
    ok 24 - encrypted content test streaming PEM format, 128 bit RC2 key
    ok 25 - encrypted content test streaming PEM format, 40 bit RC2 key
    ok 26 - encrypted content test streaming PEM format, triple DES key
    ok 27 - encrypted content test streaming PEM format, 128 bit AES key
ok 3 - CMS <=> CMS consistency tests
#
    1..11
Verification successful
    ok 1 - signed content test streaming PEM format, RSA keys, PSS signature
Verification successful
    ok 2 - signed content test streaming PEM format, RSA keys, PSS signature, no attributes
Verification successful
    ok 3 - signed content test streaming PEM format, RSA keys, PSS signature, SHA384 MGF1
    ok 4 - enveloped content test streaming S/MIME format, OAEP default parameters
    ok 5 - enveloped content test streaming S/MIME format, OAEP SHA256
    ok 6 - enveloped content test streaming S/MIME format, ECDH
    ok 7 - enveloped content test streaming S/MIME format, ECDH, key identifier
    ok 8 - enveloped content test streaming S/MIME format, ECDH, AES128, SHA256 KDF
    ok 9 - enveloped content test streaming S/MIME format, ECDH, K-283, cofactor DH
    ok 10 - enveloped content test streaming S/MIME format, X9.42 DH
Error creating CMS structure
135045376:error:2E068097:CMS routines:CMS_compress:unsupported compression algorithm:crypto/cms/cms_smime.c:879:
    not ok 11 - compressed content test streaming PEM format

    #   Failed test 'compressed content test streaming PEM format'
    #   at ../test/recipes/80-test_cms.t line 452.
    # Looks like you failed 1 test of 11.
not ok 4 - CMS <=> CMS consistency tests, modified key parameters
#

#   Failed test 'CMS <=> CMS consistency tests, modified key parameters
# '
#   at ../test/recipes/80-test_cms.t line 458.
# Looks like you failed 1 test of 4.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests

Test Summary Report
-------------------
../test/recipes/30-test_evp.t   (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
../test/recipes/70-test_packet.t (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
../test/recipes/80-test_cms.t   (Wstat: 256 Tests: 4 Failed: 1)
  Failed test:  4
  Non-zero exit status: 1
Files=3, Tests=6, 25 wallclock secs ( 0.17 usr  0.07 sys + 12.65 cusr 14.40 csys = 27.28 CPU)
Result: FAIL
Failed 3/3 test programs. 3/6 subtests failed.
*** Error code 1

Stop.                                    

> -- 
> Richard Levitte         levitte at openssl.org
> OpenSSL Project         http://www.openssl.org/~levitte/
> -- 
> openssl-dev mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Manitoba and Saskatchewan! Save your provinces in April! Vote Liberal!!


More information about the openssl-dev mailing list