Message250705
Attached patch adds the "ssl_object" extra information to SSL sockets. For the legacy SSL implementation, it's a ssl.SSLSocket instance. For the new SSL implementation, it's a ssl.SSLObject instance.
ssl.SSLObject and ssl.SSLSocket have a similar but different API. Both classes provide important methods like getpeercert().
This issue fixes a regressions of Python 3.5 compared to Python 3.4 in asyncio SSL sockets: it's no more possible to get the peer certificate as a binary object (only as text). See the issue #22768.
My patch adds also unit tests on SSL extra info. We only had poor unit tests on these info. |
|
Date |
User |
Action |
Args |
2015-09-14 22:00:47 | vstinner | set | recipients:
+ vstinner, gvanrossum, mathieui, yselivanov |
2015-09-14 22:00:47 | vstinner | set | messageid: <1442268047.01.0.688232314675.issue25114@psf.upfronthosting.co.za> |
2015-09-14 22:00:46 | vstinner | link | issue25114 messages |
2015-09-14 22:00:46 | vstinner | create | |
|