diff options
author | Phil Pennock <pdp@exim.org> | 2012-05-30 19:38:20 -0400 |
---|---|---|
committer | Phil Pennock <pdp@exim.org> | 2012-05-30 19:38:20 -0400 |
commit | 83f4c7515f3eb06dc070e78edd2694c1d088e5fd (patch) | |
tree | 9c1453a7baa04f87b3e58a940f77b79781fe1e2a /doc/doc-txt | |
parent | 3ecab1575ef1f45a5e7cd3c48cd937ffa8eb0ad9 (diff) |
Lower EXIM_CLIENT_DH_MIN_BITS 1024 -> 512.
Wolfgang Breyha saw a real-world site using 768 bits.
Diffstat (limited to 'doc/doc-txt')
-rw-r--r-- | doc/doc-txt/ChangeLog | 4 | ||||
-rw-r--r-- | doc/doc-txt/GnuTLS-FAQ.txt | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 6c0554b5a..46e2dcf8a 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -165,6 +165,10 @@ PP/38 Overhaul DH prime handling, supply RFC-specified DH primes as built PP/39 Disable SSLv2 by default in OpenSSL support. +PP/40 Lower default size of EXIM_CLIENT_DH_MIN_BITS constant (used only by + GnuTLS at this time) from 1024 to 512. Cautious folk can override + in Local/Makefile. + Exim version 4.77 ----------------- diff --git a/doc/doc-txt/GnuTLS-FAQ.txt b/doc/doc-txt/GnuTLS-FAQ.txt index 8d5887bac..be46753e4 100644 --- a/doc/doc-txt/GnuTLS-FAQ.txt +++ b/doc/doc-txt/GnuTLS-FAQ.txt @@ -248,7 +248,7 @@ left with no way to actually know the size of the freshly generated DH prime. Thus we check if the the value returned is at least 10 more than the minimum we'll accept as a client (EXIM_CLIENT_DH_MIN_BITS, see below, defaults to -1024) and if it is, we subtract 10. Then we reluctantly deploy a strategy +512) and if it is, we subtract 10. Then we reluctantly deploy a strategy called "hope". This is not guaranteed to be successful; in the first code pass on this logic, we subtracted 3, asked for 2233 bits and got 2240 in the first test. @@ -275,7 +275,11 @@ prime from section 2.2 of RFC 5114. A TLS client does not get to choose the DH prime used, but can choose a minimum acceptable value. For Exim, this is a compile-time constant called -"EXIM_CLIENT_DH_MIN_BITS" of 1024, which can be overruled in "Local/Makefile". +"EXIM_CLIENT_DH_MIN_BITS" of 512, which can be overruled in "Local/Makefile". +(It should be higher, but some real-world sites are using dangerously small +values. Although some might argue that our old size of 1024 was dangerously +low; "opinions vary". This is expected to be a configure file option for +the Exim 4.81 release.) |