Message239021
| Author | gc |
|---|---|
| Recipients | gc, gvanrossum, vstinner, yselivanov |
| Date | 2015-03-23.13:59:59 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1427119199.61.0.485462184824.issue23749@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
It's not possible to wrap a socket in tls. The StreamWriter object should have an option to start a tls negotiation using the SSLContext of the server. This is needed for protocols the have a "start_tls" feature, for example the ldap protocol. In a non async program it's very easy: wrapped_socket = ssl_context.wrap_socket(connection.socket, server_side=True, do_handshake_on_connect=True) there should be something similar in the StreamWriter interface: yield from writer.wrap_socket() Bye, Giovanni |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-03-23 13:59:59 | gc | set | recipients: + gc, gvanrossum, vstinner, yselivanov |
| 2015-03-23 13:59:59 | gc | set | messageid: <1427119199.61.0.485462184824.issue23749@psf.upfronthosting.co.za> |
| 2015-03-23 13:59:59 | gc | link | issue23749 messages |
| 2015-03-23 13:59:59 | gc | create | |