diff options
author | Werner Koch <[email protected]> | 2022-01-25 09:06:30 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2022-01-25 09:10:53 +0000 |
commit | 1cf0c407bf2f0ca8e6f747a1d5866801075ac948 (patch) | |
tree | 82955e6b634c8c98dfc01f90f94a72ed2c542481 /doc/tools.texi | |
parent | doc: Minor typo fixes (diff) | |
download | gnupg-1cf0c407bf2f0ca8e6f747a1d5866801075ac948.tar.gz gnupg-1cf0c407bf2f0ca8e6f747a1d5866801075ac948.zip |
doc: Add comments on the legacy status of gpgconf.conf.
--
Diffstat (limited to 'doc/tools.texi')
-rw-r--r-- | doc/tools.texi | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/doc/tools.texi b/doc/tools.texi index 837a3752f..0acf4f49c 100644 --- a/doc/tools.texi +++ b/doc/tools.texi @@ -317,6 +317,8 @@ shall go into the respective configuration file. @item --apply-defaults Update all configuration files with values taken from the global configuration file (usually @file{/etc/gnupg/gpgconf.conf}). +Note: This is a legacy mechanism. Please use global configuration +files instead. @item --list-dirs [@var{names}] @itemx -L @@ -977,8 +979,12 @@ effect. @node Listing global options @subsection Listing global options -Sometimes it is useful for applications to look at the global options -file @file{gpgconf.conf}. +Some legacy applications look at the global configuration file for the +gpgconf tool itself; this is the file @file{gpgconf.conf}. Modern +applications should not use it but use per component global +configuration files which are more flexible than the +@file{gpgconf.conf}. Using both files is not suggested. + The colon separated listing format is record oriented and uses the first field to identify the record type: @@ -1119,8 +1125,10 @@ More fields may be added in future to the output. @item /etc/gnupg/gpgconf.conf @cindex gpgconf.conf If this file exists, it is processed as a global configuration file. - A commented example can be found in the @file{examples} directory of - the distribution. + This is a legacy mechanism which should not be used tigether with + the modern global per component configuration files. A commented + example can be found in the @file{examples} directory of the + distribution. @item @var{GNUPGHOME}/swdb.lst @cindex swdb.lst @@ -1159,6 +1167,9 @@ More fields may be added in future to the output. @end ifset @mansect description +This is a legacy script. Modern application should use the per +component global configuration files under @file{/etc/gnupg/}. + This script is a wrapper around @command{gpgconf} to run it with the command @code{--apply-defaults} for all real users with an existing GnuPG home directory. Admins might want to use this script to update he |