Home GnuPG
Diffusion GnuPG b0b4e24c4fa8

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

Description

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.

Details

Provenance
wernerAuthored on Oct 7 2022, 5:35 PM
Parents
rG0a151548b623: wkd: Restrict gpg-wks-client --mirror to the given domains.
Branches
Unknown
Tags
Unknown
Tasks
T6224: Mirror internal LDAP to a WKD