[pacman-dev] [PATCH] (newgpg) Let pacman specify GnuPG's home directory.

Gerhard Brauer gerbra at archlinux.de
Mon Dec 15 13:47:44 EST 2008

Am Sun, 14 Dec 2008 12:59:39 -0600
schrieb Chris Brannon <cmbrannon at cox.net>:

> GnuPG looks for configuration files and keyrings in its home
> directory. For a user, that is typically ~/.gnupg.
> This patch causes pacman to use /etc/pacman.d/gnupg/ as the default
> GnuPG home.  One may override the default using --gpgdir on the
> command-line or GPGDir in pacman's configuration file.

Seems to work here in test environment.
I copied root's pubrig and trustdb to /etc/pacman.d/gnupg/
The package itself isn't checked (.sig file or signature), but that was
not the reason of your patch.

What i mentioned in another posting (that libalpm don't find the
keyring dir) is gone with your patch.


More information about the pacman-dev mailing list