[Xfce-bugs] [Bug 11412] segfault when GPG_AGENT_INFO is exported prior to session start

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Dec 31 09:46:40 CET 2014


https://bugzilla.xfce.org/show_bug.cgi?id=11412

--- Comment #2 from Robby Workman <rw at rlworkman.net> ---
Aha. It's because xfce4-session/xfsm-startup.c expects the path to the socket,
pid of the agent process, and the agent protocol version (which is *exactly*
what it used to be), but I'm setting GPG_AGENT_INFO with only the socket path,
so probably xfsm_gpg_agent_pid() is unhappy. As I said, this is something that
probably shouldn't be done, and so I'm not convinced that an attempt should be
made to "fix" it in xfce. The real problem is in claws-mail, I think, but they
don't seem to agree :/  I peeked into the code there, and it looks trivial
enough to make it work with *only* new gnupg-2.1.x, but not as trivial to make
it work with either, as there's no good way to find out what version of gnupg2
is in use on the system (or at least, I'm not aware of one). Anyway, that
discussion is out of scope here, so bah. For the time being, I'll just wrap my
claws-mail invocation in a script to set the agent info in its environment and
hope the claws devs change their mind.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list