[pkg-gnupg-maint] Bug#855868: Bug#855868: GPG_AGENT_INFO and SSH_AUTH_SOCK not set in wayland sessions
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Sat Sep 9 04:26:09 UTC 2017
On Fri 2017-09-08 23:56:40 +0100, rufo wrote:
> On 08/09/17 04:44, Daniel Kahn Gillmor wrote:
>>
>> OK, the proposed fix is now part of the gnupg2 2.2.0-3 package, which
>> was just uploaded to unstable.
>>
>
> Looks good. Thanks!
thanks for letting me know it worked for you :)
> Just looked into this - the generator script is actually working
> properly, but the env vars it sets are not being inherited by your shell
> when you ssh in.
>
> It looks like this is the intended behaviour of openssh, which builds an
> bare-bones env [1] before invoking your shell with execve.
>
> If a user wants SSH_AUTH_SOCK to be set inside their ssh session, the
> easiest way is probably for them to copy the old Xsession.d script into
> their .bashrc or similar.
if they're going to modify .bashrc, they might as well just stick in a
simple:
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
And not bother with writing "enable-ssh-support" into gpg-agent.conf :)
Thanks for the followup,
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20170909/df226e01/attachment-0001.sig>
More information about the pkg-gnupg-maint
mailing list