Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 869311d

Browse files
committed
merge 3.4 (#23481)
2 parents 3892189 + 500af33 commit 869311d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Lib/ssl.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,14 +164,12 @@ def _import_symbols(prefix):
164164
# * Prefer any AES-GCM over any AES-CBC for better performance and security
165165
# * Then Use HIGH cipher suites as a fallback
166166
# * Then Use 3DES as fallback which is secure but slow
167-
# * Finally use RC4 as a fallback which is problematic but needed for
168-
# compatibility some times.
169167
# * Disable NULL authentication, NULL encryption, and MD5 MACs for security
170168
# reasons
171169
_DEFAULT_CIPHERS = (
172170
'ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+HIGH:'
173-
'DH+HIGH:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+HIGH:RSA+3DES:ECDH+RC4:'
174-
'DH+RC4:RSA+RC4:!aNULL:!eNULL:!MD5'
171+
'DH+HIGH:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+HIGH:RSA+3DES:!aNULL:'
172+
'!eNULL:!MD5'
175173
)
176174

177175
# Restricted and more secure ciphers for the server side

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Core and Builtins
1313
Library
1414
-------
1515

16+
- Issue #23481: Remove RC4 from the SSL module's default cipher list.
17+
1618
- Issue #21548: Fix pydoc.synopsis() and pydoc.apropos() on modules with empty
1719
docstrings.
1820

0 commit comments

Comments
 (0)