Bug 168586 - Encryption and signing does not work in Kmail from KDE 4.1
Summary: Encryption and signing does not work in Kmail from KDE 4.1
Status: RESOLVED NOT A BUG
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: outdated (old bug dump)
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Marc Mutz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-07 10:55 UTC by Alexander Minges
Modified: 2008-10-23 17:45 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 Alexander Minges 2008-08-07 10:55:46 UTC
Version:            (using KDE 4.1.0)
Installed from:    Unlisted Binary Package
OS:                Linux

In Kmail the passphrase promt does not show up if I try to sign or encrypt a message, just showing an error that says that the wrong passphrase has been entered.
Futhermore the settings dialog for GnuPG in Kmail is just empty.
The same problem occurs in Kleopatra, but Kgpg - strangely - works just fine for managing keys and encrypting files: The passphrase dialog is shown.

I'm using Arch Linux with KDEmod 4.1 on x86_64 (which is completely vanilla KDE 4.1, but more modular packaged). What partly fixed the problem with the empty settings dialog was, to replace the shipped gnupg-2.0.8 with gnupg-2.0.9, but even recompiling the entire kdepim package, kdelibs and gpgme (1.1.6) did not make any difference to the rest of the problem.
Comment 1 Marc Mutz 2008-09-01 15:15:15 UTC
You need to run gpg-agent. If your distribution doesn't set it up for you automatically, see http://kontact.kde.org/kmail/kmail-pgpmime-howto.php, and file a bug with your distribution package.
Comment 2 Alexander Minges 2008-09-03 17:30:11 UTC
Actually I configured gpg to use gpg-agent when I was still using KDE 3.5.X, but this stopped working when I switched to KDE 4.1.
gpg-agent is running and gpg uses it when I try to sign a file from command line but Kleopatra and Kmail just ignore it an don't show any passphrase dialog.
Comment 3 Alexander Minges 2008-09-03 17:34:05 UTC
Strangely it worked after upgrading to KDE 4.1.1. Still don't know where the problem was ;-)