Change agent-socket path

Wolf wolf at wolfsden.cz
Fri Jul 1 01:58:20 CEST 2016


Greetings,
I'm in need of changing the path to the agent socket, but I cannot find
a way to do so. My problem:

gpg-agent normally runs in /run/user/1000/gnupg/S.gnu-agent , which is
completely fine. However, when building packages (archlinux, makepkg),
the building/signing is done in fakeroot environment. Therefore the
socket path default to ~/.gnupg/S.gnu-agent. Because (at least it seems
to me) in fakeroot I am root (0) and therefore don't own /run/user/1000
(1000).

What would be a good way to solve this issue?

Thanks for any help,
W.
-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: </pipermail/attachments/20160701/4b189595/attachment.sig>


More information about the Gnupg-users mailing list