Bug 295218 - KMail freezes when GPG doesn't respond
Summary: KMail freezes when GPG doesn't respond
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: crypto (show other bugs)
Version: 4.8
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-02 15:44 UTC by Elias Probst
Modified: 2017-01-07 22:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2012-03-02 15:44:09 UTC
I've experienced KMail freezes multiple times which have been related to GnuPG not responding/waiting for a timeout etc.

Such operations should be done in a separate thread or so, as it renders the whole KMail GUI unusable as nothing can be done at all until the timeout is reached, which might take up to 5 minutes in some cases (e.g. keyserver cannot be reached).

Using KDE 4.8.0 an GnuPG 2.0.17.
Comment 1 Laurent Montel 2012-03-05 08:02:15 UTC
""keyserver cannot be reached" how ? not network ?.
Comment 2 Elias Probst 2012-03-05 08:31:18 UTC
(In reply to comment #1)
> ""keyserver cannot be reached" how ? not network ?.
No local network issue - it seems the configured default keyserver was unreachable.
Other servers were reachable and the issue could be solved temporarily by setting another default keyserver in kgpg, but this is no general solution to this issue.
Comment 3 Robert Riemann 2012-08-30 09:18:10 UTC
I experienced the same problem. In my university network, the port for PGP keyserver search seems to be blocked. The result is a freezing kmail, which only gets usable again after a timeout (from kpgp?) has expired.
Comment 4 Laurent Montel 2012-08-30 10:03:06 UTC
need to look at how to reproduce it
Comment 5 Elias Probst 2012-08-30 14:22:53 UTC
(In reply to comment #4)
> need to look at how to reproduce it
Simply use
/sbin/iptables -A OUTPUT -p tcp --dport 11371 -j DROP
to temporarily block all outgoing requests to PGP keyservers via hkp://.
Comment 6 Sandro Knauß 2013-10-21 01:02:11 UTC
Do you are talking about SMIME, PGP MIME or PGP Inline encrypted/signed messages?
Comment 7 Denis Kurz 2016-09-24 18:10:23 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 8 Denis Kurz 2017-01-07 22:46:59 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.