Subject: bug#24247: closed (Re: Heads up: gnutls 3.5.3 breaks lisp/net/tls.el)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 23 Aug 2016 19:32:02 +0000

Your bug report

#24247: Heads up: gnutls 3.5.3 breaks lisp/net/tls.el

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
24247: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24247
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: Heads up: gnutls 3.5.3 breaks lisp/net/tls.el
From: Paul Eggert <[email-masked]>
To: Adam Sjøgren <[email-masked]>, [email-masked]
Date: Tue, 23 Aug 2016 12:31:16 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks for the heads-up again. I installed the attached patch into emacs-25 and 
am closing Bug#24247.
>From 89eb09f6a1df176fbaa3cbb996f60948efc5f463 Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email-masked]>
Date: Tue, 23 Aug 2016 12:27:54 -0700
Subject: [PATCH] * etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247).

---
 etc/PROBLEMS | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 496c7df..008f5a1 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -609,6 +609,14 @@ could run out of file descriptors.  You won't be able to open new files.
 
 auto-revert-use-notify is set to nil in global-auto-revert-mode, therefore.
 
+*** TLS problems, e.g., Gnus hangs when fetching via imaps
+http://debbugs.gnu.org/24247
+
+gnutls-cli 3.5.3 (2016-08-09) does not generate a "- Handshake was
+completed" message that tls.el relies upon, causing affected Emacs
+functions to hang.  To work around the problem, use older or newer
+versions of gnutls-cli, or use Emacs's built-in gnutls support.
+
 * Runtime problems related to font handling
 
 ** Characters are displayed as empty boxes or with wrong font under X.
-- 
2.5.5

Subject: Heads up: gnutls 3.5.3 breaks lisp/net/tls.el
From: Paul Eggert <[email-masked]>
To: Emacs bug reports and feature requests <[email-masked]>
Cc: Adam Sjøgren <[email-masked]>
Date: Tue, 16 Aug 2016 15:05:10 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Forwarded from:
http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00327.html

-------- Forwarded Message --------
Date: Tue, 16 Aug 2016 21:20:12 +0200
From: Adam Sjøgren <[email-masked]>

The latest version of gnutls-cli no longer outputs "- Handshake was
completed", which lisp/net/tls.el relies upon (`tls-success` on L123).

This breaks at least Gnus and jabber.el (for me, anyway) - the latter
falls back to openssl_client after a while.

I have filed this bug against gnutls-bin in Debian:

  · https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834516

   Best regards,

     Adam