unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24247: Heads up: gnutls 3.5.3 breaks lisp/net/tls.el
       [not found] <87vaz07c7n.fsf@tullinup.koldfront.dk>
@ 2016-08-16 22:05 ` Paul Eggert
  2016-08-18 16:56   ` Glenn Morris
  2016-08-23 18:29 ` Adam Sjøgren
       [not found] ` <871t1fe3v5.fsf@tullinup.koldfront.dk>
  2 siblings, 1 reply; 4+ messages in thread
From: Paul Eggert @ 2016-08-16 22:05 UTC (permalink / raw)
  To: 24247; +Cc: Adam Sjøgren

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 <asjo@koldfront.dk>

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






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#24247: Heads up: gnutls 3.5.3 breaks lisp/net/tls.el
  2016-08-16 22:05 ` bug#24247: Heads up: gnutls 3.5.3 breaks lisp/net/tls.el Paul Eggert
@ 2016-08-18 16:56   ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2016-08-18 16:56 UTC (permalink / raw)
  To: 24247, Adam Sjøgren; +Cc: Paul Eggert


It's much better to use Emacs with built-in gnutls support.
tls.el should really be obsoleted.
(Ref eg https://debbugs.gnu.org/23759)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#24247: Heads up: gnutls 3.5.3 breaks lisp/net/tls.el
       [not found] <87vaz07c7n.fsf@tullinup.koldfront.dk>
  2016-08-16 22:05 ` bug#24247: Heads up: gnutls 3.5.3 breaks lisp/net/tls.el Paul Eggert
@ 2016-08-23 18:29 ` Adam Sjøgren
       [not found] ` <871t1fe3v5.fsf@tullinup.koldfront.dk>
  2 siblings, 0 replies; 4+ messages in thread
From: Adam Sjøgren @ 2016-08-23 18:29 UTC (permalink / raw)


I wrote:

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

The message will be back in the next release of gnutls-cli:

 · https://gitlab.com/gnutls/gnutls/commit/12f5166d46db1459455b33b32c01b1fde5c73701


  Best regards,

    Adam

-- 
 "I hope you're not going to ask me to explain a              Adam Sjøgren
  title."                                                asjo@koldfront.dk





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#24247: Heads up: gnutls 3.5.3 breaks lisp/net/tls.el
       [not found] ` <871t1fe3v5.fsf@tullinup.koldfront.dk>
@ 2016-08-23 19:31   ` Paul Eggert
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Eggert @ 2016-08-23 19:31 UTC (permalink / raw)
  To: Adam Sjøgren, 24247-done

[-- Attachment #1: Type: text/plain, Size: 103 bytes --]

Thanks for the heads-up again. I installed the attached patch into emacs-25 and 
am closing Bug#24247.

[-- Attachment #2: 0001-etc-PROBLEMS-Mention-gnutls-cli-3.5.3-Bug-24247.patch --]
[-- Type: text/x-diff, Size: 1062 bytes --]

From 89eb09f6a1df176fbaa3cbb996f60948efc5f463 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-23 19:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87vaz07c7n.fsf@tullinup.koldfront.dk>
2016-08-16 22:05 ` bug#24247: Heads up: gnutls 3.5.3 breaks lisp/net/tls.el Paul Eggert
2016-08-18 16:56   ` Glenn Morris
2016-08-23 18:29 ` Adam Sjøgren
     [not found] ` <871t1fe3v5.fsf@tullinup.koldfront.dk>
2016-08-23 19:31   ` Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).