unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Tuning GnuTLS
@ 2011-07-18  3:23 Lars Magne Ingebrigtsen
  2011-09-28 17:32 ` Ted Zlatanov
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-18  3:23 UTC (permalink / raw)
  To: emacs-devel

We should strive to make TLS connections as painless as possible, and
involving as little user intervention as possible, while preserving a
reasonable level of security.

So far, two failure points have been identified:

1) Some servers sends a prime with fewer bits than the accepted default.
I think the right thing to do here is to just default
`gnutls-min-prime-bits' to a lower number than the default GnuTLS
number.  I don't know what that number should be, but I think people who
want better bits than that can adjust this number upwards.

2) Servers presenting broken, er, certificates with certain algorithms.
If negotiation with DHE-RSA has failed, then negotiation without that
algorithm should be attempted.  But is it possible to fall back to
plain-text?  I don't really know how that works.  But if that's
possible, the fall-back should obviously stop before it gets that far.

After a priority has been established, I then think that the priority
for this specific server/port pair should be saved via Customize, so
that the next connection can be done faster automatically, without the
need for all this negotiation.

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-11-03 20:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-18  3:23 Tuning GnuTLS Lars Magne Ingebrigtsen
2011-09-28 17:32 ` Ted Zlatanov
2011-10-06 19:07   ` Lars Magne Ingebrigtsen
2011-10-10 21:46     ` Ted Zlatanov
2011-10-27 22:12   ` Ted Zlatanov
2011-11-03 20:12     ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).