From: Romain Francoise <romain@orebokech.com>
To: ding@gnus.org
Subject: Built-in TLS vs. nnimap security
Date: Mon, 08 Aug 2011 13:44:43 +0200 [thread overview]
Message-ID: <87pqkgf7pw.fsf@silenus.orebokech.com> (raw)
Is it a feature or a bug that when the built-in GnuTLS support is loaded
in Emacs, nnimap happily connects to my test imaps server even though the
certificate is self-signed and doesn't match the hostname? Apparently it's
because nnimap uses `open-gnutls-stream' (via network-stream.el), which
doesn't enable any of the verification flags...
In the old world of tls.el, it was possible to get a secure connection by
setting `tls-checktrust' and removing --insecure from the `tls-program'
invocation. How can I get that back?
Actually, shouldn't `open-gnutls-stream' do these checks by default
anyway? It's a new implementation, it doesn't have to follow the (poor)
historical defaults set by tls.el.
next reply other threads:[~2011-08-08 11:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 11:44 Romain Francoise [this message]
2011-08-18 0:30 ` Lars Magne Ingebrigtsen
2011-09-29 9:07 ` Ted Zlatanov
2011-10-06 21:23 ` Lars Magne Ingebrigtsen
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=87pqkgf7pw.fsf@silenus.orebokech.com \
--to=romain@orebokech.com \
--cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).