FS#60159 - [openssl] openssl 1.1.1-1 breaks Python
Attached to Project:
Arch Linux
Opened by Olivier Mehani (shtrom) - Saturday, 22 September 2018, 10:45 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 22 September 2018, 11:52 GMT
Opened by Olivier Mehani (shtrom) - Saturday, 22 September 2018, 10:45 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 22 September 2018, 11:52 GMT
|
Details
Description:
Python SSL connection seem to break after an upgrade that brought in openssl-1.1.1-1. Downgrading to openssl-1.1.0.i-1 consistently fixes the issue Additional info: * openssl-1.1.1-1 * offlineimap-7.2.1-1 * python2-2.7.15-2 Steps to reproduce: * Using OfflineIMAP against GMail: ERROR: Exceptions occurred during the run! ERROR: Unknown SSL protocol connecting to host 'imap.gmail.com' for repository 'Learnosity'. OpenSSL responded: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726) Traceback: File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 283, in syncrunner self.__sync() File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 359, in __sync remoterepos.getfolders() File "/usr/lib/python2.7/site-packages/offlineimap/repository/IMAP.py", line 452, in getfolders imapobj = self.imapserver.acquireconnection() File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 633, in acquireconnection exc_info()[2]) File "/usr/lib/python2.7/site-packages/offlineimap/imapserver.py", line 547, in acquireconnection af=self.af, File "/usr/lib/python2.7/site-packages/offlineimap/imaplibutil.py", line 194, in __init__ super(WrappedIMAP4_SSL, self).__init__(*args, **kwargs) File "/usr/lib/python2.7/site-packages/offlineimap/bundled_imaplib2.py", line 2183, in __init__ IMAP4.__init__(self, host, port, debug, debug_file, identifier, timeout, debug_buf_lvl) File "/usr/lib/python2.7/site-packages/offlineimap/bundled_imaplib2.py", line 361, in __init__ self.open(host, port) File "/usr/lib/python2.7/site-packages/offlineimap/imaplibutil.py", line 202, in open super(WrappedIMAP4_SSL, self).open(host, port) File "/usr/lib/python2.7/site-packages/offlineimap/bundled_imaplib2.py", line 2196, in open self.ssl_wrap_socket() File "/usr/lib/python2.7/site-packages/offlineimap/bundled_imaplib2.py", line 548, in ssl_wrap_socket self.sock = ssl.wrap_socket(self.sock, self.keyfile, self.certfile, ca_certs=self.ca_certs, cert_reqs=cert_reqs, ssl_version=ssl_version) File "/usr/lib/python2.7/ssl.py", line 949, in wrap_socket ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 617, in __init__ self.do_handshake() File "/usr/lib/python2.7/ssl.py", line 846, in do_handshake self._sslobj.do_handshake() |
This task depends upon
Closed by Antonio Rojas (arojas)
Saturday, 22 September 2018, 11:52 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#60078
Saturday, 22 September 2018, 11:52 GMT
Reason for closing: Duplicate
Additional comments about closing: