[issue25214] asyncio ssl transport regression

2015-09-23 Thread STINNER Victor
STINNER Victor added the comment: >> Thanks again Mathieu Pasquet who reported the issue #22768. > BTW for fingerprint check for self-signed certs I need binary form of > certificate `ssl_obj.getpeercert(binary_form=True)` but > `transp.get_extra_info('peercert')` returns a dict-based form. Y

[issue25214] asyncio ssl transport regression

2015-09-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: BTW for fingerprint check for self-signed certs I need binary form of certificate `ssl_obj.getpeercert(binary_form=True)` but `transp.get_extra_info('peercert')` returns a dict-based form. -- ___ Python tracker

[issue25214] asyncio ssl transport regression

2015-09-23 Thread STINNER Victor
STINNER Victor added the comment: > I've missed your patch, sorry. There is no need to be sorry :-) > Everything is fixed by http://bugs.python.org/issue25114 Wow, great :-) Thanks again Mathieu Pasquet who reported the issue #22768. -- status: open -> closed superseder: -> asyncio:

[issue25214] asyncio ssl transport regression

2015-09-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: I've missed your patch, sorry. Everything is fixed by http://bugs.python.org/issue25114 -- resolution: -> duplicate stage: -> resolved ___ Python tracker ___

[issue25214] asyncio ssl transport regression

2015-09-22 Thread STINNER Victor
STINNER Victor added the comment: The specific case of getpeercert(), there is an extra info. For other info, did you notice that I just added ssl_object to extra info? :-) http://bugs.python.org/issue25114 -- ___ Python tracker

[issue25214] asyncio ssl transport regression

2015-09-22 Thread Andrew Svetlov
New submission from Andrew Svetlov: Before using SSL BIO (which is great itself BTW) I has a way to access peers certificate by `ssl_transp.get_extra_info('socket').getpeercert()` call. Now socket is a regular socket without `.getpeercert()` method. I use hack like `ssl_transp._ssl_protocol._ss