Bug 66282 - KMail hangs with GPG-agent
Summary: KMail hangs with GPG-agent
Status: RESOLVED DUPLICATE of bug 56693
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-20 14:15 UTC by Andre Hinrichs
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Hinrichs 2003-10-20 14:15:29 UTC
Version:           1.5.4 (using KDE KDE 3.1.4)
Installed from:    SuSE RPMs
OS:          Linux

I'm running a gpg-agent to store the gpg passwords.
System is running in SuSE 8.2 with updates to KDE 3.1.4.
System boots without X (init 3).
The gpg-agent is started just before the startx.
Additionally the following GPG packages are installed.

gpg-1.2.2rc1-24
gpgme-0.3.15-23
kgpg-1.0.0-122

I've added the crypto plug-in to KMail:
/usr/lib/cryptplug/gpgme-openpgp.so

So here is what happens...
When I newly start gpg-agent and click on an encrypted mail in KMail the gpg-agent asks for the mantra.
I then accidentally clicked on the next email without entering the mantra which causes KMail to hang.
It is neither possible to enter the mantra nor to click on other emails. Only way is to kill KMail. Then the gpg-agent is fully functional again and the mantra can be typed in.
The other way around I tried to kill the gpg-agent process asking for the mantra. This causes a restart of this process immediately but also KMail to display everything again but clicking on a mail causes KMail to hang again.
The most clean way seems to kill the gpg-agent process, close KMail, enter the mantra and starting KMail again.
This behavior is always reproducable.

I'm not really sure that this is a KMail problem since it could also be a gpg-agent problem. But I think KMail should be able to display unencrypted mails even if the mantra window is still open.

If you need more info don't hesitate to ask.


Andre
Comment 1 Ingo Klöcker 2003-10-20 14:56:25 UTC
It shouldn't be possible to click on another message while the pinentry program asks for the passphrase, but under certain circumstances this might be possible. In this case you should simply kill the pinentry program instead of killing either kmail or gpg-agent.

At http://kmail.ingo-kloecker.de you find newer RPMs for some of the necessary packages. Maybe this helps.

The suggestions in your bug report are duplicates of other wishes (make OpenPGP support asynchron / make decryption optional).


*** This bug has been marked as a duplicate of 56693 ***