[Bug 219764] New: kmail cannot sign emails
https://bugzilla.novell.com/show_bug.cgi?id=219764 Summary: kmail cannot sign emails Product: openSUSE 10.2 Version: Beta 2 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: KDE AssignedTo: kde-maintainers@suse.de ReportedBy: mc@novell.com QAContact: qa@suse.de If I want to send a signed email I got an error popup: "Signierung fehlgeschlagen: Falsches Passwort" (translation) sign failed: invalid password This is correct because it does not ask me to enter a password :-( $> ps aux | grep gpg-agent mc 19179 0.0 0.0 3856 912 ? Ss 10:59 0:00 /usr/bin/gpg-agent --sh --daemon $> echo $GPG_AGENT_INFO /tmp/gpg-zWdIU3/S.gpg-agent:19179:1 $> l /tmp/gpg-zWdIU3/S.gpg-agent srwxr-xr-x 1 mc tools 0 10. Nov 10:59 /tmp/gpg-zWdIU3/S.gpg-agent= -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219764
------- Comment #1 from mc@novell.com 2006-11-10 04:35 MST -------
If I want to decrypt a file with konqueror the same problem appears.
I got the following details:
[GNUPG:] ENC_TO 196C1F5EDD0A4BF8 16 0
[GNUPG:] USERID_HINT 196C1F5EDD0A4BF8 Michael Calmer
https://bugzilla.novell.com/show_bug.cgi?id=219764 stbinner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kde-maintainers@suse.de |wstephenson@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219764 wstephenson@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #2 from wstephenson@novell.com 2006-11-14 06:00 MST ------- I can't reproduce it. Do you have pinentry and pinentry-qt installed? I am looking for reasons why "gpg: cancelled by user" might appear. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219764 wstephenson@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |mc@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219764 mc@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|mc@novell.com | ------- Comment #3 from mc@novell.com 2006-11-14 06:25 MST ------- pinentry and pinentry-qt are installed. mc@tait:~> rpm -q pinentry pinentry-0.7.2-36 mc@tait:~> rpm -q pinentry-qt pinentry-qt-0.7.2-1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219764 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Major |Critical ------- Comment #4 from coolo@novell.com 2006-11-15 05:25 MST ------- I can reproduce on my factory install and it's not just about signing, but also about reading mails of course -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219764 wstephenson@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |johann-nikolaus.andreae@nacs.de ------- Comment #5 from wstephenson@novell.com 2006-11-16 08:29 MST ------- *** Bug 221716 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219764 ------- Comment #6 from wstephenson@novell.com 2006-11-16 14:42 MST ------- I can reproduce with a new user on beta2plus -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219764 ------- Comment #7 from wstephenson@novell.com 2006-11-16 15:55 MST ------- Found a few issues: *) The test to make sure the problem lies outside kmail is: echo "test" | gpg -ase -r 0xYOURKEYID | gpg If you get 2 pinentry dialogs here, but kmail running in the same environment can't decrypt, we have a kmail problem. *) In every test (with and without gpg-agent) kmail could sign mails, and self-encrypt mails (no surprise there) but decryption is dependent on working gpg-agent *) gpg-agent appears not to work if misconfigured. Specifically it complains on startup about its log file/socket not existing, then gets into an undefined state where it doesn't service requests. Please start gpg-agent manually and see if there are any odd messages on the console. I am not 100% sure that the missing logfile causes the useless state. *) kmail seems unable to decrypt without gpg-agent, when using gpgme. I'm investigating that. *) kgpg writes config to the obsolete ~/.gnupg/options instead of ~/.gnupg/gpg.conf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219764 ------- Comment #8 from wstephenson@novell.com 2006-11-17 00:15 MST ------- see also KDE bug #92619 - kmail can't decrypt mails without gpg-agent. I'll look at your setups later today to see what the difference is between your broken and my working setups. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
LANG=en_US /usr/bin/gpg-agent --sh -v gpg-agent: can't connect to `/suse/mc/.gnupg/S.gpg-agent': No such file or
https://bugzilla.novell.com/show_bug.cgi?id=219764
mc@novell.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anicka@novell.com
------- Comment #9 from mc@novell.com 2006-11-17 02:29 MST -------
To Comment#7:
Test 1) I do not see pinentry dialogs
$> echo "test" | gpg -ase -r 0x1A413FF2 | gpg
You need a passphrase to unlock the secret key for
user: "Michael Calmer
https://bugzilla.novell.com/show_bug.cgi?id=219764 ------- Comment #10 from mc@novell.com 2006-11-17 02:44 MST ------- I have added : pinentry-program /usr/bin/pinentry-qt to .gnupg/pgp-agent.conf After doing this it works. Maybe the script "pinentry" has a bug and do not choose the correct pinentry-* program? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219764 wstephenson@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wstephenson@novell.com |anicka@novell.com Severity|Critical |Normal Status|ASSIGNED |NEW ------- Comment #12 from wstephenson@novell.com 2006-11-17 04:57 MST ------- I'm downgrading this and reassigning to the gpg2 maintainer - sorry! It affects upgrading KDE users who a) use gpg-agent and b) don't have gpg.conf, options or gpg-agent.conf in ~/.gnupg, but this may not be a sufficient set of steps to reproduce. The workaround is to set "pinentry-program /usr/bin/pinentry-qt" in gnupg/gpg-agent.conf This setup worked in 10.1 but does not in 10.2. It does not directly involve kmail as the echo "test" | gpg -ase -r 0x1A413FF2 | gpg test shows. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219764 anicka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219764 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |agruen@novell.com ------- Comment #13 from coolo@novell.com 2006-11-21 11:27 MST ------- *** Bug 222991 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219764 anicka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |DUPLICATE ------- Comment #14 from anicka@novell.com 2006-11-21 11:59 MST ------- *** This bug has been marked as a duplicate of bug 205688 *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com