gnupg/tools
Werner Koch 01f3f25158 * preset-passphrase.c (preset_passphrase): Handle --passphrase.
* Makefile.am (gpg_preset_passphrase_LDADD): Reorder libs so that
pwquery may use stuff from jnlib.  Conditionally add -lwsock2
(gpg_protect_tool_LDADD): Ditto.

* preset-passphrase.c (main): Use default_homedir().
(main) [W32]: Initialize sockets.

* simple-pwquery.c (agent_open) [W32]: Implement for W32.
(readline) [W32]: Use recv instead of read.
(writen) [W32]: Use send instead of write.
(my_stpcpy): Define a stpcpy replacement so that this file
continues to be self-contained.
(agent_send_all_options) [W32]: Don't call ttyname.

* gnupg-badge-openpgp.eps, gnupg-badge-openpgp.jpg: New
* gnupg.texi: Add a logo.
* sysnotes.texi: New.

* gpgsm.c (main): Use default_homedir().
(main) [W32]: Default to disabled CRL checks.

* gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute
pathnames with a drive letter.
2004-12-21 19:05:15 +00:00
..
ChangeLog * preset-passphrase.c (preset_passphrase): Handle --passphrase. 2004-12-21 19:05:15 +00:00
Makefile.am A whole bunch of changes to allow building for W32. 2004-12-15 14:15:54 +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
gpgconf-comp.c * preset-passphrase.c (preset_passphrase): Handle --passphrase. 2004-12-21 19:05:15 +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 * xreadline.c: New. Based on the iobuf_read_line function. 2004-06-14 08:32:07 +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 * 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.