2048 bit Diffie-Hellman Params are too weak

The premise is incorrect: 2048 is quite strong.

Anything higher is basically pointless “mine is bigger than yours” wankery:

Similarly, you may also use a 2048-bit modulus, which is already very far into the “cannot break it zone”. The 4096-bit modulus will make DH computations slower (which is not a real problem for a VPN; these occur only at the start of the connection), but won’t actually improve security.

To some extent, a 4096-bit modulus may woo auditors, but auditors are unlikely to be much impressed by a Raspberry-Pi, which is way too cheap anyway.

4 个赞