This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: further extend ssl SNI and ciphers API
Type: Stage:
Components: Library (Lib) Versions: Python 3.3
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: grooverdan, pitrou
Priority: normal Keywords: patch

Created on 2011-01-07 01:20 by grooverdan, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
p3k-sni-ciphers.patch grooverdan, 2011-01-07 01:20 makes sni and cipher parameters consistant across wrap_socket methods
Messages (3)
msg125612 - (view) Author: Daniel Black (grooverdan) * Date: 2011-01-07 01:20
as a further extension to issue #5639 (sni) and issue #8322 this patch provides the ability to set ciphers in the  SSLContext.wrap_socket and server_hostname in ssl.wrap_socket. This just makes all the ssl apis look the same. Restructured the documentation associated with these functions to all be around the wrap_socket method.
msg125644 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-01-07 13:42
> as a further extension to issue #5639 (sni) and issue #8322 this patch
> provides the ability to set ciphers in the  SSLContext.wrap_socket and
> server_hostname in ssl.wrap_socket. This just makes all the ssl apis
> look the same. Restructured the documentation associated with these
> functions to all be around the wrap_socket method.

Ah! I actually don't want these APIs to look the same. In the long term,
I would like SSLContext to become the preferred API, with
ssl.wrap_socket only being supported for backwards compatibility.
The huge parameter list in ssl.wrap_socket() is really a mistake due to
it having evolved quite organically.
msg125721 - (view) Author: Daniel Black (grooverdan) * Date: 2011-01-07 22:24
acknowledged. Makes sense.
History
Date User Action Args
2022-04-11 14:57:10adminsetgithub: 55060
2011-01-07 22:24:58grooverdansetstatus: open -> closed

messages: + msg125721
resolution: rejected
2011-01-07 13:42:36pitrousetmessages: + msg125644
2011-01-07 01:20:51grooverdancreate