Time to change the default cipher?
Hi all,
uhoh: https://sweet32.info/
shall we change the default cipher in the master tree to AES-256 (if not done so already) ?
share and enjoy,
JJK
Hi,
Quoted 4 lines · Jan Just Keijser
uhoh: https://sweet32.info/
shall we change the default cipher in the master tree to AES-256 (if not done so already) ?
If a master client talks to a master server, they will negotiate AES-256 automatically, so it's not strictly needed to change the default.
I would advise against changing the default, though - it would break people's config if talking to older servers and not having an explicit "cipher blowfish" in their config.
OTOH, what we could do is: indeed *change+ the default, and add a big fat warning ("you have not specified a --cipher directive. The default has been changed from 2.3 to 2.4, so please ensure your config matches the other end" or something like that)
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...Hi
Quoted 7 lines · Jan Just Keijser
Quoted 4 lines
uhoh: https://sweet32.info/
shall we change the default cipher in the master tree to AES-256 (if not done so already) ?
[…]
Quoted 4 lines
OTOH, what we could do is: indeed *change+ the default, and add a big fat warning ("you have not specified a --cipher directive. The default has been changed from 2.3 to 2.4, so please ensure your config matches the other end" or something like that)
This seems like a good idea, maybe like so?
- A “default will change” warning on “2.3” when no chipher is selected
- When used, a “You are using 64 bit block ciphers and this is a bad idea” message on 2.3 and 2.4
- AES-256-GCM as new default for 2.4
jens
Quoted 2 lines
gert
Hi,
Quoted 9 lines · Jens Neuhalfen
Quoted 4 lines
OTOH, what we could do is: indeed *change+ the default, and add a big fat warning ("you have not specified a --cipher directive. The default has been changed from 2.3 to 2.4, so please ensure your config matches the other end" or something like that)
This seems like a good idea, maybe like so?
- A “default will change” warning on “2.3” when no chipher is selected
- AES-256-GCM as new default for 2.4
Even though I'm in favour of changing the default cipher, I'm afraid this will break too many setups, causing users to give up on OpenVPN. Cipher negotiation basically updates the default to AES-256-GCM, but will not break connections with older clients. Whether we should also change the default cipher is something I'll let the OpenVPN 'veterans' decide.
Quoted 1 line
- When used, a “You are using 64 bit block ciphers and this is a bad idea” message on 2.3 and 2.4
This we already have in place in both 2.3(.12) and 2.4, see
http://www.mail-archive.com/openvpn-devel%40lists.sourceforge.net/msg00030.html.
-Steffan
Am 30.08.16 um 09:42 schrieb Steffan Karger:
Quoted 9 lines
Hi,
Quoted 6 lines · Jens Neuhalfen
Quoted 4 lines
OTOH, what we could do is: indeed *change+ the default, and add a big fat warning ("you have not specified a --cipher directive. The default has been changed from 2.3 to 2.4, so please ensure your config matches the other end" or something like that)
This seems like a good idea, maybe like so?
Quoted 9 lines
Quoted 2 lines
- A “default will change” warning on “2.3” when no chipher is selected
- AES-256-GCM as new default for 2.4Even though I'm in favour of changing the default cipher, I'm afraid this will break too many setups, causing users to give up on OpenVPN. Cipher negotiation basically updates the default to AES-256-GCM, but will not break connections with older clients. Whether we should also change the default cipher is something I'll let the OpenVPN 'veterans' decide.
Especially a silent (only logging) change will break a lot of setup. Someone updating their OS and suddenly OpenVPN stops working. That will be a support nightmare.
It might be better to implement a server side/client mechansim later that refuses clients/servers that do not renogiate to a strong cipher.
Arne