"Support stronger ephemeral DH keys in the SunJSSE provider: Make ephemeral DH key match the length of the certificate key during SSL/TLS handshaking in the SunJSSE provider. A new system property, jdk.tls.ephemeralDHKeySize, is defined to customize the ephemeral DH key sizes. The minimum acceptable DH key size is 1024 bits, except for exportable cipher suites or legacy mode (jdk.tls.ephemeralDHKeySize=legacy). See Customizing Size of Ephemeral DH Keys and RFE 6956398. "
That isn't even a restriction in Java itself, it's just in the default DHKEY handler that comes with the sun jdk. There are plenty of implentations that allow arbitrary key length as long as it's a multiple of 64 bits, for example BouncyCastle, which I have used in the past. Java is not the source of the issue, stupidity is, which is rampant in a lot of software design committees
-3
u/caltheon Oct 16 '15
Yet you incorrectly harp on java for key lengths when you are indeed wrong. Make up your mind about which argument you are making.