Comparison

core/certmanager.lua @ 10721:3a1b1d3084fb 0.11

core.certmanager: Move EECDH ciphers before EDH in default cipherstring (fixes #1513) Backport of 94e341dee51c The original intent of having kEDH before kEECDH was that if a `dhparam` file was specified, this would be interpreted as a preference by the admin for old and well-tested Diffie-Hellman key agreement over newer elliptic curve ones. Otherwise the faster elliptic curve ciphersuites would be preferred. This didn't really work as intended since this affects the ClientHello on outgoing s2s connections, leading to some servers using poorly configured kEDH. With Debian shipping OpenSSL settings that enforce a higher security level, this caused interoperability problems with servers that use DH params smaller than 2048 bits. E.g. jabber.org at the time of this writing has 1024 bit DH params. MattJ says > Curves have won, and OpenSSL is less weird about them now
author Kim Alvefur <zash@zash.se>
date Sun, 25 Aug 2019 20:22:35 +0200
parent 10709:fcf7f50ccdd0
child 10722:3ddc7c9f35dc
child 11548:55ef50d6cf65
comparison
equal deleted inserted replaced
10720:6e46fefe956c 10721:3a1b1d3084fb
123 "P-384", 123 "P-384",
124 "P-256", 124 "P-256",
125 "P-521", 125 "P-521",
126 }; 126 };
127 ciphers = { -- Enabled ciphers in order of preference: 127 ciphers = { -- Enabled ciphers in order of preference:
128 "HIGH+kEECDH", -- Ephemeral Elliptic curve Diffie-Hellman key exchange
128 "HIGH+kEDH", -- Ephemeral Diffie-Hellman key exchange, if a 'dhparam' file is set 129 "HIGH+kEDH", -- Ephemeral Diffie-Hellman key exchange, if a 'dhparam' file is set
129 "HIGH+kEECDH", -- Ephemeral Elliptic curve Diffie-Hellman key exchange
130 "HIGH", -- Other "High strength" ciphers 130 "HIGH", -- Other "High strength" ciphers
131 -- Disabled cipher suites: 131 -- Disabled cipher suites:
132 "!PSK", -- Pre-Shared Key - not used for XMPP 132 "!PSK", -- Pre-Shared Key - not used for XMPP
133 "!SRP", -- Secure Remote Password - not used for XMPP 133 "!SRP", -- Secure Remote Password - not used for XMPP
134 "!3DES", -- 3DES - slow and of questionable security 134 "!3DES", -- 3DES - slow and of questionable security