by xnyhps · 13y ago · 0 comments
"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...