1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-01 20:18:44 +01:00
gnupg/tools
Werner Koch a90acadd51 * gpgconf-comp.c (my_dgettext): Also switch codeset and directory
for the other used domains (i.e. dirmngr).

* gpgconf.c (main): Fixed translation markers.
2004-10-01 12:53:09 +00:00
..
addgnupghome * gpgsm.texi (Configuration Options): Add --log-file. 2004-09-29 16:16:47 +00:00
ChangeLog * gpgconf-comp.c (my_dgettext): Also switch codeset and directory 2004-10-01 12:53:09 +00:00
der-to-pem Added a very simple tool. 2003-12-01 10:54:59 +00:00
gpgconf-comp.c * gpgconf-comp.c (my_dgettext): Also switch codeset and directory 2004-10-01 12:53:09 +00:00
gpgconf.c * gpgconf-comp.c (my_dgettext): Also switch codeset and directory 2004-10-01 12:53:09 +00:00
gpgconf.h 2004-02-23 Marcus Brinkmann <marcus@g10code.de> 2004-02-23 20:31:35 +00:00
gpgparsemail.c * configure.ac: Require libksba 0.9.3 due to another bug fix there. 2004-01-30 09:12:36 +00:00
gpgsm-gencert.sh 2004-08-09 Moritz Schulte <moritz@g10code.com> 2004-08-09 11:58:26 +00:00
Makefile.am Preparing a new release. Updated gettext 2004-09-30 14:34:34 +00:00
Manifest * Manifest: New. 2004-01-05 09:28:27 +00:00
no-libgcrypt.c * xreadline.c: New. Based on the iobuf_read_line function. 2004-06-14 08:32:07 +00:00
README.gpgconf Remove what is now in the texi docs. 2004-09-29 23:06:58 +00:00
rfc822parse.c * rfc822parse.c (rfc822parse_get_field): Add arg VALUEOFF. 2004-07-20 11:21:53 +00:00
rfc822parse.h * rfc822parse.c (rfc822parse_get_field): Add arg VALUEOFF. 2004-07-20 11:21:53 +00:00
watchgnupg.c * watchgnupg.c (main): Implement option "--". 2004-02-12 10:02:22 +00:00

============
  GPG Conf
============

Main documentation for this tool can be found in doc/tools.texi.

BACKENDS
========

Backends should support the following commands:

Command --gpgconf-list
----------------------

List the location of the configuration file, and all default values of
all options.  The location of the configuration file must be an
absolute pathname.

The format of each line is:

NAME:FLAGS:DEFAULT:ARGDEF

NAME

This field contains a name tag for the group or option.  The name tag
is used to specify the group or option in all communication with
GPGConf.  The name tag is to be used verbatim.  It is not in any
escaped format.

FLAGS

The flags field contains an unsigned number.  Its value is the
OR-wise combination of the following flag values:

	16 default	If this flag is set, a default value is available.
	32 default desc If this flag is set, a (runtime) default is available.
			This and the "default" flag are mutually exclusive.
	64 no arg desc	If this flag is set, and the "optional arg" flag
			is set, then the option has a special meaning if no
			argument is given.

DEFAULT

This field is defined only for options.  Its format is that of an
option argument (see section Format Conventions for details).  If the
default value is empty, then no default is known.  Otherwise, the
value specifies the default value for this option.  Note that this
field is also meaningful if the option itself does not take a real
argument.

ARGDEF

This field is defined only for options for which the "optional arg"
flag is set.  If the "no arg desc" flag is not set, its format is that
of an option argument (see section Format Conventions for details).
If the default value is empty, then no default is known.  Otherwise,
the value specifies the default value for this option.  If the "no arg
desc" flag is set, the field is either empty or contains a description
of the effect of this option if no argument is given.  Note that this
field is also meaningful if the option itself does not take a real
argument.


Example:
$ dirmngr --gpgconf-list
gpgconf-config-file:/mnt/marcus/.gnupg/dirmngr.conf
ldapservers-file:/mnt/marcus/.gnupg/dirmngr_ldapservers.conf
add-servers:0
max-replies:10


TODO
----

* Implement --dry-run and --quiet.

* Extend the backend interface to include gettext domain and
description, if available, to avoid repeating this information in
gpgconf.