Home GnuPG
Diffusion GnuPG 36a3550bffd2

wks: Add option --realclean to gpg-wks-client.

Description

wks: Add option --realclean to gpg-wks-client.

* tools/gpg-wks-client.c (oRealClean): New.
(opts): Add "realclean".
(parse_arguments): Implement.
(main): Take a copy of the module name to fix bad assignment from a
former patch.
* tools/gpg-wks-server.c (main): Ditto.
* tools/gpg-wks.h (opt): Add field realclean.
* tools/wks-util.c (wks_get_key): Call gpg with export-realclean
depending on the new option.

The default for gpg-wks-client is to install keys with all valid key
signatures. The new option will eventually allow to install the keys
only with key signatures done by trusted-keys. Also the export-option
is in gpg, it requires one more gpg patch to make it actually work.

Details

Provenance
wernerAuthored on Mar 4 2024, 2:28 PM
Parents
rG74e4dd3668b3: gpg: Prepare for a new export option export-realclean.
Branches
Unknown
Tags
Unknown