[Bug 132227] I can't send gpg signed email

Mike Frysinger vapier at gentoo.org
Tue Feb 10 01:39:14 GMT 2009


http://bugs.kde.org/show_bug.cgi?id=132227


Mike Frysinger vapier gentoo org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vapier at gentoo.org




--- Comment #5 from Mike Frysinger <vapier gentoo org>  2009-02-10 02:39:13 ---
just because the agent is running doesnt mean the active env is sane.  in other
words, a gpg-agent session could be started by your login shell and so all
children inherit the env that points to that session.  if sometime later that
agent is killed and a new one is started, your kmail will still have the old
info.

the same situation might happen with stale env data and gpg-agent wasnt started
properly in the first place, or a different hierarchy.

you can double check this by doing something like:
$ strings /proc/$(pidof kmail)/environ | grep GPG
GPG_AGENT_INFO=/tmp/gpg-D0Refl/S.gpg-agent:30053:1

that second to last number will be the pid:
$ ps up 30053
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
vapier   30053  0.0  0.0  15344   568 ?        Ss    2008   1:01 gpg-agent
--daemon

if those things dont line up, then try quitting kmail, launching konsole,
checking GPG_AGENT_INFO is correct, then run `kmail` manually.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list