-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove EGD #187
Remove EGD #187
Conversation
EGD was only necessary for some commercial UNIX systems, versions that needed it all reached end of life. EGD needed until OS release date IRIX 6.5.19 feb 2003 Solaris 2.6 jul 1997 AIX 5.2 oct 2002 Tru64 5.1B sep 2002 HP-UX 11i v2 sep 2003 https://en.wikipedia.org/wiki//dev/random#EGD_as_an_alternative
I think you might need to delete more stuff to keep coverage up? |
Just deleting this seems like a backwards compatibility issue; I think it needs to be deprecated (even though EGD is toatlly stupid) |
@alex If anyone still wants to run pyopenssl on the platforms mentioned in the pull request they have an immense number of other compatibility issues. I expect they'll be needing to run all kinds of ancient versions of Python/OpenSSL/pyOpenSSL/py-cryptography in line with their museum-worthy hardware and OS. Even Windows has a proper source of random for many years now. |
Thanks, Sp1l. I had no idea EGD was this obsolete. Nevertheless, this change could break working programs using pyOpenSSL. Consider a program that just does:
and never proceeds to use The thing to do here is deprecate the APIs being removed (by emitting warnings, probably), release a version of pyOpenSSL that includes those deprecations, wait a while, then remove the deprecated APIs. |
@exarkun If you give me an example of how you mark features as deprecated I'll get you an updated patch marking deprecation. |
I'm not sure I follow this. pyOpenSSL's EGD is totally distinct from any Python standard library EGD support. I don't think changes to one will make any difference to users of the other.
This deprecation from Twisted demonstrates one approach - http://twistedmatrix.com/trac/browser/trunk/twisted/web/server.py#L69 Unfortunately it depends on a deprecation API provided by Twisted (as the standard library doesn't do much to help with the deprecation process). I wouldn't mind if the helper was copied from Twisted into pyOpenSSL's util module (with proper attribution, etc). Thanks again. |
EGD was only necessary for some commercial UNIX systems, versions that needed it all reached end of life.
EGD needed until OS release date
IRIX 6.5.19 feb 2003
Solaris 2.6 jul 1997
AIX 5.2 oct 2002
Tru64 5.1B sep 2002
HP-UX 11i v2 sep 2003
https://en.wikipedia.org/wiki//dev/random#EGD_as_an_alternative