]> khamidou — GitHub mirrors - imapclient.git/commit
Use backports.ssl instead of using pyOpenSSL directly
authorMenno Smits <menno@freshfoo.com>
Tue, 14 Jul 2015 04:22:57 +0000 (16:22 +1200)
committerMenno Smits <menno@freshfoo.com>
Tue, 14 Jul 2015 04:22:57 +0000 (16:22 +1200)
commit5a268517d69fb610a229454d21360dd8ef293b14
treeb66cee7f7c6f948183d4c0ccfaab0fdb2e2d2848
parent8e6bea0c6335820eec688de4d4d9801d9e3742f7
Use backports.ssl instead of using pyOpenSSL directly

This allows a bunch of code that was lifted from backports.ssl and
Python 3.4 to be removed from IMAPClient. This change also gives users
a familiar SSLContext API (i.e. the stdlib one) instead of the
unfriendly pyOpenSSL SSLContext.

The service_identity dependency has also been removed as backports.ssl
does certificate hostname verification.
imapclient/imapclient.py
imapclient/test/test_starttls.py
imapclient/tls.py
setup.py