summaryrefslogtreecommitdiffstats
path: root/doc/tools.texi
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-03-06 21:44:41 +0100
committerWerner Koch <wk@gnupg.org>2007-03-06 21:44:41 +0100
commited84b0f787a48fe2cfdd55b3acf70ca6b4732291 (patch)
tree24607f518b4e1064785728d8efcdfb3971d69f56 /doc/tools.texi
parentPorted multiple-messages protection. (diff)
downloadgnupg2-ed84b0f787a48fe2cfdd55b3acf70ca6b4732291.tar.xz
gnupg2-ed84b0f787a48fe2cfdd55b3acf70ca6b4732291.zip
Support for a global gpgconf configuration file.
Diffstat (limited to 'doc/tools.texi')
-rw-r--r--doc/tools.texi30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/tools.texi b/doc/tools.texi
index 914a1213f..1e386f521 100644
--- a/doc/tools.texi
+++ b/doc/tools.texi
@@ -199,6 +199,7 @@ throughout this section.
* Listing components:: List all gpgconf components.
* Listing options:: List all options of a component.
* Changing options:: Changing options of a component.
+* Files used by gpgconf:: What files are used by gpgconf.
@end menu
@manpause
@@ -219,8 +220,18 @@ List all options of the component @var{component}.
@item --change-options @var{component}
Change the options of the component @var{component}.
+
+@item --apply-defaults
+Update all configuration files with values taken from the global
+configuration file (usually @file{/etc/gnupg/gpgconf.conf}).
+
+@item --check-config [@var{filename}]
+Run a syntax check ion the global configuration file. If @var{filename}
+is given, check that file instead.
+
@end table
+
@mansect options
The following options may be used:
@@ -486,6 +497,11 @@ If this flag is set, a (runtime) default is available. This and the
@item no arg desc (64)
If this flag is set, and the @code{optional arg} flag is set, then the
option has a special meaning if no argument is given.
+
+@item no change (128)
+If this flag is set, gpgconf ignores requests to change the value. GUI
+frontends should grey out this option. Note, that manual changes of the
+configuration files are still possible.
@end table
@item level
@@ -658,6 +674,20 @@ $ echo 'force:16:' | gpgconf --change-options dirmngr
The @code{--runtime} option can influence when the changes take
effect.
+@mansect files
+@node Files used by gpgconf
+@subsection Files used by gpgconf
+
+@table @file
+
+@item /etc/gnupg/gpg-agent.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.
+@end table
+
+
@mansect see also
@command{gpg}(1),
@command{gpgsm}(1),