gnupg/tools
Marcus Brinkmann 00853b8a1a 2005-04-15 Marcus Brinkmann <marcus@g10code.de>
* symcryptrun.c (TEMP_FAILURE_RETRY): Define if not defined.
2005-04-15 09:04:43 +00:00
..
ChangeLog 2005-04-15 Marcus Brinkmann <marcus@g10code.de> 2005-04-15 09:04:43 +00:00
Makefile.am 2005-04-15 Marcus Brinkmann <marcus@g10code.de> 2005-04-15 01:33:46 +00:00
Manifest * Manifest: New. 2004-01-05 09:28:27 +00:00
README.gpgconf Remove what is now in the texi docs. 2004-09-29 23:06:58 +00:00
addgnupghome * gpgsm.texi (Configuration Options): Add --log-file. 2004-09-29 16:16:47 +00:00
der-to-pem Added a very simple tool. 2003-12-01 10:54:59 +00:00
gpg-connect-agent.c * gpg-connect-agent.c (start_agent): Use PATHSEP_C instead of ':'. 2005-04-11 16:21:49 +00:00
gpgconf-comp.c Fixed description for dirmngr:honor-http-proxy 2005-03-09 19:22:54 +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 * Makefile.am (bin_SCRIPTS): Add gpgsm-gencert.sh 2004-10-22 12:31:04 +00:00
no-libgcrypt.c * findkey.c (modify_description): Keep invalid % escapes, so that 2005-02-25 16:14:55 +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
symcryptrun.c 2005-04-15 Marcus Brinkmann <marcus@g10code.de> 2005-04-15 09:04:43 +00:00
watchgnupg.c * b64enc.c: Include stdio.h and string.h 2004-11-23 17:09:51 +00:00

README.gpgconf

============
  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.