[issue22641] Use better default context in asyncio

2014-10-15 Thread Antoine Pitrou

New submission from Antoine Pitrou:

asyncio is not yet bound by legacy use cases, so this patch switches asyncio to 
stronger default SSL settings for client connections. It also adds tests for 
that (the code path was untested).

--
components: Library (Lib), asyncio
files: asyncio_default_context.patch
keywords: patch
messages: 229424
nosy: alex, christian.heimes, giampaolo.rodola, gvanrossum, haypo, pitrou, 
yselivanov
priority: normal
severity: normal
stage: patch review
status: open
title: Use better default context in asyncio
type: security
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file36934/asyncio_default_context.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22641
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22641] Use better default context in asyncio

2014-10-15 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


Removed file: http://bugs.python.org/file36934/asyncio_default_context.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22641
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22641] Use better default context in asyncio

2014-10-15 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


Added file: http://bugs.python.org/file36936/asyncio_default_context.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22641
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22641] Use better default context in asyncio

2014-10-15 Thread Guido van Rossum

Guido van Rossum added the comment:

LGTM. Thanks!

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22641
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22641] Use better default context in asyncio

2014-10-15 Thread Roundup Robot

Roundup Robot added the comment:

New changeset c2ccbcd11d47 by Antoine Pitrou in branch '3.4':
Issue #22641: In asyncio, the default SSL context for client connections is now 
created using ssl.create_default_context(), for stronger security.
https://hg.python.org/cpython/rev/c2ccbcd11d47

New changeset d75b63cb3e78 by Antoine Pitrou in branch 'default':
Issue #22641: In asyncio, the default SSL context for client connections is now 
created using ssl.create_default_context(), for stronger security.
https://hg.python.org/cpython/rev/d75b63cb3e78

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22641
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22641] Use better default context in asyncio

2014-10-15 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Ok, I've now pushed it to 3.4 and 3.5.

--
resolution:  - fixed
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22641
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com