Comparison

core/certmanager.lua @ 10224:94e341dee51c

core.certmanager: Move EECDH ciphers before EDH in default cipherstring 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 9852:6ea3cafb6ac3
child 10226:77f900bbbf25
comparison
equal deleted inserted replaced
10223:d185c4961ee0 10224:94e341dee51c
121 "P-384", 121 "P-384",
122 "P-256", 122 "P-256",
123 "P-521", 123 "P-521",
124 }; 124 };
125 ciphers = { -- Enabled ciphers in order of preference: 125 ciphers = { -- Enabled ciphers in order of preference:
126 "HIGH+kEECDH", -- Ephemeral Elliptic curve Diffie-Hellman key exchange
126 "HIGH+kEDH", -- Ephemeral Diffie-Hellman key exchange, if a 'dhparam' file is set 127 "HIGH+kEDH", -- Ephemeral Diffie-Hellman key exchange, if a 'dhparam' file is set
127 "HIGH+kEECDH", -- Ephemeral Elliptic curve Diffie-Hellman key exchange
128 "HIGH", -- Other "High strength" ciphers 128 "HIGH", -- Other "High strength" ciphers
129 -- Disabled cipher suites: 129 -- Disabled cipher suites:
130 "!PSK", -- Pre-Shared Key - not used for XMPP 130 "!PSK", -- Pre-Shared Key - not used for XMPP
131 "!SRP", -- Secure Remote Password - not used for XMPP 131 "!SRP", -- Secure Remote Password - not used for XMPP
132 "!3DES", -- 3DES - slow and of questionable security 132 "!3DES", -- 3DES - slow and of questionable security