list-options vs unusable keys (not subkeys or uids)

Robin H. Johnson robbat2 at
Sat Apr 18 20:39:39 CEST 2020

TL;DR: Could --list-options easily gain flags to hide the revoked/expired keys

The manpage has --list-options, with the following
> show-unusable-uids
>   Show revoked and expired user IDs in key listings. Defaults to no.
> show-unusable-subkeys
>   Show revoked and expired subkeys in key listings. Defaults to no.

This lets you easily exclude UIDs and subkeys.

It does not let you exclude entire keys that are not usable.

I'd like to be able to easily see just the usable keys in my keyring, while not
removing any of the unusable keys (e.g. I might want to go and read mail from a
decade ago that I have in my archives, and it still has the original signature
because the files are effectively read-only).

Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robbat2 at
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1113 bytes
Desc: not available
URL: <>

More information about the Gnupg-devel mailing list