Home GnuPG
Diffusion GnuPG ba67fea5b9bb

gpgtar: Read common.conf for the log-file option.

Description

gpgtar: Read common.conf for the log-file option.

* common/util.h (GNUPG_MODULE_NAME_GPGTAR): New.
* common/homedir.c (gnupg_module_name): Add it.
* tools/gpgtar.c: Include comopt.h.
(enum cmd_and_opt_values): Add oDebug.
(opts): Add --debug.
(any_debug): New.
(main): Parse common.conf.

Having a way to see the output of gpgtar is often useful for
debugging. The only effect of the debug option is to show whether
common.conf was read.

Details

Provenance
wernerAuthored on Apr 18 2023, 8:04 AM
Parents
rG2c1297055041: gpg: Allow overridden key import when stub exists.
Branches
Unknown
Tags
Unknown