[Pkg-gnupg-maint] Bug#767341: Bug#767341: New xsession startup breaks enable-ssh-support

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Oct 30 15:14:13 UTC 2014


Control: tags 767341 + patch

Hi Christoph--

On Thu 2014-10-30 07:06:47 -0400, Christoph Egger wrote:

> setting SSH_AGENT_PID and SSH_AUTH_SOCKET to ~/.gnupg/S.gpg-agent.ssh if
> it exists should be enough fwiw. It even then supports ed25519 keys (wrt
> #764702)

I don't want to auto-enable that for everyone, because gpg's ssh-agent
support doesn't match the workflow for openssh's ssh-agent support and
not everyone likes the different workflow (i personally prefer
ssh-agent's workflow, for example).

That said, i do want to make this work for folks who do prefer gpg-agent's
ssh-agent workflow, so thanks for bringing this up.

I'm not convinced that setting SSH_AGENT_PID actually matters in
practice, so i think we could get away with just setting
SSH_AUTH_SOCKET.

Does the attached patch work for you?  If so, i'll roll up a new
version with the patch.

        --dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 767341.diff
Type: text/x-diff
Size: 531 bytes
Desc: update to gpg-agent XSession script
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20141030/4769e769/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20141030/4769e769/attachment.sig>


More information about the Pkg-gnupg-maint mailing list