diff options
author | Werner Koch <wk@gnupg.org> | 2022-12-06 09:23:16 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2022-12-06 09:23:16 +0100 |
commit | 278f85d1bc6cd012b3b2e87536e50954b21d2d91 (patch) | |
tree | 62b264ffe906dae4e0224c91ffb90a24cb56224b /g10 | |
parent | gpgsm: Print the revocation time also with --verify. (diff) | |
download | gnupg2-278f85d1bc6cd012b3b2e87536e50954b21d2d91.tar.xz gnupg2-278f85d1bc6cd012b3b2e87536e50954b21d2d91.zip |
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.
--
GnuPG-bug-id: 6292
Diffstat (limited to 'g10')
-rw-r--r-- | g10/export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/export.c b/g10/export.c index cab00d10c..61b5e9a13 100644 --- a/g10/export.c +++ b/g10/export.c @@ -2455,8 +2455,8 @@ do_export_stream (ctrl_t ctrl, iobuf_t out, strlist_t users, int secret, keydb_release (kdbhd); if (err || !keyblock_out) release_kbnode( keyblock ); - if( !*any ) - log_info(_("WARNING: nothing exported\n")); + if( !*any && !opt.quiet) + log_info (_("WARNING: nothing exported\n")); return err; } |