Summary: | No password asked when gpg-agent not running | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Thomas Schuetz <thschuetz> |
Component: | encryption | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | cordlandwehr, daniel.moyne, engage, kde, krisztian.kad, mehrdad.momeny, raphink, tiposchi |
Priority: | NOR | ||
Version: | 1.10.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Thomas Schuetz
2008-08-01 10:53:00 UTC
See http://randomguy3.wordpress.com/2008/07/24/kmail-trunk-signing/ for a link to the solution. Thanks for the link, but it doesn't work here, I don't get a password-field :-( But maybe it is interesting that I am using archlinux, too. Is there anybody who uses another distri and has the same error or could tell, that there is no error like this? *** Bug 169561 has been marked as a duplicate of this bug. *** The bug still exists in kde 4.1.1 in the normal arch-packages (not kdemod). gpg-agent is running, but I don't know, where it is started, looks like kde is doing this without asking me... I'm using Kubuntu and have this bug! on latest kmail (1.10.1) in KDE 4.1.1 and this: http://randomguy3.wordpress.com/2008/07/24/kmail-trunk-signing/ doesn't work any thing for me! *** Bug 172265 has been marked as a duplicate of this bug. *** I confirm this bug aswell, on Ubuntu 8.10 using Kmail 1.10.1. I haven't been able to sign my emails since the switch to KDE 4. Trying to set a gpg-agent didn't work either (though I suspect this is another issue). I'm having this problem also. KDE 4.1.3, Mandriva 2009.0. On one computer, with a fresh install, I can't even set up key signing during Kmail configuration - I get a box saying that the keys are being searched but the search never stops. I tried using the instructions at http://randomguy3.wordpress.com/2008/07/24/kmail-trunk-signing/ but the stuff still won't work. *** This bug has been confirmed by popular vote. *** You should report this bug to your distribution. If the KMail package is installed, the distribution should take care of pulling in the related packages like gpg-agent and setting them up properly. Of course, the fact that KMail says "Bad passphrase" instead of a proper error message is still a bug, but I have been told this is difficult to fix. I've followed the tutorial. The solution works to read encrypted mails that i receive, but doesn't let me sign mails... says bad passphrase. So i think the bug is not just problem of the distribution or a simple wrong error message shown. I've tried to reproduce this bug killing my running gpg-agent, then send an encrypted mail, and kmail sent an encrypted mail without asking the password. Do you have runing processes like? /usr/bin/gpg-agent --sh --daemon --write-env-file /home/user/.gnupg/agent.info /usr/bin/ssh-agent /bin/bash /etc/X11/xinit/xinitrc kgpg -session 10d3d8da65000122107096600000039780007_1238527063_33663 I have this: $ ps aux | fgrep gpg salvo 32249 0.0 0.0 3964 476 ? Ss 22:09 0:00 gpg-agent --daemon --pinentry-program /usr/bin/pinentry-qt salvo 32398 0.0 0.0 3928 464 ? Ss 22:11 0:00 gpg-agent --daemon --pinentry-program /usr/bin/pinentry-qt Anyway kmail say that i didn't insert any password. Well encrypting is easy. Signing requires password.. I have this: $ ps aux | fgrep gpg salvo 32249 0.0 0.0 3964 476 ? Ss 22:09 0:00 gpg-agent --daemon --pinentry-program /usr/bin/pinentry-qt salvo 32398 0.0 0.0 3928 464 ? Ss 22:11 0:00 gpg-agent --daemon --pinentry-program /usr/bin/pinentry-qt Anyway kmail say that i didn't insert any password. Well encrypting is easy. Signing requires password.. *** Bug 190144 has been marked as a duplicate of this bug. *** I have the same problem, too - Kubuntu 9.04 RC with KDE 4.2.2.
> Of course, the fact that KMail says "Bad passphrase" instead of a proper error
> message is still a bug, but I have been told this is difficult to fix.
Does this mean it generally is not possible to have KMail sign and decrypt mails without gpg-agent? KGpg can do exactly that, it just asks me for the password itself (of course there is no caching and it asks every time I need it, but that's ok). The very first time KMail had to decrypt an encrypted mail (since I selected all mails of a folders and marked them as "Ham"), I got a password dialogue from KMail (it was definitely a KDE and not a Qt one), so something like that has to be in the sources. Since then, whenever I want to sign or decrypt a mail without gpg-agent it tells me the passphrase is wrong.
If it is indeed not meant to work without gpg-agent, I'll add that as wishlist entry.
Btw, is it normal that the configuration window of the "OpenPGP" crypto module in KMail is just empty?
*** Bug 191495 has been marked as a duplicate of this bug. *** *** Bug 205477 has been marked as a duplicate of this bug. *** *** Bug 210325 has been marked as a duplicate of this bug. *** I just experienced this bug in debian squeeze and aptosid, but luckily I found a workaround in this debian bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523354 Basically you have to open kgpg set it to use gpg-agent, logout and login again, and then kmail will ask for the pass phrase. you may have to install pinentry-gt4. Still I do experience some annoying behaviour from kmail, it keeps showing a windows asking for the keys and encrypt options (ignoring the settings), then ask to add my recipient to the address book, then ask for the passphrase. Thank you for taking the time to file a bug report. KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2. We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback. |