]> granicus.if.org Git - python/commitdiff
remove rc4 from the default client ciphers (closes #23481)
authorBenjamin Peterson <benjamin@python.org>
Thu, 19 Feb 2015 22:57:08 +0000 (17:57 -0500)
committerBenjamin Peterson <benjamin@python.org>
Thu, 19 Feb 2015 22:57:08 +0000 (17:57 -0500)
Lib/ssl.py
Misc/NEWS

index 8c75f009c836acd109531bb1748dc019ca524e47..72115e4465bbbe928a3f0c8e4b7ba8464160d265 100644 (file)
@@ -170,14 +170,12 @@ else:
 #   * Prefer any AES-GCM over any AES-CBC for better performance and security
 #   * Then Use HIGH cipher suites as a fallback
 #   * Then Use 3DES as fallback which is secure but slow
-#   * Finally use RC4 as a fallback which is problematic but needed for
-#     compatibility some times.
 #   * Disable NULL authentication, NULL encryption, and MD5 MACs for security
 #     reasons
 _DEFAULT_CIPHERS = (
     'ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+HIGH:'
-    'DH+HIGH:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+HIGH:RSA+3DES:ECDH+RC4:'
-    'DH+RC4:RSA+RC4:!aNULL:!eNULL:!MD5'
+    'DH+HIGH:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+HIGH:RSA+3DES:!aNULL:'
+    '!eNULL:!MD5'
 )
 
 # Restricted and more secure ciphers for the server side
index 3f50594e6a1ecbf43404670b8b7c71796024582c..5e695497b432f7864361bb118d1af89c9c6adbbc 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -13,6 +13,8 @@ Core and Builtins
 Library
 -------
 
+- Issue #23481: Remove RC4 from the SSL module's default cipher list.
+
 - Issue #21548: Fix pydoc.synopsis() and pydoc.apropos() on modules with empty
   docstrings.