-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Postfix 3.7+ custom DH params discouraged on OpenSSL 3 #238
Comments
openssl SSL_CTX_set_dh_auto() or SSL_set_dh_auto() interfaces support RFC7919 Negotiated Finite Field Diffie-Hellman Ephemeral Parameters for Transport Layer Security (TLS) github: closes mozilla#238
Included in #256 is a change for Postfix 3.7+ and OpenSSL 3.0.0+ |
Well, I believe they mean random arbitrary params, those are def not recommended — but I see no mention of that option being deprecated or anything alike — it's still perfectly fine to use it and provide the safe primes as we do now. I'd much rather control the groups than leave that to RFC 7919 negotiation allowing mozilla/server-side-tls#299 bad performance:/ EDIT: Ah, okay, sane defaults here, luckily: https://www.postfix.org/postconf.5.html
So no need to set, the defaults are reasonably small. (And, eventually can be set empty to disallow FFDHE for TLSv1.3 if deemed necessary in the future, or as a pattern for OpenSSL 3.x compatibility in #256?) |
http://www.postfix.org/FORWARD_SECRECY_README.html
As @janbrasna noted, the default With Postfix 3.7 with OpenSSL 3.x+, DH parameter selection is delegated to the OpenSSL library, which means that for TLSv1.2 where DHE_* ciphers are included, the DHEater attack may be viable, so I think it fine to continue for ssl-config-generator to recommend explicitly setting Therefore, there is no current action to be taken on this issue and I will mark it closed. BTW, current Postfix version is 3.9.0. Given that "Postfix ≥ 3.1 supports 2048-bit-prime FFDHE out of the box, with no additional configuration", that should inform us that the Old ssl-config-generator configuration which uses a 1024-bit prime is very, very, very dated. Postfix 3.0 -- the version series before 3.1 -- reached end-of-life Feb 2019 (!) |
See https://www.postfix.org/postconf.5.html section smtpd_tls_dh1024_param_file
The text was updated successfully, but these errors were encountered: