diff options
author | Werner Koch <[email protected]> | 2024-03-04 13:28:48 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-03-04 13:28:48 +0000 |
commit | 36a3550bffd233b1cf7b94ecd15c986ec18e1494 (patch) | |
tree | 29f5b34d5d8dd15f490cf1ead187a4b1212bd824 /tools/gpg-wks.h | |
parent | gpg: Prepare for a new export option export-realclean. (diff) | |
download | gnupg-36a3550bffd233b1cf7b94ecd15c986ec18e1494.tar.gz gnupg-36a3550bffd233b1cf7b94ecd15c986ec18e1494.zip |
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.
Diffstat (limited to 'tools/gpg-wks.h')
-rw-r--r-- | tools/gpg-wks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpg-wks.h b/tools/gpg-wks.h index 4a33c5bec..0601d48fe 100644 --- a/tools/gpg-wks.h +++ b/tools/gpg-wks.h @@ -40,6 +40,7 @@ struct int with_colons; int no_autostart; int add_revocs; + int realclean; char *output; char *gpg_program; char *directory; |