[aur-general] Build packages without Arch on pkgbuild.com

Morten Linderud foxboron at archlinux.org
Mon Apr 9 15:06:09 UTC 2018

On Sun, Apr 08, 2018 at 07:09:06PM +0530, Pierre Neidhardt wrote:
> Morten Linderud <foxboron at archlinux.org> writes:
> > What i have done now is to launch a second gpg-agent that only
> > provides an -extra socket with no caching what so ever.
> I thought of something along those lines.  Can you detail the commands
> so that we can put that on the wiki?

Symlink gpg.conf and private-keys-v1.d into a new gnupg directory. Then just
create a gpg-agent.conf along the lines of:

extra-socket /home/fox/.gnupg-extra/S.gpg-agent.extra
default-cache-ttl 0
max-cache-ttl 0
pinentry-program /usr/bin/pinentry-gtk-2

Then you just launch gpg-agent with the homedir set:
gpg-agent --homedir .gnupg-extra --daemon 

Fix you ssh config to point at the new .extra socket. I'm honestly unsure why
gpg-agent can't be launched into the same homedir twice. But I'm way too lazy to
dig further into gnupg.

Morten Linderud


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20180409/a9314911/attachment.asc>

More information about the aur-general mailing list