all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: help-gnu-emacs@gnu.org
Subject: Re: gnutls-verify-error issues
Date: Tue, 12 Jul 2016 10:00:41 -0400	[thread overview]
Message-ID: <87r3az6jna.fsf@lifelogs.com> (raw)
In-Reply-To: mailman.1147.1468287386.26859.help-gnu-emacs@gnu.org

On Mon, 11 Jul 2016 21:35:57 -0400 Hubert Chathi <hubert@uhoreg.ca> 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



  parent reply	other threads:[~2016-07-12 14:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1147.1468287386.26859.help-gnu-emacs@gnu.org>
2016-07-12  1:48 ` gnutls-verify-error issues Emanuel Berg
2016-07-12 14:00 ` Ted Zlatanov [this message]
2016-07-13  3:08   ` Hubert Chathi
2016-07-12  1:35 Hubert Chathi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3az6jna.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.