[issue10274] imaplib should provide a means to validate a remote server ssl certificate(s)

Antoine Pitrou report at bugs.python.org
Mon Nov 1 18:31:47 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

Right, IMAP_SSL should first accept an additional context argument as noted in issue10274. Then it can be patched to optionally call ssl.match_hostname on the server certificate. That second part can mimick what is done by HTTPSConnection:
http://code.python.org/hg/branches/py3k/file/tip/Lib/http/client.py#l1052

----------
dependencies: +imaplib should provide a means to validate a remote server ssl certificate(s)
stage:  -> needs patch
type: security -> feature request
versions: +Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10274>
_______________________________________


More information about the Python-bugs-list mailing list