mirror of
git://git.gnupg.org/gnupg.git
synced 2025-05-14 08:13:25 +02:00
gpg: Make combination of show-only-fpr-mbox and show-unusable-uid work.
* g10/keylist.c (list_keyblock_simple): Take care of show-unusable-uids. -- This allows to upload revoked keys to a WKD. Suggested-by: Uwe Kleine-König
This commit is contained in:
parent
e57a2e65d9
commit
eb2a90d343
@ -1670,7 +1670,8 @@ list_keyblock_simple (ctrl_t ctrl, kbnode_t keyblock)
|
||||
if (uid->attrib_data)
|
||||
continue;
|
||||
|
||||
if (uid->flags.expired || uid->flags.revoked)
|
||||
if ((uid->flags.expired || uid->flags.revoked)
|
||||
&& !(opt.list_options & LIST_SHOW_UNUSABLE_UIDS))
|
||||
continue;
|
||||
|
||||
mbox = mailbox_from_userid (uid->name, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user