Package: offlineimap Version: 6.2.0 socket.ssl is deprecated, more info here: http://software.complete.org/software/issues/show/110
Patch:
@@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA
-import re, string, types, binascii, socket, time, random, subprocess,
sys, os
+import re, string, types, binascii, socket, time, random, subprocess,
sys, os, ssl
from offlineimap.ui import UIBase
from imaplib import *
@@ -169,7 +169,7 @@
if last_error != 0:
# FIXME
raise socket.error(last_error)
- self.sslobj = socket.ssl(self.sock, self.keyfile,
self.certfile)
+ self.sslobj = ssl.wrap_socket(self.sock, self.keyfile,
self.certfile)
self.sslobj = sslwrapper(self.sslobj)
mustquote = re.compile(r"[^\w!#$%&'+,.:;<=>?^`|~-]")
--
Nicolas Valcárcel
Security Engineer
Custom Engineering Solutions Group
Canonical OEM Services
Mobile: +511 994 293 200
Key fingerprint = 5C4D 0C85 D9C0 98FE 11F9 DD12 524E C3CD EF58 4970
gpg --keyserver keyserver.ubuntu.com --recv-keys 654597FE
signature.asc
Description: Digital signature

