Page MenuHome GnuPG

gpg --list-secret-keys may not show all UIDs when a UID has been revoked
Closed, ResolvedPublic

Description

Listing secret keys when a UID has been revoked may not display the UIDs that
follow the revoked UID. When a specific key is requested on the command line,
all UIDs are shown, including the revoked UID. But when no UID is specified, the
revoked UID and the UIDs that follow it are not displayed. Also, expiration
dates for subkeys are not displayed. The attached file (identifiers altered)
shows this behavior.

Details

Version
1.4.18

Event Timeline

reloquent set Version to 1.4.18.
reloquent added a subscriber: reloquent.

There are known problems with listing secret keys but there are no plans to fix
that for 1.4 or 2.0. 2.1 however complete fixes all these list-key vs.
--list-secret-keys differences.

You particular problem might be fixable - I have not yet checked because working
on the 2.1 release is currently more important to me.

GnuPG tried to keep the secring.gpg and the pubring.gpg in sync. However, this
is hard to achieve because it requires lots of code duplication and the syncing
two quite but not complete similar files.

Given the low severity of this bug, plus the assurance that v2.1 contains
significant fixes to --list-secret-key, it would be reasonable to close this issue.

werner claimed this task.
werner added a project: Won't Fix.