-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Create an Extra for Better SSL Support #1995
Comments
Also by default requests can't connect to some sites on OSX because of ancient OpenSSL. Using the above 3 packages makes it possible.
|
I like this idea. |
👍 from me as well. |
I'm happy to do this as well. @kennethreitz, do you want to do this? Would be nice if we could have a bit of the docs that talks about building the most secure possible form of requests, including stuff like installing OpenSSL from Homebrew and then building against that. |
+1 |
@dstufft can we do something like |
Pretty sure it is not. |
No, a On Sat, Apr 26, 2014 at 2:16 PM, Ian Cordasco notifications@git.luolix.topwrote:
"I disapprove of what you say, but I will defend to the death your right to |
@kennethreitz any update on this? |
I absolutely want to do this. |
Python versions prior to 2.7.9 should install with pip install 'jsonrpcclient[requests_security]'. See requests issue https://github.com/kennethreitz/requests/issues/1995 resolved in PR https://github.com/kennethreitz/requests/pull/2195 Closes #31
I found pyOpenSSL would cause memory problem, I use requests.get to request https://www.baidu.com for 10000times and memory growed! |
So right now the SSL connections when you use pyOpenSSL, ndg-httspclient, and pyasn1 are more secure than if you just use the stdlib options. However it's hard to actually remember those three things. It would be cool if requests would add an extra to it's setup.py so that people can install requests with betterssl, something like:
Would make it so people can install requests like
pip install requests[betterssl]
and get all of those dependencies without having to manually track those down. It also means people could depend onrequests[betterssl]
instead of justrequests
in their own setup.py's.Extra name can of course be bikeshed here :)
The text was updated successfully, but these errors were encountered: