Home GnuPG
Diffusion GnuPG 0a151548b623

wkd: Restrict gpg-wks-client --mirror to the given domains.

Description

wkd: Restrict gpg-wks-client --mirror to the given domains.

* tools/gpg-wks-client.c (domain_matches_mbox): New.
(mirror_one_key): Skip non-matching domains.
(command_mirror): Change args to allow for several domains.

Although dirmngr returns only the keys matching a certain domain,
those keys still may have user ids from other domains. Now we publish
only the user-ids as specified on the command line.

Details

Provenance
wernerAuthored on Oct 7 2022, 3:59 PM
Parents
rG4364283f757f: wkd: Silence gpg-wks-client diagnostics from gpg.
Branches
Unknown
Tags
Unknown
Tasks
T6224: Mirror internal LDAP to a WKD