-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Investigate default TLS ciphers for pyOpenSSL #2090
Comments
pyOpenSSL doesn't provide its own default list, so it's a matter of whether you're happy with OpenSSL's defaults (across a wide variety of OpenSSL, naturally). My memory of "which OpenSSL versions have acceptable defaults" is kind of hazy, so I don't have a better suggestion than to flip the setting, and hit https://www.howsmyssl.com/s/api.html from a few different linux distros with different OpenSSL versions and see if the settings look ok. |
@alex Thanks for the reply, it looks like the best way to determine the OpenSSL version of pyOpenSSL to use We're planning on using OpenSSL-configured defaults on OpenSSL 1.1.1+, so would be |
Caution, |
@tiran Yikes, is there a canonical way to detect OpenSSL & v1.1.1+? |
|
@tiran Instead of filtering out LibreSSL should we instead only use OpenSSL? |
IMO it makes more sense to special case LibreSSL as they decided to redefine |
#2082 makes system ciphers the default with stdlib
SSLContext
implementation. Can we take a similar approach with pyOpenSSL or should we still rely on urllib3's default list?If we're relying on urllib3's default list we only need to make
pyopenssl.inject_into_urllib3()
setUSE_SYSTEM_SSL_CIPHERS
toFalse
unconditionally.cc @tiran @alex
The text was updated successfully, but these errors were encountered: