Message163086
Ok, so it seems the functionality is described in http://tools.ietf.org/html/rfc5705. If I understand correctly, it takes an ASCII label string, an optional context bytestring, and the length of the desired derived key. It then returns a bytestring of the given length, shared between client and server.
The low-level implementation of the ssl module is in Modules/_ssl.c. We probably want to add a method to PySSLSocket_Type there. Then in Lib/ssl.py there'll have to be a SSLSocket method to call the former method.
Tests should go in Lib/test/test_ssl.py. |
|
Date |
User |
Action |
Args |
2012-06-17 21:04:31 | pitrou | set | recipients:
+ pitrou, loewis, llaniscudani |
2012-06-17 21:04:30 | pitrou | set | messageid: <1339967070.76.0.602679058949.issue15071@psf.upfronthosting.co.za> |
2012-06-17 21:04:29 | pitrou | link | issue15071 messages |
2012-06-17 21:04:28 | pitrou | create | |
|