You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ssl.SSLSocket.shared_ciphers always returns server cipher list #96931
The function ssl.SSLSocket.shared_ciphers always returns the server's cipher list, rather than the ciphers common to both client and server. I.e., the same list as ssl.SSLContext.get_ciphers, in a different format.
This is due to the use of SSL_get_ciphers in the implementation, rather than SSL_get_shared_ciphers.
Your environment
CPython versions tested on: 3.8.10, 3.12.0a0
Operating system and architecture: Ubuntu 20.04, x86_64
Activity
gh-96931: Fix incorrect results in ssl.SSLSocket.shared_ciphers (#96932)
pythongh-96931: Fix incorrect results in ssl.SSLSocket.shared_ciphers (…
pythongh-96931: Fix incorrect results in ssl.SSLSocket.shared_ciphers (…
[3.11] gh-96931: Fix incorrect results in ssl.SSLSocket.shared_ciphers (
[3.10] gh-96931: Fix incorrect results in ssl.SSLSocket.shared_ciphers (
pythongh-96931: Fix incorrect results in ssl.SSLSocket.shared_ciphers (…
pythongh-96931: Fix incorrect results in ssl.SSLSocket.shared_ciphers (…
Accomodate the test to the changed behavior of SSLContext.shared_ciph…