Package: src:kimap
Version: 16.04.2-1
Severity: important
Tags: patch, stretch

--- Please enter the report below this line. ---

kmail in stretch only supports TLSv1.0 which hinders it to connect to mail 
servers that only support TLSv1.2 or TLSv.1.1.

The attached patch is a backport of the upstream fix from here:
https://bugs.kde.org/show_bug.cgi?id=342567
https://git.reviewboard.kde.org/r/129030/

It is necessary for imap connections.

I primary reported the patches here 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797844#33
but was told on irc to file separate bug reports.

I tested this patch for some weeks on my system without any issues.
Pleas let me know if you have any questions.

Thank you for maintaining KDE packages in Debian!

--- System information. ---
Architecture: 
Kernel:       Linux 4.9.0-6-amd64

Debian Release: 9.3
  500 stable-updates  deb.debian.org 
  500 stable          deb.debian.org 
  100 stretch-backports deb.debian.org 

--- Package information. ---
Depends                   (Version) | Installed
===================================-+-==============
kio                                 | 5.28.0-2
libc6                     (>= 2.14) | 
libgcc1                  (>= 1:3.0) | 
libkf5codecs5           (>= 4.96.0) | 
libkf5coreaddons5       (>= 4.97.0) | 
libkf5i18n5             (>= 4.97.0) | 
libkf5kiocore5          (>= 4.96.0) | 
libkf5mime5           (>= 15.07.90) | 
libqt5core5a             (>= 5.7.0) | 
libsasl2-2                          | 
libstdc++6               (>= 4.1.1) | 


Package's Recommends field is empty.

Package's Suggests field is empty.



--- a/src/loginjob.cpp
+++ b/src/loginjob.cpp
@@ -383,7 +383,7 @@
 
         switch (d->authState) {
         case LoginJobPrivate::StartTls:
-            d->sessionInternal()->startSsl(KTcpSocket::TlsV1);
+            d->sessionInternal()->startSsl(KTcpSocket::SecureProtocols);
             break;
 
         case LoginJobPrivate::Capability:

Attachment: signature.asc
Description: This is a digitally signed message part.

  • Bug#891255: [src:kimap] Please enable TLSv1.2 for im... Maximilian Engelhardt

Reply via email to