Antoine Pitrou added the comment:

> Maybe
> transport.get_extra_info('socket').getpeercert(True)
> would be okay, no patch needed?

That will be problematic with issue22560. The clear-text socket object and the 
SSL object become unrelated, and it would be logical for 
get_extra_info('socket') to return the clear-text socket, so either a 
get_extra_info('ssl') would be needed, or we should expose the SSL properties 
directly as extra info members.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22768>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to