[gnutls-devel] GnuTLS | Impossible to test post handshake authentication with tlsfuzzer (#868)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sun Jan 26 22:19:36 CET 2020




Nikos Mavrogiannopoulos commented:


@tomato42 if I try to use something like that:
```
     "tests" : [
         {"name" : "test-tls13-post-handshake-auth.py",
          "arguments" : ["-k", "tests/clientX509Key.pem",
                         "-c", "tests/clientX509Cert.pem",
                         "--query", "**REAUTH**\n",
                         "--pha-as-reply"]
```

what I get from tlsfuzzer is:
```
INFO:__main__:test-tls13-post-handshake-auth.py:started
test-tls13-post-handshake-auth.py:stderr:Traceback (most recent call last):
test-tls13-post-handshake-auth.py:stderr:  File "scripts/test-tls13-post-handshake-auth.py", line 495, in <module>
test-tls13-post-handshake-auth.py:stderr:    main()
test-tls13-post-handshake-auth.py:stderr:  File "scripts/test-tls13-post-handshake-auth.py", line 206, in main
test-tls13-post-handshake-auth.py:stderr:    bytearray(pha_query)))
test-tls13-post-handshake-auth.py:stderr:TypeError: string argument without an encoding
ERROR:__main__:test-tls13-post-handshake-auth.py:failure:0.31s:1
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/868#note_277046798
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200126/0824017f/attachment-0001.html>


More information about the Gnutls-devel mailing list