[pkg-gnupg-maint] Bug#854376: Bug#854376: Unable to use gpg-agent as ssh-agent

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Feb 10 19:37:29 UTC 2017


Hi Punit--

On Thu 2017-02-09 07:25:17 -0500, Punit Agrawal wrote:
> I've got version 2.1.18-3 of the package (I'm running testing)

> % readlink -f $(which pinentry)
> /usr/bin/pinentry-qt

> sddm

>>  * do you have dbus-user-session installed?
>
> No.

Thanks for the feedback!

The problem that you're having is because ssh does not tell gpg-agent
anything about how to contact the user, and gpg-agent is started as a
service by systemd.

I believe that if you were to install dbus-user-session, fully log out,
and then log back in again with sddm, gpg-agent would get launched when
asked with the correct $DISPLAY environment variable, and your ssh
attempt would just work, without needing to do the updatestartuptty
dance.

The gnupg-agent package Suggests: dbus-user-session to facilitate
exactly your use case.

Please let me know if dbus-user-session works for you!

       --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/20170210/487447a9/attachment-0001.sig>


More information about the pkg-gnupg-maint mailing list