Home GnuPG
Diffusion GnuPG 8fb23094c2f5

gpgconf: Fix --list-options for forced options

Description

gpgconf: Fix --list-options for forced options

* tools/gpgconf-comp.c (retrieve_options_from_program): Ignore to to
ignored options.  Add failsafe code to avoid calling percent_escape
with NULL.

Remember: When using ARGPARSE_FLAG_WITHATTR the ARGPARSE_OPT_IGNORE
flags in the returned type needs to be considered.

Details

Provenance
wernerAuthored on Jan 26 2022, 12:47 PM
Parents
rG0b4fdbd5f41e: gpgconf: Return --ldapserver and --keyserver from dirmngr.
Branches
Unknown
Tags
Unknown
Tasks
T5800: gpgconf: Ignores keyserver option in gpgsm.conf