Re: IMAP4_SSL and OpenSSL compatibility

Discussion in 'Python' started by Antoine Pitrou, Feb 26, 2013.

  1. 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.
     
    Antoine Pitrou, Feb 26, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrea Gavana
    Replies:
    1
    Views:
    3,080
    litrush
    Aug 11, 2011
  2. Redd Vinylene
    Replies:
    6
    Views:
    306
    Jakub Pawlowicz
    Nov 18, 2008
  3. W. Martin Borgert

    IMAP4_SSL and OpenSSL compatibility

    W. Martin Borgert, Feb 25, 2013, in forum: Python
    Replies:
    0
    Views:
    133
    W. Martin Borgert
    Feb 25, 2013
  4. W. Martin Borgert

    Re: IMAP4_SSL and OpenSSL compatibility

    W. Martin Borgert, Feb 26, 2013, in forum: Python
    Replies:
    1
    Views:
    90
    Matej Cepl
    Mar 1, 2013
  5. Antoine Pitrou

    Re: IMAP4_SSL and OpenSSL compatibility

    Antoine Pitrou, Mar 1, 2013, in forum: Python
    Replies:
    0
    Views:
    90
    Antoine Pitrou
    Mar 1, 2013
Loading...

Share This Page