mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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
e7a9bd3205
commit
d5a4a2dc89
1 changed files with 2 additions and 1 deletions
|
@ -1825,7 +1825,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…
Add table
Add a link
Reference in a new issue