GnuPG and SSH_AUTH_SOCK value

Matthias Apitz guru at unixarea.de
Fri Jun 21 18:39:38 CEST 2019


El día viernes, junio 21, 2019 a las 03:13:45p. m. +0200, Werner Koch via Gnupg-users escribió:

> On Fri, 21 Jun 2019 11:20, guru at unixarea.de said:
> 
> > What I do not understand is, why this value without the KDE5 environment
> > is
> >
> > $ gpgconf --list-dirs agent-ssh-socket
> > /home/guru/.gnupg-ccid/S.gpg-agent.ssh
> 
> That is because you have a
> GNUPGHOME=/home/guru/.gnupg-ccid
> and  /var/run/users/1001  does not exist.
> 
> > and after start of Xorg and KDE5 it is:
> >
> > $ gpgconf --list-dirs agent-ssh-socket
> > /var/run/user/1001/gnupg/d.m4rfaasqebhjmgto9ddm6m7y/S.gpg-agent.ssh
> 
> /var/run/users/1001 has been created (systemd mess?) and thus GnuPG
> expects ist sockets below /var/run/user/<UID>.  The token is the hash of
> the homedir's name so that we don't get a too long path.

Thanks for the explanation. But why GNUPGHOME is not also used for the
place where the sockets should be created when X11/KDE is up?

	matthias
-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20190621/c73acf02/attachment-0001.sig>


More information about the Gnupg-users mailing list