[issue20421] expose SSL socket protocol version

Antoine Pitrou report at bugs.python.org
Tue Jan 28 17:36:54 CET 2014


New submission from Antoine Pitrou:

SSL sockets should provide a way to query the current protocol version (e.g. "TLSv1.2"). OpenSSL makes it easy through SSL_get_version().

Open question is whether we return the string returned by SSL_get_version(), or we convert it to one of the constants ssl.PROTOCOL_XXX.

----------
components: Library (Lib)
messages: 209564
nosy: christian.heimes, giampaolo.rodola, janssen, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: expose SSL socket protocol version
type: enhancement
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20421>
_______________________________________


More information about the Python-bugs-list mailing list