Difference between revisions of "OpenSSL and EC Libraries"

From Bitcoin Wiki
Jump to: navigation, search
(Fixes / Workarounds: remove outdated "RPMs provided by gmaxwell". fedora up to version 21 does not even receive security updates, not to mention the bugs in openssl... Save not to link to those rpms imo)
(Fixes / Workarounds: convenience link to stackoverflow.com for "how-to")
 
Line 6: Line 6:
  
  
One workaround is to compile your own OpenSSL and use this rather than the distribution package manager's library.
+
One workaround is to compile your own OpenSSL and use this rather than the distribution package manager's library. Some hints how to do this can be found in the answers of [https://stackoverflow.com/questions/22952287/how-to-upgrade-openssl-in-centos-6-5-linux-unix-from-source How to upgrade OpenSSL (stackoverflow.com)].

Latest revision as of 15:34, 1 August 2015

OpenSSL Without Elliptic Curve Support

Some algorithms in OpenSSL library may be restricted by patent law. Due to strong coupling between the elliptic curve support Bitcoin requires and these nominally non-free algorithms, some Linux distributions (most notably Fedora) ship OpenSSL libraries with elliptic curve support disabled. Since Bitcoin depends on elliptic curve cryptography (although not on any restricted algorithms), it cannot be used with such libraries.

Fixes / Workarounds

One workaround is to compile your own OpenSSL and use this rather than the distribution package manager's library. Some hints how to do this can be found in the answers of How to upgrade OpenSSL (stackoverflow.com).