1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-09 21:28:51 +01:00
gnupg/tools
NIIBE Yutaka 953dd67368
Use gpgrt_process_spawn API from libgpg-error.
* agent/genkey.c (do_check_passphrase_pattern): Use the gpgrt API.
* common/asshelp.c (start_new_service): Ditto.
* common/exechelp.h: Remove gnupg_process_spawn API.
* common/exechelp-posix.c: Remove gnupg_process_spawn implementation.
* common/exechelp-w32.c: Likewise.
* common/exectool.c (gnupg_exec_tool_stream): Use the gpgrt API.
* common/t-exechelp.c (test_pipe_stream): Remove.
* dirmngr/ldap-wrapper.c (destroy_wrapper, ldap_reaper_thread): Use
the gpgrt API.
(ldap_wrapper_connection_cleanup, ldap_wrapper): Ditto.
* dirmngr/ldap.c, g10/call-keyboxd.c: No need to include exechelp.h.
* g10/photoid.c (run_with_pipe, show_photo): Use the gpgrt API.
* g13/be-encfs.c (run_umount_helper, run_encfs_tool): Ditto.
* g13/g13.c, g13/mount.c, g13/runner.c: No need to include exechelp.h.
* scd/apdu.c: No need to include exechelp.h.
* scd/app.c (report_change): Use the gpgrt API.
* sm/export.c, sm/import.c: No need to include exechelp.h.
* tests/gpgscm/ffi.c (proc_object_finalize, proc_wrap)
(do_process_spawn_io, do_process_spawn_fd, do_process_wait): Use the
gpgrt API.
* tools/gpg-auth.c: No need to include exechelp.h.
* tools/gpg-card.c (cmd_gpg): Use the gpgrt API.
* tools/gpg-connect-agent.c: No need to include exechelp.h.
* tools/gpg-mail-tube.c (mail_tube_encrypt, prepare_for_appimage)
(start_gpg_encrypt): Use the gpgrt API.
* tools/gpgconf-comp.c (gpg_agent_runtime_change)
(scdaemon_runtime_change, tpm2daemon_runtime_change)
(dirmngr_runtime_change, keyboxd_runtime_change)
(gc_component_launch, gc_component_check_options)
(retrieve_options_from_program): Ditto.
* tools/gpgconf.c (show_versions_via_dirmngr): Ditto.
* tools/gpgtar-create.c (gpgtar_create): Ditto.
* tools/gpgtar-extract.c (gpgtar_extract): Ditto.
* tools/gpgtar-list.c (gpgtar_list): Ditto.

--

GnuPG-bug-id: 7192
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2024-07-09 10:04:16 +09:00
..
addgnupghome tools: Use POSIX compatible arguments for find 2018-12-11 08:42:33 +01:00
applygnupgdefaults conf: New option --status-fd. 2017-12-18 17:46:05 +01:00
call-dirmngr.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
call-dirmngr.h wkd: New command --mirror for gpg-wks-client. 2022-10-06 18:38:29 +02:00
card-call-scd.c Merge branch 'STABLE-BRANCH-2-4' 2024-01-26 09:41:00 +01:00
card-keys.c card: Improve openpgp key writing in "writecert". 2020-06-03 16:25:59 +02:00
card-misc.c card: Run factory-reset in locked stated also in gpg-card. 2020-11-09 14:46:35 +01:00
card-yubikey.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
ccidmon.c tools: Tweak ccidmon output. 2021-06-25 09:55:52 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +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-auth.c Use gpgrt_process_spawn API from libgpg-error. 2024-07-09 10:04:16 +09:00
gpg-authcode-sign.sh tools: Make gpg-authcode-sign.sh more robust on network errors. 2024-06-11 08:46:31 +02:00
gpg-card-w32info.rc tools,w32: Add resource and manifest files to all binaries. 2021-02-21 12:38:55 +01:00
gpg-card.c Use gpgrt_process_spawn API from libgpg-error. 2024-07-09 10:04:16 +09:00
gpg-card.h card: Fix compiler warning. 2024-05-16 09:34:52 +02:00
gpg-card.w32-manifest.in w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-24 12:14:06 +02:00
gpg-check-pattern-w32info.rc tools,w32: Add resource and manifest files to all binaries. 2021-02-21 12:38:55 +01:00
gpg-check-pattern.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
gpg-check-pattern.w32-manifest.in w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-24 12:14:06 +02:00
gpg-connect-agent-w32info.rc tools,w32: Add resource and manifest files to all binaries. 2021-02-21 12:38:55 +01:00
gpg-connect-agent.c Use gpgrt_process_spawn API from libgpg-error. 2024-07-09 10:04:16 +09:00
gpg-connect-agent.w32-manifest.in w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-24 12:14:06 +02:00
gpg-mail-tube.c Use gpgrt_process_spawn API from libgpg-error. 2024-07-09 10:04:16 +09:00
gpg-pair-tool.c common,gpg,sm,tools: Don't remove translate_sys2libc_fd_int. 2023-06-27 14:44:01 +09:00
gpg-wks-client-w32info.rc tools,w32: Add resource and manifest files to all binaries. 2021-02-21 12:38:55 +01:00
gpg-wks-client.c doc: Typo fix in comment 2024-03-06 11:54:33 +01:00
gpg-wks-client.w32-manifest.in w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-24 12:14:06 +02:00
gpg-wks-server.c wks: Add option --realclean to gpg-wks-client. 2024-03-04 14:28:48 +01:00
gpg-wks.h wks: Add option --realclean to gpg-wks-client. 2024-03-04 14:28:48 +01:00
gpgconf-comp.c Use gpgrt_process_spawn API from libgpg-error. 2024-07-09 10:04:16 +09:00
gpgconf-w32info.rc tools,w32: Add resource and manifest files to all binaries. 2021-02-21 12:38:55 +01:00
gpgconf.c Use gpgrt_process_spawn API from libgpg-error. 2024-07-09 10:04:16 +09:00
gpgconf.h tpm2d: Add tpm2daemon code 2021-03-10 12:33:08 +01:00
gpgconf.w32-manifest.in w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-24 12:14:06 +02:00
gpgparsemail.c gpgparsemail: Die on parse error, printing errno thing. 2019-06-07 13:28:07 +09:00
gpgsplit.c gpg,tools: Remove use of repo only zlib-riscos.h. 2022-03-29 12:07:18 +09:00
gpgtar-create.c Use gpgrt_process_spawn API from libgpg-error. 2024-07-09 10:04:16 +09:00
gpgtar-extract.c Use gpgrt_process_spawn API from libgpg-error. 2024-07-09 10:04:16 +09:00
gpgtar-list.c Use gpgrt_process_spawn API from libgpg-error. 2024-07-09 10:04:16 +09:00
gpgtar-w32info.rc tools,w32: Add resource and manifest files to all binaries. 2021-02-21 12:38:55 +01:00
gpgtar.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
gpgtar.h Merge branch 'STABLE-BRANCH-2-4' into master 2023-07-04 17:37:54 +02:00
gpgtar.w32-manifest.in w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-24 12:14:06 +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 build: Simplify for string.h and getopt.h. 2021-08-05 14:01:14 +09:00
Makefile.am gpg-mail-tube: New utility. 2024-06-28 17:59:55 +02:00
Manifest * Manifest: New. 2004-01-05 09:28:27 +00:00
mime-maker.c tools: New support functions for the mail parser. 2024-06-28 17:59:55 +02:00
mime-maker.h tools: New function mime_maker_add_body_data. 2017-09-12 14:35:06 +02:00
mime-parser.c tools: New support functions for the mail parser. 2024-06-28 17:59:55 +02:00
mime-parser.h Change license of some files to LGPLv2.1. 2017-06-19 12:42:13 +02:00
no-libgcrypt.c Remove the deprecated gcry_set_log_handler. 2024-04-23 16:21:49 +02:00
pgpgroup-to-gpggroup Changed to GPLv3. 2007-07-04 19:49:40 +00:00
README.gpgconf Remove what is now in the texi docs. 2004-09-29 23:06:58 +00:00
rfc822parse.c tools: New support functions for the mail parser. 2024-06-28 17:59:55 +02:00
rfc822parse.h tools: New support functions for the mail parser. 2024-06-28 17:59:55 +02:00
send-mail.c tools: Return a better error message if sendmail is not usable. 2023-02-08 08:23:31 +01: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
watchgnupg.c doc: Fix spelling errors found by lintian. 2024-01-29 09:16:21 +01:00
wks-receive.c tools: New support functions for the mail parser. 2024-06-28 17:59:55 +02:00
wks-util.c wks: Make sure that ERR is always initialized. 2024-05-28 13:54:57 +02: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.