Home GnuPG
Diffusion GnuPG eefa2d19ee3f

gpgconf: Some more fixes for the backported stuff.

Description

gpgconf: Some more fixes for the backported stuff.

* agent/gpg-agent.c (main) <gpgconf_list>: Keep only those option which
have a default.  Remove runtime flag.
* common/gc-opt-flags.h (GC_OPT_FLAG_RUNTIME): Move to ...
* tools/gpgconf-comp.c: here because it is now inetrnal to gpgconf.
(known_options_gpg_agent): Add a few missing runtime flags.  Remove
"options".  Add "check-sym-passphrase-pattern".
(known_options_scdaemon, known_options_gpgsm): Remove "options".
(dirmngr): Ditto.
* tools/gpgconf-comp.c (is_known_option): Return only options having a
value for name.  Thus we list list options from the known_options
tables.

Details

Provenance
wernerAuthored on Jan 26 2022, 4:43 PM
Parents
rG85300587cc8a: gpgconf: Fix --list-options for forced options
Branches
Unknown
Tags
Unknown