From: Nix <nix@esperi.org.uk>
To: emacs-devel@gnu.org
Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>, toke@toke.dk
Subject: gnutls tofu support? or even --insecure?
Date: Tue, 11 Aug 2015 13:11:37 +0100 [thread overview]
Message-ID: <87lhdic9dy.fsf@esperi.org.uk> (raw)
So GnuTLS 3.2.21 has randomly (as in, I haven't updated it or touched
anything) started rejecting all connections to my work mailserver with
an apparently totally spurious certificate validation error:
- Status: The certificate is NOT trusted. The certificate issuer is unknown.
*** PKI verification of server certificate failed...
*** Fatal error: Error in the certificate.
*** Handshake has failed
GnuTLS error: Error in the certificate.
(when it's a perfectly normal Verisign cert in my certificate store, as
far as I can tell).
Life is *far* too short to figure out why this is (the whole thing is
happening over a VPN anyway, I trust this connection! I just can't tell
GnuTLS that!), so the thing that will save me is apparently --tofu,
though I'd be happy enough with --insecure. Unfortunately I can't get
Gnus to use either of these -- when (gnutls-available-p),
starttls-extra-arguments is ignored, as is tls-program, leaving me
forced to hack at gnutls.c if I want to read my work email any more. (I
find this somewhat unsatisfactory!)
Toke wrote a patch back in October of last year which implemented TOFU,
but now it doesn't remotely apply:
<https://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00250.html>.
Does anyone know what happened to it? It doesn't seem to have been
applied, though it was applauded by several and adds a feature not
available in any other way (and a way of working *far* preferable to
trusting certificate authorities with anything ever).
I may have to reimplement it :)
--
NULL && (void)
next reply other threads:[~2015-08-11 12:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-11 12:11 Nix [this message]
2015-08-11 15:16 ` gnutls tofu support? or even --insecure? Eli Zaretskii
2015-08-11 15:35 ` Toke Høiland-Jørgensen
2015-08-12 13:21 ` Nix
2015-08-19 14:09 ` Ted Zlatanov
2015-09-04 16:09 ` Nix
2015-08-30 11:11 ` Lars Magne Ingebrigtsen
2015-08-12 13:19 ` Nix
2015-08-12 18:39 ` Steinar Bang
2015-08-13 11:50 ` Nix
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=87lhdic9dy.fsf@esperi.org.uk \
--to=nix@esperi.org.uk \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
--cc=toke@toke.dk \
/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.