Red Hat Bugzilla – Bug 1023017
Restore ECC support in Erlang's crypto library
Last modified: 2014-08-27 14:57:51 EDT
Right now ECC is disabled explicitly since it looks like Erlang's crypto library assumes that it's either available fully or not. We've just enabled few ECC curves so this confuses erlang-crypto and leads to a startup issue like this:
=ERROR REPORT==== 24-Oct-2013::16:30:48 ===
Unable to load crypto library. Failed with error:
"load_failed, Failed to load NIF library: '/usr/lib64/erlang/lib/crypto-3.1/priv/lib/crypto.so: undefined symbol: EC_GROUP_new_curve_GF2m'"
OpenSSL might not be installed on this system.
We should patch crypto module to provide available ECC bits instead of disabling it completely.
I was seeing the startup errors you mentioned above and I seemed to have resolved them by installing the openssl-libs package. Would it be possible to add openssl-libs as an erlang-crypto requirement until the patching you mention is complete?
What's the status of this one?
(In reply to Konrad Gądek from comment #2)
> What's the status of this one?
Despite of Christmas and the rest of the Holidays we're working on it - stay tuned!
It seems that the following commit fix the problem:
It will be merged to the otp upstream soon.