Issue 10851: further extend ssl SNI and ciphers API (original) (raw)

Issue10851

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:10 admin set github: 55060
2011-01-07 22:24:58 grooverdan set status: open -> closedmessages: + resolution: rejected
2011-01-07 13:42:36 pitrou set messages: +
2011-01-07 01:20:51 grooverdan create