From: Ted Zlatanov <tzz@lifelogs.com>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: Oleksii Shevchuk <alxchk@gmail.com>, 13374@debbugs.gnu.org
Subject: bug#13374: 24.?; open-gnutls-stream insecurity
Date: Tue, 08 Jan 2013 09:43:22 -0500 [thread overview]
Message-ID: <871udvhh11.fsf@lifelogs.com> (raw)
In-Reply-To: <m362381e0j.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Tue, 08 Jan 2013 05:42:52 +0100")
On Tue, 08 Jan 2013 05:42:52 +0100 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
LMI> Glenn Morris <rgm@gnu.org> writes:
>> Ah well, ok, thanks for the explanation. It sounds then like it's
>> probably better to leave this for trunk rather than try and force it
>> into 24.3 at this relatively late stage.
LMI> Definitely.
LMI> Deciding on policies for handling opportunistic STARTTLS upgrades
LMI> combined with certificate failures has to be decided on, too.
LMI> That is, even if the user hasn't requested a TLS connection, Emacs will
LMI> auto-negotiate a STARTTLS connection now for virtually all protocol
LMI> types now. If that "fails" because the certificate is self-signed or
LMI> expired, do we then want to bother the user by prompting for an action?
LMI> The user hasn't requested encryption and validation, but then this
LMI> question comes out of the blue?
LMI> So, er, someone (ahem) has to go through all the permutations of
LMI> connection types and failure modes, and write up some stuff. We should
LMI> also have certificate management code in there somewhere so that the
LMI> user may be alerted if a privately signed certificate changes,
LMI> perhaps...
I propose to set up a verification list with the following format:
#+begin_src lisp
((".*\\.gmail.com" . (:verify-hostname-error t :verify-error t))
(".*\\.yahoo.com" . t) ; everything
(".*" . nil)) ; nothing
#+end_src
It should default to nil (in other words, we'll ship 24.3 with the same
insecure behavior it has right now). But we can recommend to the users
to turn it on, and see how well it works in practice, and write the
necessary prompts and customization logic that Lars outlined.
I think that's OK for 24.3 since it's a completely unobtrusive change
that opens the road for improvements.
The main reason I didn't turn cert and hostname verification on sooner
is that I wasn't certain that our knowledge of platform CA store
filenames and general logic were good enough. But it was always the
long-term plan, and I'm glad Oleksii brought it up.
Thanks
Ted
next prev parent reply other threads:[~2013-01-08 14:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-07 10:20 bug#13374: 24.?; open-gnutls-stream insecurity Oleksii Shevchuk
2013-01-08 1:05 ` Glenn Morris
2013-01-08 4:20 ` Lars Magne Ingebrigtsen
2013-01-08 4:27 ` Glenn Morris
2013-01-08 4:42 ` Lars Magne Ingebrigtsen
2013-01-08 14:43 ` Ted Zlatanov [this message]
2013-01-08 14:49 ` Lars Magne Ingebrigtsen
2013-01-08 15:24 ` Ted Zlatanov
2013-01-08 17:06 ` Stefan Monnier
2013-12-18 22:50 ` Ted Zlatanov
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=871udvhh11.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=13374@debbugs.gnu.org \
--cc=alxchk@gmail.com \
--cc=larsi@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.
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.