Keyring Directory

Alphax alphasigmax at
Sun Jun 25 04:24:16 CEST 2006

Bob Henson wrote:
> Would someone kindly confirm the gpg.conf line for setting the keyring
> directory elsewhere than the standard one, please. As far as I can see,
> the --homedir command sets the directory for the executable files, but
> I'm not sure what to set to move the keyrings to another path to the
> standard (Win XP) path of ...../application data/gnupg. Maybe it's an
> environment variable needs setting?

From the manpage:

--homedir directory
          Set  the  name  of  the  home  directory to directory If this
          option is not used it defaults to  "~/.gnupg".  It  does  not
          make sense to use this in a options file. This also overrides
          the environment variable $GNUPGHOME.

However, the "best" fix on Windows is in the registry:

"HomeDir"="C:\\Documents and Settings\\Username\\Application Data\\GnuPG"
"OptFile"="C:\\Documents and Settings\\Username\\Application

        Death to all fanatics!
  Down with categorical imperative!
OpenPGP key:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 564 bytes
Desc: OpenPGP digital signature
Url : /pipermail/attachments/20060625/d75c563d/signature.pgp

More information about the Gnupg-users mailing list