gnupg/kbx
Werner Koch 451cd1b392
gpgconf: Further simplify the gpgconf option processing.
* common/gc-opt-flags.h (GC_OPT_FLAG_RUNTIME): Move to ...
* tools/gpgconf-comp.c: here.
(known_options_scdaemon): Remove "options".
(known_options_dirmngr): Remove "options".
(known_options_gpgsm): Remove "options".
(known_options_gpg): Remove "options" and "keyserver".
(struct gc_option_s): Rename active t gpgconf_list.
(gc_component_list_options): Do not act upon active.
(option_check_validity): Ditto.
(is_known_option): Make it work correctly for unknown options.
(retrieve_options_from_program): Use renamed flag gpgconf_list only to
detect duplicated items from --gpgconf-list.  Do not set runtime.
Only e set the options if set by --gpgconf-list; never clear them.
* agent/gpg-agent.c: Simplify the --gpgconf-list output.
* dirmngr/dirmngr.c: Ditto.
* g10/gpg.c: Ditto.
* kbx/keyboxd.c: Ditto.
* scd/scdaemon.c: Ditto.
* sm/gpgsm.c: Ditto.
* tests/openpgp/gpgconf.scm: Use "compliance" instead of "keyserver"
for the string arg test.
--

There is no need to read the list of options from the components
unless they convey a default value.  It is better to consult only the
list we have in gpgconf-comp.c to decide on whether an option should
be displayed.   Right, this might mess up thing if a newer gpgconf
version is used with an older component, but we already print warnings
in this case and in general we do not want to support this anymore -
the times of gpg 1.4. and 2.0 are long over now.

GnuPG-bug-id: 4788
Signed-off-by: Werner Koch <wk@gnupg.org>
2020-03-14 19:12:41 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am build: New configure option --disable-keyboxd 2020-02-13 16:18:12 +01:00
Manifest The keybox gets now compressed after 3 hours and ephemeral 2004-04-26 08:09:25 +00:00
backend-cache.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
backend-kbx.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
backend-sqlite.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
backend-support.c kbx: Initial support for an SQLite backend 2020-01-02 14:21:12 +01:00
backend.h Spelling cleanup. 2020-02-18 18:07:46 -05:00
frontend.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
frontend.h kbx: Initial support for an SQLite backend 2020-01-02 14:21:12 +01:00
kbxserver.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
kbxutil.c Use gpgrt's new option parser for the tools. 2020-02-21 20:28:47 +01:00
keybox-blob.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
keybox-defs.h kbx: Add support for 32 byte fingerprints. 2019-03-14 11:26:54 +01:00
keybox-dump.c kbx: Redefine the UBID which is now the primary fingerprint. 2019-11-28 11:16:13 +01:00
keybox-errors.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
keybox-file.c kbx: Allow writing using a estream. 2019-08-06 15:01:21 +02:00
keybox-init.c kbx: Fix deadlock in gpgsm on Windows due to a sharing violation. 2019-05-14 19:05:58 +02:00
keybox-openpgp.c kbx: Add first version of STORE command to keyboxd. 2019-10-01 20:09:42 +02:00
keybox-search-desc.h kbx: Redefine the UBID which is now the primary fingerprint. 2019-11-28 11:16:13 +01:00
keybox-search.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
keybox-update.c Merge branch 'switch-to-gpgk' into master 2019-09-27 15:44:23 +02:00
keybox-util.c kbx: Simplify by removing custom memory functions. 2017-12-22 12:55:46 +01:00
keybox.h kbx: Redefine the UBID which is now the primary fingerprint. 2019-11-28 11:16:13 +01:00
keyboxd-w32info.rc kbx: Add framework for a public key daemon. 2018-09-05 17:00:17 +02:00
keyboxd.c gpgconf: Further simplify the gpgconf option processing. 2020-03-14 19:12:41 +01:00
keyboxd.h build: Always use EXTERN_UNLESS_MAIN_MODULE pattern. 2020-02-10 16:50:47 +01:00
mkerrors all: fix more spelling errors 2018-10-25 16:53:05 -04:00