aboutsummaryrefslogtreecommitdiffstats
path: root/doc/tools.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-03-21 16:41:10 +0000
committerWerner Koch <[email protected]>2024-03-21 16:41:10 +0000
commita0bfbdaaa2d91cda9c6dbf97462b6ac0a112af0e (patch)
treebdc4eee5e9843d6421c0daccd1d55c7e5efc7a19 /doc/tools.texi
parentcommon: Use a common gpgconf.ctl parser for Unix and Windows. (diff)
downloadgnupg-a0bfbdaaa2d91cda9c6dbf97462b6ac0a112af0e.tar.gz
gnupg-a0bfbdaaa2d91cda9c6dbf97462b6ac0a112af0e.zip
Allow installation with a gpgconf.ctl changed homedir.
* common/homedir.c (gpgconf_ctl): Add field "gnupg". (parse_gpgconf_ctl): Support keyword "gnupg". (my_gnupg_dirname): New. (my_fixed_default_homedir): New. (gnupg_registry_dir): New. (standard_homedir): Use my_gnupg_dirname and my_fixed_default_homedir. (default_homedir): Use gnupg_registry_dir and my_fixed_default_homedir. (_gnupg_socketdir_internal): Use my_gnupg_dirname. Increase size of prefixbuffer. (gnupg_sysconfdir): Use my_gnupg_dirname. * tools/gpgconf.c (list_dirs): Use gnupg_registry_dir. (show_other_registry_entries): Ditto. -- This will be useful to install versions of GnuPG VS-Desktop and GnuPG Desktop in addition to a standard GnuPG version. Only basic tests on Unix done; Windows testing is still outstanding. GnuPG-bug-id: 7040
Diffstat (limited to 'doc/tools.texi')
-rw-r--r--doc/tools.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/tools.texi b/doc/tools.texi
index ae960bdc9..9ce0e6bb8 100644
--- a/doc/tools.texi
+++ b/doc/tools.texi
@@ -1159,6 +1159,13 @@ More fields may be added in future to the output.
exist and are writable: @file{ROOT/home} for the GnuPG home and
@file{ROOT@value{LOCALCACHEDIR}} for internal cache files.
+ On both platforms the keyword @code{gnupg} can be used to change the
+ standard home directory. For example a value of "gnupg-vsd" will
+ change the default home directory on unix from @file{~/.gnupg} to
+ @file{~/.gnupg-vsd}. The socket directory is changed accordingly
+ unless the @code{socketdir} keyword has been used. On Windows the
+ Registry keys are modified as well.
+
@item /etc/gnupg/gpgconf.conf
@cindex gpgconf.conf