Antoine Pitrou <pit...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10274>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to