Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #39943

Re: IMAP4_SSL and OpenSSL compatibility

From Antoine Pitrou <solipsis@pitrou.net>
Subject Re: IMAP4_SSL and OpenSSL compatibility
Date 2013-02-26 12:04 +0000
References <20130225224327.GA10266@fama.tangosoft.com>
Newsgroups comp.lang.python
Message-ID <mailman.2540.1361880282.2939.python-list@python.org> (permalink)

Show all headers | View raw


W. Martin Borgert <debacle <at> debian.org> writes:
> 
> When I add an ssl_version argument to the call to
> ssl.wrap_socket() in imaplib.IMAP4_SSL.open(), I can connect to
> the Exchange server without problems:
> 
> self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile,
>                               ssl_version = ssl.PROTOCOL_SSLv3)
> 
> Would it make sense, to make this change in the Python standard
> library?

There is already the ssl_context option for that:
http://docs.python.org/3.3/library/imaplib.html#imaplib.IMAP4_SSL

Regards

Antoine.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: IMAP4_SSL and OpenSSL compatibility Antoine Pitrou <solipsis@pitrou.net> - 2013-02-26 12:04 +0000

csiph-web