[issue31346] Prefer PROTOCOL_TLS_CLIENT/SERVER

2017-09-17 Thread Christian Heimes

Changes by Christian Heimes :


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

___
Python tracker 

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



[issue31346] Prefer PROTOCOL_TLS_CLIENT/SERVER

2017-09-15 Thread Christian Heimes

Christian Heimes added the comment:


New changeset a170fa162dc03f0a014373349e548954fff2e567 by Christian Heimes in 
branch 'master':
bpo-31346: Use PROTOCOL_TLS_CLIENT/SERVER (#3058)
https://github.com/python/cpython/commit/a170fa162dc03f0a014373349e548954fff2e567


--

___
Python tracker 

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



[issue31346] Prefer PROTOCOL_TLS_CLIENT/SERVER

2017-09-04 Thread Christian Heimes

Changes by Christian Heimes :


--
pull_requests: +3349

___
Python tracker 

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



[issue31346] Prefer PROTOCOL_TLS_CLIENT/SERVER

2017-09-04 Thread Christian Heimes

New submission from Christian Heimes:

Since Python 3.6 the ssl module has three new protocols:


* PROTOCOL_TLS is the new, preferred, and less confusing name of 
PROTOCOL_SSLv23. It performs auto-negotiation of the best TLS/SSL protocol 
supported by client and server.
* PROTOCOL_TLS_CLIENT is a client-only variant of PROTOCOL_TLS. The protocol 
also enables check_hostname and CERT_REQUIRED.
* PROTOCOL_TLS_SERVER is server side-only variant. It leaves check_hostname 
disabled and has CERT_NONE (no client cert validation).

Tests and code should prefer PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER 
whenever possible.

--
assignee: christian.heimes
components: SSL
messages: 301282
nosy: christian.heimes
priority: normal
severity: normal
stage: patch review
status: open
title: Prefer PROTOCOL_TLS_CLIENT/SERVER
type: enhancement
versions: Python 3.7

___
Python tracker 

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