1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

wkd: Implement --blacklist option for gpg-wks-client

* tools/gpg-wks-client.c (blacklist_array, blacklist_array_len): New.
(parse_arguments): Install blacklist.
(read_file): New.
(cmp_blacklist, add_blacklist, is_in_blacklist): New.
(mirror_one_key): Check list.
* tools/gpg-wks.h (opt): Remove field blacklist.
--

GnuPG-bug-id: 6224
This commit is contained in:
Werner Koch 2022-10-07 17:35:44 +02:00
parent 0a151548b6
commit b0b4e24c4f
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
3 changed files with 193 additions and 4 deletions

View file

@ -44,7 +44,6 @@ struct
const char *directory;
const char *default_from;
strlist_t extra_headers;
const char *blacklist;
} opt;
/* Debug values and macros. */