Documentation gap: User-agent configuration under windows 8.1

Werner Koch wk at gnupg.org
Sun May 15 13:52:08 CEST 2016


On Sat, 14 May 2016 09:39, humanify at gmx.de said:

> The documentation so far doesn't mention that the gpg-agent.conf file
> has to be placed in the C:\Users\USERNAME\AppData\Roaming\gnupg

That directory depends on your systems configuration.  Thus we can't
mention this in the man page.  For all configuration files as well as
public and private keys, GnuPG uses its home directory (often called
GNUPGHOME after the environment variable to force the use of a
non-default home directory.

All GnuPG versions show you the used home directory with this command:

  gpg --version

which prints for example (here on Unix):

  Home: ~/.gnupg

On Windows _you_ will see the directory you mentioned above.  Since
GnuPG 2.0, the gpgconf command can be used to list the various
directories in use by GnUPG.  For example:

  $ gpgconf --list-dirs
  sysconfdir:/etc/gnupg
  bindir:/usr/local/bin
  libexecdir:/usr/local/libexec
  libdir:/usr/local/lib/gnupg
  datadir:/usr/local/share/gnupg
  localedir:/usr/local/share/locale
  dirmngr-socket:/home/someuser/.gnupg/S.dirmngr
  dirmngr-sys-socket:/usr/local/var/run/gnupg/S.dirmngr
  agent-socket:/home/someuser/.gnupg/S.gpg-agent
  homedir:/home/someuser/.gnupg



Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
    /* EFH in Erkrath: https://alt-hochdahl.de/haus */




More information about the Gnupg-users mailing list