[gnutls-help] GnuTLS Self-Test Question

Mat Troi mattroisang at gmail.com
Tue Mar 17 18:46:25 CET 2015


Hi just an update on this question, it appears these 6 tests that failed in
version 2.8.6 passed in version 3.3.9.  I compared the test codes and they
looked identical (the different is in nits like printf etc...).   Just
wondering if other people see the same results as me when running 2.8.6,
thanks.

On Fri, Feb 20, 2015 at 12:56 PM, Mat Troi <mattroisang at gmail.com> wrote:

> Hi,
>
> I am trying to run GnuTLS and I have 6 errors:
> Hostname correctly matches (1)
> Hostname correctly matches (1)
> Hostname correctly matches (1)
> Hostname correctly does not match (0)
> Self test `./hostname-check' finished with 1 errors
> FAIL: hostname-check
> ....
> ....
>         Adding CA certificate...done
>         CA Certificate: subject
> `O=#130b43416365727420496e632e,OU=#1315687474703a2f2f7777772e4341636572742e6f7267,CN=#131343416365727420436c617373203320526f6f74',
> issuer
> `O=#1307526f6f74204341,OU=#1315687474703a2f2f7777772e6361636572742e6f7267,CN=#131943412043657274205369676e696e6720417574686f72697479,EMAIL=#1612737570706f7274406361636572742e6f7267',
> RSA key 4096 bits, signed using RSA-MD5 (broken!), activated `2005-10-14
> 07:36:55 UTC', expires `2033-03-28 07:36:55 UTC', SHA-1 fingerprint
> `db4c4269073fe9c2a37d890a5c1b18c4184e2a2d'
>         Verifying...(null): verify_status: 1026 expected: 0
>         Cleanup...done
> Exit status..
> FAIL: chainverify
> ....
> ....
> crq_key_id |<2>| ASSERT:
> /builds/adlai/userland-gnutls/components/gnutls/gnutls-2.8.6/lib/x509/crq.c:2343
> Key[RSA] generation ok: 0
> Key ids are identical. OK.
> Key[DSA] generation ok: 0
> Key ids are identical. OK.
> Self test `./crq_key_id' finished with 4 errors
> FAIL: crq_key_id
> gnutls_x509_privkey_sign_hash
> gnutls_x509_crt_get_verify_algorithm
> loop 0
> loop 1
> Self test `./x509sign-verify' finished with 2 errors
> FAIL: x509sign-verify
> ...
> ...
> client: Handshake failed
> GNUTLS ERROR: A TLS packet with unexpected length was received.
> server: ready. Listening to port '5556'.
> Self test `./x509self' finished with 1 errors
> server: ready. Listening to port '5556'.
> Launched, generating DH parameters...
> server: connection from 127.0.0.1, port 37430
> Self test `./x509self' finished with 1 errors
> FAIL: x509self
> ....
> ....
> client: Handshake failed
> GNUTLS ERROR: A TLS packet with unexpected length was received.
> server: ready. Listening to port '5556'.
> Self test `./x509dn' finished with 1 errors
> server: client failed with exit status 1
> server: ready. Listening to port '5556'.
> Launched, generating DH parameters...
> server: connection from 127.0.0.1, port 46399
> Self test `./x509dn' finished with 2 errors
> FAIL: x509dn
>
> This is for running self test 2.8.6 gnuTLS.  Has anyone seen this problem
> or know how to solve?
>
> Thanks,
> Mat Troi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20150317/a071a724/attachment-0001.html>


More information about the Gnutls-help mailing list