From 31149d1b1f2cb3b6b5527b6e126602be9604c3a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Tue, 12 Oct 2021 01:24:53 +0200 Subject: [PATCH] Revert "disable verification of ssl certs via CA if fingerpint is set" This reverts commit 871b1175f1418fb1cb1b25e5da805be1dfc2c565. --- offlineimap/imapserver.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/offlineimap/imapserver.py b/offlineimap/imapserver.py index 6acb331..0906789 100644 --- a/offlineimap/imapserver.py +++ b/offlineimap/imapserver.py @@ -95,9 +95,6 @@ class IMAPServer: self.__verifycert = None # Disable cert verification. # This way of working sucks hard... self.fingerprint = repos.get_ssl_fingerprint() - if self.fingerprint is not None: - self.__verifycert = None # if we have a cert fingerprint - # we do not require verfication via CA self.tlslevel = repos.gettlslevel() self.sslversion = repos.getsslversion() self.starttls = repos.getstarttls()