Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: Built-in TLS vs. nnimap security
Date: Thu, 06 Oct 2011 23:23:01 +0200	[thread overview]
Message-ID: <m3lisxlsqy.fsf@stories.gnus.org> (raw)
In-Reply-To: <87ty7vlnsh.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 29 Sep 2011 04:07:26 -0500")

Ted Zlatanov <tzz@lifelogs.com> writes:

> We need the callbacks for custom certificate verification, but what
> Romain describes simply needs the :verify-flags, :verify-error, and
> :verify-hostname-error flags to `gnutls-negotiate'.
> `open-gnutls-stream' doesn't pass them currently.  So the question is,
> should they be:
>
> 1) always enabled, and the user has to Customize to turn them off per
> host or globally
>
> 2) always disabled, and the user has to Customize to turn them on per
> host or globally
>
> 3) when connecting to an unknown hostname, the user is asked and then we
> save the results

I think the user should be queried if the certificate is "wrong".  I.e.,
if it's for the wrong hostname or expired and stuff like that.  And then
we should save the result.

> Similarly we should make the :priority-string and :min-prime-bits
> customizable per host, right now they are global as you and Lawrence
> Mitchell implemented them.
>
> Similarly we should have a way to set :trustfiles, :crlfiles, and
> :keylist per host or globally.  For all these settings I don't know if
> (1) or (2) or (3) is the best approach.

Yeah, the per-host storage thing is slightly tricky...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



      reply	other threads:[~2011-10-06 21:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-08 11:44 Romain Francoise
2011-08-18  0:30 ` Lars Magne Ingebrigtsen
2011-09-29  9:07   ` Ted Zlatanov
2011-10-06 21:23     ` Lars Magne Ingebrigtsen [this message]

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=m3lisxlsqy.fsf@stories.gnus.org \
    --to=larsi@gnus.org \
    --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).