[gnutls-devel] gnutls-bin and Emacs lisp TLS binding

Andreas Metzler ametzler at bebt.de
Sat Aug 20 14:32:42 CEST 2016


I have received the following report from Adam Sjøgren in
After upgrading gnutls-bin from 3.5.2 to 3.5.3 Gnus hangs when fetching email
from imaps.

This is because gnutls-cli has stopped printing "- Handshake was completed",
which Gnus looks for.

It can be worked around by changing the variable tls-success in Gnus, which
may be the correct solution - I am reporting this bug in case the removal of
the text was unintended.

The printf was removed in https://gitlab.com/gnutls/gnutls.git in this commit:

  commit 7e051ae28c288c218584f75dbc6c097a3b2564c9
  Author: Nikos Mavrogiannopoulos <nmav at redhat.com>
  Date:   Tue Jul 26 10:33:24 2016 +0200

      tools: TLS handling has been incorporated into socket_open()

      This is of particular usage to the server IP address loop, since
      we can detect fast open errors and retry handshake to the next IP
Just noticed that the tls-success variable in Emacs lives in
lisp/net/tls.el, so the change affects all elisp applications/libraries
using it - besides Gnus¹ at least jabber.el².

¹ http://gnus.org/
² http://emacs-jabber.sourceforge.net/

cu Andreas

`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

More information about the Gnutls-devel mailing list