From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: gnutls-verify-error issues Date: Tue, 12 Jul 2016 10:00:41 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87r3az6jna.fsf@lifelogs.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1468332345 6755 80.91.229.3 (12 Jul 2016 14:05:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2016 14:05:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 12 16:05:43 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bMyJi-0003KU-60 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 16:05:42 +0200 Original-Received: from localhost ([::1]:40713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMyJh-0006FT-BG for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 10:05:41 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!1.us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.albasani.net!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Original-X-Trace: news.albasani.net 2YxToSQJX4UJhonHx/7KncCssnhqE2gFvu8yVX5LoRVrNsHiPQyFcFzIrQpIVgGVCT2ZsLLFgNA3tC/8OcIgxH5BrEep0Mb4j0gjqpYmvAF5AB3iYsHmEY3ZrZk03W9h Original-NNTP-Posting-Date: Tue, 12 Jul 2016 14:00:41 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="W535UtevpLujQKA4vLZA7fwsq2YU3vcYqvKqAiojMTWvFzLfOGuHn+wNt4FzC2k9ZMeL4+KS3X8cxc1Ke9t9pDluLOOutqFmZG/UKmT6bvx530SrKnepsV1IZdEAhQLo"; mail-complaints-to="abuse@albasani.net" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:zLXYVjWHnJuH+kapHOcVi4aTewg= sha1:96aXo2jtNwelRKLEPd7KhHGqaVg= Original-Xref: usenet.stanford.edu gnu.emacs.help:218484 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110793 Archived-At: On Mon, 11 Jul 2016 21:35:57 -0400 Hubert Chathi wrote: HC> There seems to be something weird going on with the gnutls-verify-error HC> variable. It is initially set to: HC> (("muchlearning\\.org" HC> (:trustfiles)) HC> ("news\\.gmane\\.org" nil) HC> (".*" HC> (:trustfiles :hostname))) HC> i.e. it verifies all domains strictly except for a couple of domains HC> that need to be more lax. HC> However, after it's made a few connections, the value changes, and HC> eventually becomes unusable for some domains. e.g. it may look like this: HC> (("muchlearning\\.org" HC> (:trustfiles)) HC> ("news\\.gmane\\.org" nil HC> (:trustfiles :hostname) HC> (:trustfiles :hostname) HC> . #2) HC> (".*" HC> (:trustfiles :hostname) HC> . #1)) HC> and it won't be able to connect to news.gmane.org any more. HC> I'm currently using emacs 24.4 from Debian (package version 24.4+1-5, HC> which is the current version from Debian stable). I am not aware of any code in Emacs that would modify `gnutls-verify-error' and haven't seen this issue. But it could be a bug. In particular this line *could* be the cuplrit in gnutls.el: (when verify-hostname-error (push :hostname verify-error)) Are you able to put a debug statement in there and try again? Or give a recipe to duplicate the issue? Ted