changeset: 93107:e971f3c57502 parent: 93102:bcc3f167a30b user: Antoine Pitrou date: Fri Oct 17 19:28:30 2014 +0200 files: Lib/ssl.py Misc/NEWS description: Issue #22638: SSLv3 is now disabled throughout the standard library. It can still be enabled by instantiating a SSLContext manually. diff -r bcc3f167a30b -r e971f3c57502 Lib/ssl.py --- a/Lib/ssl.py Fri Oct 17 08:52:20 2014 +0100 +++ b/Lib/ssl.py Fri Oct 17 19:28:30 2014 +0200 @@ -454,6 +454,9 @@ context = SSLContext(protocol) # SSLv2 considered harmful. context.options |= OP_NO_SSLv2 + # SSLv3 has problematic security and is only required for really old + # clients such as IE6 on Windows XP + context.options |= OP_NO_SSLv3 if cert_reqs is not None: context.verify_mode = cert_reqs diff -r bcc3f167a30b -r e971f3c57502 Misc/NEWS --- a/Misc/NEWS Fri Oct 17 08:52:20 2014 +0100 +++ b/Misc/NEWS Fri Oct 17 19:28:30 2014 +0200 @@ -178,6 +178,9 @@ Library ------- +- Issue #22638: SSLv3 is now disabled throughout the standard library. + It can still be enabled by instantiating a SSLContext manually. + - Issue #22641: In asyncio, the default SSL context for client connections is now created using ssl.create_default_context(), for stronger security.