Home GnuPG
Diffusion GnuPG cd020284c9cf

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.

(cherry picked from commit b0b4e24c4fa80c10d310a229f5a0c65a57ad9393)

Details

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