Home GnuPG
Diffusion GnuPG 278f85d1bc6c

wkd: Do not send/install/mirror expired user ids.

Description

wkd: Do not send/install/mirror expired user ids.

* tools/gpg-wks.h (struct uidinfo_list_s): Add fields expired and
revoked.
* tools/wks-util.c (append_to_uidinfo_list): Add args expired and
revoked.
(set_expired_revoked): New.
(wks_list_key): Set expired and revoked.
(wks_cmd_install_key): Skip expired uids.
* tools/gpg-wks-client.c (command_check): Print flags.
(command_send): Ignore expired keys.
(mirror_one_key): Ditto.
* g10/export.c (do_export_stream): Silence warning.

Details

Provenance
wernerAuthored on Dec 6 2022, 9:23 AM
Parents
rG58819c024a11: gpgsm: Print the revocation time also with --verify.
Branches
Unknown
Tags
Unknown
Tasks
T6292: gpg-wks-client --mirror and expired keys