From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#26835: 26.0.50; url-retrieve no longer raises certificate errors Date: Mon, 8 May 2017 12:44:52 -0700 Message-ID: References: <8337cfcgr2.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1494272714 17951 195.159.176.226 (8 May 2017 19:45:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 May 2017 19:45:14 +0000 (UTC) Cc: 26835@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 08 21:45:08 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 1d7oaf-0004QW-Tn for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 May 2017 21:45:06 +0200 Original-Received: from localhost ([::1]:33169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7oal-0005l4-7Y for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 May 2017 15:45:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7oaf-0005jc-RK for bug-gnu-emacs@gnu.org; Mon, 08 May 2017 15:45:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7oac-0007Oj-NI for bug-gnu-emacs@gnu.org; Mon, 08 May 2017 15:45:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57511) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7oac-0007Of-JF for bug-gnu-emacs@gnu.org; Mon, 08 May 2017 15:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d7oac-00033a-De for bug-gnu-emacs@gnu.org; Mon, 08 May 2017 15:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 May 2017 19:45:02 +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: Original-Received: via spool by 26835-submit@debbugs.gnu.org id=B26835.149427270111730 (code B ref 26835); Mon, 08 May 2017 19:45:02 +0000 Original-Received: (at 26835) by debbugs.gnu.org; 8 May 2017 19:45:01 +0000 Original-Received: from localhost ([127.0.0.1]:60188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7oaa-000338-Vf for submit@debbugs.gnu.org; Mon, 08 May 2017 15:45:01 -0400 Original-Received: from mail-yw0-f169.google.com ([209.85.161.169]:33119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7oaY-00032v-Tx for 26835@debbugs.gnu.org; Mon, 08 May 2017 15:44:59 -0400 Original-Received: by mail-yw0-f169.google.com with SMTP id 203so34673372ywe.0 for <26835@debbugs.gnu.org>; Mon, 08 May 2017 12:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9RVcsdM8wiFVgGknQnb8QmZgeFumwDlpZVAMLZHdw+M=; b=iOqfvBXAd1uZT+sehlanCWxAhsSXmpKNDMB75CRIkADG+6JTSkKAqucKgkWjnb56t+ ZxGi5yAaz7daurse+7bi5HlHl4fvuHeguedvDz48EW6Qy4IqpDdZQOJqO5JAd/ih+ORV GiIIVSfNvAgyC+LgomA2mfuPOD3ZMDrFnIm4bzF5Y7aUwJ6eTjCvcQes8NielK0h1FZT w0REPuIhL9liZgSSgS84uN/ephK8EZhWTnQcEF27vNlgKmixkCoBUaWGLQ/BhTdlQiLK jnx6KQewmW19VNNE25aNTmQ6Ogh919EVJAOZMsX6fbu66YD5aPAdhtBEWhIQxgEx6yVM ReaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9RVcsdM8wiFVgGknQnb8QmZgeFumwDlpZVAMLZHdw+M=; b=KlhhF1X8he0iD2Qnhx+njOsh54zF/c+v3bSDJUj08nfD2qAY6WP0RP1j3l02tFTR4R 8poXmyxl/MJwPdg8WXiMVwxiX0DeN0BwD5Klf/pm9vyvkkhU0tjsWS7JFGfkTcTQfSEC LJWEDiIBQnFXjMVwnmPdZWCMFIlPhLZ/k1sKvb0ES394wrXZpnsSLHK9W8A7K4mWgd0N jZQXr9xCEYC5875a/d89MVUIWUOq5L3q6Zbg6c3J4+FQy6+x9iOQfaTDPgZLC9hj6WeK XvV8Y5cbaiNH4923JeMO3WzMajnySr+f5cDqd0bMrjcVwZ7UbNVery1aPfDHqJjuKIkp xZMQ== X-Gm-Message-State: AODbwcAFRJsU/JLqH9JO8/j1TDmB5xrxbDlq54SyJF0G+m9jSeGYiRGz 5xQF0QEXlu3zcBOGC8ct3uaixHl65Q== X-Received: by 10.129.159.131 with SMTP id w125mr4996569ywg.210.1494272693089; Mon, 08 May 2017 12:44:53 -0700 (PDT) Original-Received: by 10.37.17.6 with HTTP; Mon, 8 May 2017 12:44:52 -0700 (PDT) In-Reply-To: <8337cfcgr2.fsf@gnu.org> 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:132383 Archived-At: On Mon, May 8, 2017 at 12:04 PM, Eli Zaretskii wrote: >> From: Aaron Jensen >> Date: Mon, 8 May 2017 11:42:45 -0700 >> > I seem to be unable to reproduce any of the wrong behavior in the > current master build. Could you please provide more details about > what errors you see and what failures you expected, but didn't see? > > In my testing, Emacs asks me whether to continue connecting, when it > discovers a bad certificate, and it's up to me to decide. Did it ask > you, and if it did, what alternative did you select? > > Also, did you try all this in "emacs -Q"? It looks like you did this > in a customized session (e.g., because in "emacs -Q" there's no 'loop' > function, which the above snippet uses). So the problems could have > something to do with your customizations. It repros in `emacs -Q', just set: (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. Also, I can confirm that if gnutls-verify-error is nil, it prompts as you described. I'll leave it as that for now in my config.