[issue21356] LibreSSL/RAND_egd fix needed.

2014-04-26 Thread Edd Barrett

New submission from Edd Barrett:

Hi,

I'm sure you have heard about OpenBSD's LibreSSL fork of OpenSSL. There has 
been a lot of code reorganisation and removal. One function which was removed 
`RAND_egd()` breaks the CPython build. CPython no longer builds on OpenBSD.

I have submitted a patch against PyPy already. The application library part of 
the change can probably be re-used since PyPy borrows CPython's 
application-level standard library (including the `ssl` and `socket` module). 
However, for the interpreter level change, the build system will probably have 
to be hacked. We need to check for the existence of `RAND_egd()` at configure 
time and only build in support if the function is found.

The PyPy patch (and some discussion) is here:
https://bitbucket.org/pypy/pypy/pull-request/233/fix-translation-for-libressl-and-fix-ssl/diff#comment-1744605

I may have a go at doing this myself (for Python-2.7 at least) if no-one steps 
up in the meantime; for now just making the CPython devs aware.

Thanks

--
components: Build
messages: 217198
nosy: Edd.Barrett
priority: normal
severity: normal
status: open
title: LibreSSL/RAND_egd fix needed.
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21356
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21356] LibreSSL/RAND_egd fix needed.

2014-04-26 Thread Antoine Pitrou

Antoine Pitrou added the comment:

This should wait until the LibreSSL API stabilizes.

Regardless, I think we should consider deprecating RAND_egd(). The Entropy 
Gathering Daemon doesn't seem to have seen a release for more than 10 years... 
(http://sourceforge.net/projects/egd/files/)

--
nosy: +christian.heimes, dstufft, giampaolo.rodola, haypo, janssen, pitrou
versions:  -Python 2.7, Python 3.1, Python 3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21356
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21356] LibreSSL/RAND_egd fix needed.

2014-04-26 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
versions: +Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21356
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21356] LibreSSL/RAND_egd fix needed.

2014-04-26 Thread Remi Pointel

Changes by Remi Pointel pyt...@xiri.fr:


--
nosy: +rpointel

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21356
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com