gnupg/tools
Werner Koch 72c5c70871
gpgconf: Change layout of the gpgconf -X output.
* tools/gpgconf.c (list_dirs): Change the config mode output.
(my_copy_file): Adjust output for org-mode style.
(show_configs_one_file): Ditto.
(show_other_registry_entries): Ditto.
(show_registry_entries_from_file): Ditto.
(show_configs): Ditto.
2024-04-04 15:54:32 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-25 11:10:21 +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 tools: Use POSIX compatible arguments for find 2018-12-11 08:44:33 +01:00
applygnupgdefaults conf: New option --status-fd. 2017-12-18 17:46:05 +01:00
call-dirmngr.c wkd: New command --mirror for gpg-wks-client. 2022-10-07 17:42:25 +02:00
call-dirmngr.h wkd: New command --mirror for gpg-wks-client. 2022-10-07 17:42:25 +02:00
ccidmon.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01: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-w32info.rc w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
gpg-check-pattern.c gpg-check-pattern: Consider an empty pattern file as valid 2024-03-13 15:32:10 +01:00
gpg-check-pattern.w32-manifest.in w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-25 11:10:21 +02:00
gpg-connect-agent-w32info.rc w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
gpg-connect-agent.c w32: Do no use Registry item DefaultLogFile for the main tools. 2022-04-20 09:20:35 +02:00
gpg-connect-agent.w32-manifest.in w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-25 11:10:21 +02:00
gpg-wks-client-w32info.rc w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
gpg-wks-client.c wks: Make gpg-wks-client --mirror work w/o args. 2024-03-06 11:44:19 +01:00
gpg-wks-client.w32-manifest.in w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-25 11:10:21 +02:00
gpg-wks-server.c wkd: Bind the address to the nonce. 2022-07-27 11:44:44 +02:00
gpg-wks.h wkd: Do not send/install/mirror expired user ids. 2022-12-06 09:27:12 +01:00
gpg-zip.in tools: Let gpg-zip print a deprecation warning. 2018-11-15 16:13:52 +01:00
gpgconf-comp.c gpgconf: Make --auto-key-import and --include-key-block visible again. 2022-08-17 17:01:44 +02:00
gpgconf-w32info.rc gpgconf,w32: Add manifest so we get the correct windows version. 2020-10-02 14:24:04 +02:00
gpgconf.c gpgconf: Change layout of the gpgconf -X output. 2024-04-04 15:54:32 +02:00
gpgconf.h gpgconf: Make gpgconf --launch dirmngr work again 2022-02-07 18:04:10 +01:00
gpgconf.w32-manifest.in w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-25 11:10:21 +02:00
gpgparsemail.c w32: Revert use of one gnupg_fopen in a test tool 2020-11-10 12:11:33 +01:00
gpgsplit.c Backport of the new option parser from 2.3 2020-12-04 12:12:20 +01:00
gpgtar-create.c gpgtar: New option --no-compress. 2023-07-05 12:05:57 +02:00
gpgtar-extract.c gpgtar: Print a result status with skipped files. 2023-03-15 11:50:34 +01:00
gpgtar-list.c gpgtar: Make --status-fd option for fds > 2 work 2023-01-19 16:13:57 +01:00
gpgtar-w32info.rc w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
gpgtar.c gpgtar: New option --no-compress. 2023-07-05 12:05:57 +02:00
gpgtar.h gpgtar: New option --no-compress. 2023-07-05 12:05:57 +02:00
gpgtar.w32-manifest.in w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-25 11:10:21 +02:00
lspgpot Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
mail-signed-keys Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
make-dns-cert.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mime-maker.c tools: Replace duplicated code in mime-maker. 2018-11-05 09:19:13 +01:00
mime-maker.h tools: New function mime_maker_add_body_data. 2017-09-12 14:35:06 +02:00
mime-parser.c Change license of some files to LGPLv2.1. 2017-06-19 12:42:13 +02:00
mime-parser.h Change license of some files to LGPLv2.1. 2017-06-19 12:42:13 +02:00
no-libgcrypt.c More change for common. 2017-03-07 20:32:09 +09:00
pgpgroup-to-gpggroup Changed to GPLv3. 2007-07-04 19:49:40 +00:00
rfc822parse.c tools: Replace duplicated code in mime-maker. 2018-11-05 09:19:13 +01:00
rfc822parse.h tools: Replace duplicated code in mime-maker. 2018-11-05 09:19:13 +01:00
send-mail.c wks: Take name of sendmail from configure. 2020-03-30 17:38:26 +02:00
send-mail.h Change license of some files to LGPLv2.1. 2017-06-19 12:42:13 +02:00
sockprox.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
symcryptrun.c w32: Support Unicode also for config files etc. 2020-11-10 12:09:11 +01:00
watchgnupg.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
wks-receive.c wkd: Change client/server limit back to 64 KiB 2019-07-05 10:34:43 +02:00
wks-util.c wks: Use export-clean for --mirror and --create. 2023-07-05 12:12:38 +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.