From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#26835: 26.0.50; url-retrieve no longer raises certificate errors Date: Sat, 02 Sep 2017 16:42:44 +0300 Message-ID: <838thxz06j.fsf@gnu.org> References: <8337cfcgr2.fsf@gnu.org> <83lgq5c40b.fsf@gnu.org> <83ziekac9r.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1504359874 14596 195.159.176.226 (2 Sep 2017 13:44:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 2 Sep 2017 13:44:34 +0000 (UTC) Cc: 26835@debbugs.gnu.org, aaronjensen@gmail.com To: larsi@gnus.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 02 15:44:17 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do8iZ-0002bE-Lc for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Sep 2017 15:44:11 +0200 Original-Received: from localhost ([::1]:49370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do8ig-0001a6-Dg for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Sep 2017 09:44:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do8iU-0001ZG-Se for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 09:44:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1do8iQ-0004zE-6Y for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 09:44:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33241) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1do8iQ-0004z8-3V for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 09:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1do8iP-0006zP-TD for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 09:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Sep 2017 13:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26835 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: security Original-Received: via spool by 26835-submit@debbugs.gnu.org id=B26835.150435980126808 (code B ref 26835); Sat, 02 Sep 2017 13:44:01 +0000 Original-Received: (at 26835) by debbugs.gnu.org; 2 Sep 2017 13:43:21 +0000 Original-Received: from localhost ([127.0.0.1]:41921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do8hi-0006yI-Ew for submit@debbugs.gnu.org; Sat, 02 Sep 2017 09:43:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do8he-0006xz-AM for 26835@debbugs.gnu.org; Sat, 02 Sep 2017 09:43:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1do8hU-0004NX-9M for 26835@debbugs.gnu.org; Sat, 02 Sep 2017 09:43:09 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do8hN-00046U-3o; Sat, 02 Sep 2017 09:42:57 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2198 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1do8hM-0004RY-8N; Sat, 02 Sep 2017 09:42:56 -0400 In-reply-to: <83ziekac9r.fsf@gnu.org> (message from Eli Zaretskii on Wed, 10 May 2017 19:48:32 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:136488 Archived-At: > Date: Wed, 10 May 2017 19:48:32 +0300 > From: Eli Zaretskii > Cc: 26835@debbugs.gnu.org, aaronjensen@gmail.com > > > From: Lars Ingebrigtsen > > Cc: Aaron Jensen , 26835@debbugs.gnu.org > > Date: Wed, 10 May 2017 16:24:13 +0200 > > > > >> (setq gnutls-verify-error t) > > >> (url-retrieve-synchronously "https://wrong.host.badssl.com/") > > >> > > >> In Emacs 25.2, this causes an error to be thrown when you use > > >> url-retrieve, in 26, it silently proceeds. > > > > > > That's because we now perform GnuTLS negotiation asynchronously, > > > without blocking. > > > > (As an aside, perhaps url-retrieve-synchronously should be opening the > > socket with :nowait nil?) > > Yes, I had a similar thought while I was reading the code. > > > Good analysis. I'll try to have a look at this soonish (and make it > > report the error properly) unless somebody else beats me to it. > > Thanks. Ping! Lars, any news on this issue?