1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +01:00
gnupg/tools
Werner Koch 99f403b015 * gpgsm.c (main): New options --no-log-file and --debug-none.
* certreqgen.c (get_parameter, get_parameter_value): Add SEQ arg
to allow enumeration.  Changed all callers.
(create_request): Process DNS and URI parameters.

* gpgsm-gencert.sh: Reworked to allow for multiple email addresses
as well as DNsanmes and URi.  Present the parameter file before
creating the certificate.
2005-07-21 18:29:13 +00:00
..
addgnupghome * gpgsm.texi (Configuration Options): Add --log-file. 2004-09-29 16:16:47 +00:00
ChangeLog * gpgsm.c (main): New options --no-log-file and --debug-none. 2005-07-21 18:29:13 +00:00
der-to-pem Added a very simple tool. 2003-12-01 10:54:59 +00:00
gpg-connect-agent.c gcc-4 defaults forced me to edit many many files to get rid of the 2005-06-16 08:12:03 +00:00
gpgconf-comp.c gcc-4 defaults forced me to edit many many files to get rid of the 2005-06-16 08:12:03 +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
gpgkey2ssh.c gcc-4 defaults forced me to edit many many files to get rid of the 2005-06-16 08:12:03 +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 * gpgsm.c (main): New options --no-log-file and --debug-none. 2005-07-21 18:29:13 +00:00
Makefile.am * configure.ac (gl_INIT): Add gnulib stuff. 2005-06-01 15:46:01 +00:00
Manifest * Manifest: New. 2004-01-05 09:28:27 +00:00
no-libgcrypt.c * findkey.c (modify_description): Keep invalid % escapes, so that 2005-02-25 16:14:55 +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
symcryptrun.c 2005-07-04 Marcus Brinkmann <marcus@g10code.de> 2005-07-04 04:58:04 +00:00
watchgnupg.c gcc-4 defaults forced me to edit many many files to get rid of the 2005-06-16 08:12:03 +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.