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

Attachment: signature.asc
Description: PGP signature

Reply via email to