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
test_ssl test_get_ciphers fails on systems without RSA key exchange #95280
The test case test_get_ciphers assumes that SSLContext.set_ciphers('AESGCM') adds the cipher suites AES256-GCM-SHA384 and AES128-GCM-SHA256. These are OpenSSL's names for AES-GCM with RSA key exchange and RSA authentication:
These are old, problematic ciphers suites that do not provide perfect forward secrecy. The ciphers are blocked by some crypto policies, e.g. FIPS 140-3. We should relax the tests a bit and check for variants with FFDH or ECDH key exchange, e.g. ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-RSA-AES256-GCM-SHA384, or DHE-RSA-AES256-GCM-SHA384.
Activity
pythongh-95280: Fix test_get_ciphers on systems without RSA key exchange
pythongh-95280: Fix test_get_ciphers on systems without RSA key excha…
gh-95280: Fix test_get_ciphers on systems without RSA key exchange (G…
pythongh-95280: Fix test_get_ciphers on systems without RSA key excha…
gh-95280: Fix test_get_ciphers on systems without RSA key exchange (G…
[3.11] gh-95280: Fix test_get_ciphers on systems without RSA key exch…
pythongh-95280: Fix test_get_ciphers on systems without RSA key excha…
gh-95280: Fix test_get_ciphers on systems without RSA key exchange (G…