leif <
not.r...@online.de> writes:
> Keshav Kini wrote:
>> Daniel Smertnig <
daniel....@gmail.com> writes:
>>> The real question is then of course why the OpenSSL import fails on
>>> Ubuntu/Debian: The symbol SSLv2_method is undefined in
>>> libssl.so.1.0.0. As far as I know, this was removed for security
>>> reasons. Recent versions of PyOpenSSL seem to take this into account
>>> (by checking OPENSSL_NO_SSL2), so updating PyOpenSSL (in sagenb?)
>>> should remove the crash and make SSL available on Debian/Ubuntu.
>>
>> As I recall, we use pyOpenSSL 0.12 (rather than 0.13) intentionally
>> because 0.13 breaks when the system's OpenSSL is 0.9.x. See
>>
http://trac.sagemath.org/sage_trac/ticket/11080#comment:159 and the
>> subsequent few comments.
>>
>> As I commented on #13121, I would certainly like to be able to use the
>> latest version of pyOpenSSL, though.
>
> Haven't read all of these fairly long threads, but will a later
> version of pyOpenSSL again also support older versions of libssl
> (i.e., 0.9.8+)?
Well, that's exactly what I meant by "I would certainly like to be able
to use the latest version of pyOpenSSL". The current release of
pyOpenSSL (0.13) fails to build against OpenSSL 0.9.8e and older. Daniel
found the upstream bug report for this:
https://bugs.launchpad.net/pyopenssl/+bug/845445
I posted a comment confirming that the patch seen on the ticket works on
CentOS 5. I presume it should work on old versions of OS X, the OS in
which *we* first saw this problem, as well. Hopefully the patch is
merged and a new release is made soon. If not, I suppose we could make
an SPKG for pyOpenSSL 0.13 incorporating the patch...
-Keshav
----