[gnutls-devel] GnuTLS | How to write/extract session keys with gnutls-cli ? (#802)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Jul 15 13:31:14 CEST 2019




Daiki Ueno commented:


GnuTLS is also capable of the `SSLKEYLOGFILE` envvar mentioned in the link.  So something like this should work:
```sh
$ tshark -o "tls.desegment_ssl_records: TRUE" \
         -o "tls.desegment_ssl_application_data: TRUE" \
         -o "tls.keylog_file: $PWD/keylog.txt" \
         -i lo -Px -O tls -Y "tcp.port == 5556"
```
and connect with gnutls-cli:
```sh
$ SSLKEYLOGFILE=$PWD/keylog.txt gnutls-cli ...
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/802#note_191815021
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/20190715/22314691/attachment.html>


More information about the Gnutls-devel mailing list