[Xfce-bugs] [Bug 11435] Add an option to pass --enable-ssh-support to gpg-agent

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Jul 5 10:32:55 CEST 2015


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

--- Comment #5 from Yves-Alexis Perez <corsac at debian.org> ---
(In reply to Fab from comment #4)
> (In reply to Yves-Alexis Perez from comment #3)
> > Why not just adding enable-ssh-support to .gnupg/gpg-agent.conf?
> 
> Are you talking to me ? (© :p)

You and all people experiencing the problem.
> 
> If yes, the answer is : simply because it does not work.
> I tried before finding this bug. I just re-tried, and :
> 
> > $ grep enable .gnupg/gpg-agent.conf 
> > enable-ssh-support
> 
> (then restart the xfce session)
> 
> > $ ps x | egrep 'ssh-agent|gpg-agent'
> > 26852 ?        Ss     0:00 /usr/bin/ssh-agent -s
> > 26854 ?        Ss     0:00 /usr/bin/gpg-agent --sh --daemon --write-env-file /home/fab/.cache/gpg-agent-info

Well, gpg-agent.conf is a config file for gpg-agent, not for xfce4-session, so
that's expected not to find the command line option. The whole point of the
config file option is to *not* have to pass it on the command line. And it does
work fine for me:

corsac    5806  0.0  0.0 238784  2252 ?        Ss   juil.03   0:03 gpg-agent
--homedir /home/corsac/.gnupg --use-standard-socket --daemon

echo $SSH_AUTH_SOCK
/home/corsac/.gnupg/S.gpg-agent.ssh

Note that you /might/ be a victim of bug #12044 where xfce4-session startup
code will fail to check that gpg-agent is currently running and run a new one,
but failing to setup properly the GPG_AGENT_INFO variable. This happens with
gpg-agent 2.1+.

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


More information about the Xfce-bugs mailing list