GNU bug report logs - #38602
26.3; gnutls-negotiate fails to handle :verify-error being set to t

Previous Next

Package: emacs;

Reported by: Alexis <flexibeast <at> gmail.com>

Date: Sat, 14 Dec 2019 02:27:01 UTC

Severity: normal

Tags: moreinfo

Found in version 26.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Alexis <flexibeast <at> gmail.com>
Cc: 38602 <at> debbugs.gnu.org, Robert Pluim <rpluim <at> gmail.com>
Subject: bug#38602: 26.3; gnutls-negotiate fails to handle :verify-error being set to t
Date: Fri, 02 Oct 2020 04:51:40 +0200
Alexis <flexibeast <at> gmail.com> writes:

> Robert Pluim <rpluim <at> gmail.com> writes:
>

[...]

>> +    ;; Only add :hostname if `verify-error' is not t, since t
>> +    ;; means "include :hostname" Bug#38602.
>> +    (and verify-hostname-error
>> +         (not (eq verify-error t))
>> +         (push :hostname verify-error))

This looks "obviously correct" to me, so I've now applied it to Emacs 28.

> Thank you for your prompt response - sorry to have taken so long to
> get back to you.
>
> Unfortunately, this diff didn't work for me - it results in the error:
>
>    STARTTLS negotation failed: GnuTLS error: #<process jabber>,
>    nil

That's a different error than the original one, at least.

> Would you like me to try with a public host, and let you know the
> results?

Yes, please do.  And if you could give a complete recipe, starting from
emacs -Q on how to reproduce the bug, that'd be nice.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 225 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.