gnupg/tools
Werner Koch 9da780e5c4
tools: Minor fix to the usbmon debugging tool.
--
* tools/ccidmon.c (GNUPG_NAME): Define if not defined.
(digitp, hexdigitp): Change to our common semantics.

--
Note that this tool only exists in the repo.

GnuPG-bug-id: 2678
Signed-off-by: Werner Koch <wk@gnupg.org>
2016-09-13 08:26:56 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am wks: Install gpg-wks-client under libexec 2016-08-22 17:05:00 +02: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 Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
applygnupgdefaults Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
call-dirmngr.c wks: Add framework for policy flags. 2016-09-02 16:56:04 +02:00
call-dirmngr.h wks: Add framework for policy flags. 2016-09-02 16:56:04 +02:00
ccidmon.c tools: Minor fix to the usbmon debugging tool. 2016-09-13 08:26:56 +02:00
clean-sat.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
convert-from-106 Changed to GPLv3. 2007-07-04 19:49:40 +00:00
crlf.c Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
der-to-pem Added a very simple tool. 2003-12-01 10:54:59 +00:00
gpg-check-pattern.c Call log_set_prefix() with human-readable labels. 2016-08-12 12:16:19 +02:00
gpg-connect-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-connect-agent.c Call log_set_prefix() with human-readable labels. 2016-08-12 12:16:19 +02:00
gpg-wks-client.c common: Add an assuan logging monitor. 2016-09-05 11:58:48 +02:00
gpg-wks-server.c wks: Add framework for policy flags. 2016-09-02 16:56:04 +02:00
gpg-wks.h wks: Add framework for policy flags. 2016-09-02 16:56:04 +02:00
gpg-zip.in tests: Silence output of some tests. 2016-05-03 11:26:06 +02:00
gpgconf-comp.c More cleanup of "allow to". 2016-08-03 16:55:33 +02:00
gpgconf.c gpgconf: Print the plain socket directory with --list-dirs. 2016-08-29 11:53:06 +02:00
gpgconf.h gpgconf: Add limited support for -0. 2016-08-04 13:02:37 +02:00
gpgparsemail.c gpgparsemail: Allow weirdly-mixed pkcs7 signatures. 2016-02-18 12:15:46 +01:00
gpgsplit.c Fix spelling and grammar. 2016-08-03 16:54:01 +02:00
gpgtar-create.c common: Add a status callback to gnupg_exec_tool_stream. 2016-05-28 00:07:09 +02:00
gpgtar-extract.c tools/gpgtar: Fix handling of '-'. 2016-06-28 15:03:07 +02:00
gpgtar-list.c tools/gpgtar: Fix handling of '-'. 2016-06-28 15:03:07 +02:00
gpgtar.c Call log_set_prefix() with human-readable labels. 2016-08-12 12:16:19 +02:00
gpgtar.h More cleanup of "allow to". 2016-08-03 16:55:33 +02:00
lspgpot Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
mail-signed-keys Fix a signing problem with the card 2010-10-18 12:59:19 +00:00
make-dns-cert.c Utilize new automake vars for proper installation into doc/. 2008-03-27 13:18:19 +00:00
mime-maker.c tools: Extend mime-maker.c:mime_maker_add_header. 2016-07-02 18:55:22 +02:00
mime-maker.h tools: Add modules for MIME parsing and creating. 2016-06-29 12:04:11 +02:00
mime-parser.c tools: Add modules for MIME parsing and creating. 2016-06-29 12:04:11 +02:00
mime-parser.h tools: Add modules for MIME parsing and creating. 2016-06-29 12:04:11 +02:00
mk-tdata.c tools/mk-tdata: Fix data generation on Windows. 2016-02-23 11:58:20 +01:00
no-libgcrypt.c Fix left over use of jnlib on some platforms 2012-08-24 09:29:56 +02:00
pgpgroup-to-gpggroup Changed to GPLv3. 2007-07-04 19:49:40 +00:00
rfc822parse.c tools: Improve debug output of rfc822parse. 2016-05-27 15:51:25 +02:00
rfc822parse.h tools: Add modules for MIME parsing and creating. 2016-06-29 12:04:11 +02:00
send-mail.c tools: Call sendmail directly from the wks tools. 2016-07-03 00:41:30 +02:00
send-mail.h tools: Call sendmail directly from the wks tools. 2016-07-03 00:41:30 +02:00
sockprox.c Two minor code cleanups and one NULL deref on error fix. 2014-04-16 10:18:17 +02:00
symcryptrun.c Call log_set_prefix() with human-readable labels. 2016-08-12 12:16:19 +02:00
watchgnupg.c common: Remove two JNLIB_ macros (jnlib merge). 2015-04-24 16:10:15 +02:00
wks-receive.c tools: Add gpg-wks-client and gpg-wks-server. 2016-06-29 12:04:11 +02:00
wks-util.c wks: Add framework for policy flags. 2016-09-02 16:56:04 +02: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.