by devx · 13y ago · 0 comments
HTTP 2.0/SPDY already makes TLS mandatory, no? So why not make PFS mandatory, too? I'd rather we do it now than wait for HTTP 3.0, and it might force a lot more companies to adopt it by default as they move to HTTP 2.0 (companies such as Microsoft [2]).
EDIT: Links
[1] - http://vincent.bernat.im/en/blog/2011-ssl-perfect-forward-se...
[2] - http://news.netcraft.com/archives/2013/06/25/ssl-intercepted...
"Prefer conventional discrete-log-based systems over elliptic-curve systems; the latter have constants that the NSA influences when they can."
I'd rather have some smart people take a thorough look at the curves we use before we make ECDHE mandatory. If we need to choose between computationally heavy DHE or possibly backdoored ECDHE, I'm afraid many companies will still pick ECHDE.
[1] - http://www.theguardian.com/world/2013/sep/05/nsa-how-to-rema...
[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=49559
Edit to add: Prosody allows you to specify dhparams, though the documentation is vague[2]. Don't see anything in the ejabberd docs for this[3].
We're planning to release 0.9.1 on Monday to address this issue (or you can grab one of our nightlies at https://prosody.im/nightly/0.9/ (build 160+) ).
Should have docs up in the next couple of days, but for now it should suffice to say that you can simply add a 'dhparam' field to your existing 'ssl' option in your config file that is a path to a DH parameters file created with something like:
openssl dhparam -2 2048 > prosody-dhparam.pem
Hope this helps!
Full paper:
http://cr.yp.to/talks/2013.05.31/slides-dan+tanja-20130531-4...
Sure it would be nice if it was mandatory, but 98% is _very_ good.