Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: IMAP4_SSL and OpenSSL compatibility

Reply
Thread Tools

Re: IMAP4_SSL and OpenSSL compatibility

 
 
Antoine Pitrou
Guest
Posts: n/a
 
      02-26-2013
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/i...plib.IMAP4_SSL

Regards

Antoine.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: IMAP4_SSL and OpenSSL compatibility W. Martin Borgert Python 1 03-01-2013 10:46 PM
Re: IMAP4_SSL and OpenSSL compatibility Antoine Pitrou Python 0 03-01-2013 07:03 PM
IMAP4_SSL and OpenSSL compatibility W. Martin Borgert Python 0 02-25-2013 10:43 PM
IMAP4_SSL, libgmail, GMail and corporate firewall/proxy Andrea Gavana Python 1 08-11-2011 03:24 PM
Ruby and OpenSSL: no such file to load -- openssl (RuntimeError) Redd Vinylene Ruby 6 11-18-2008 08:51 AM



Advertisments