[pkg-gnupg-maint] Bug#1103241: gpg --list-options show-only-fpr-mbox, show-unusable-uids --list-public-keys doesn't show revoked uids
Uwe Kleine-König
ukleinek at debian.org
Tue Apr 15 11:49:07 BST 2025
Package: gpg
Version: 2.4.7-14
Severity: normal
X-Debbugs-Cc: ukleinek at debian.org
Hello,
test at taurus:~$ gpg --locate-external-key mkorpershoek at baylibre.com
gpg: directory '/home/test/.gnupg' created
gpg: keybox '/home/test/.gnupg/pubring.kbx' created
gpg: /home/test/.gnupg/trustdb.gpg: trustdb created
gpg: key 570338B018144F28: public key "Mattijs Korpershoek <mkorpershoek at baylibre.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
pub rsa4096 2022-09-23 [SCEA]
8234A35B45C0D26B31C1A2DA570338B018144F28
sub rsa2048 2025-03-20 [S] [expires: 2027-03-20]
sub rsa2048 2025-03-20 [E] [expires: 2027-03-20]
test at taurus:~$ gpg --list-options show-unusable-uids --list-keys
/home/test/.gnupg/pubring.kbx
-----------------------------
pub rsa4096 2022-09-23 [SCEA]
8234A35B45C0D26B31C1A2DA570338B018144F28
uid [ revoked] Mattijs Korpershoek <mkorpershoek at baylibre.com>
sub rsa2048 2025-03-20 [S] [expires: 2027-03-20]
sub rsa2048 2025-03-20 [E] [expires: 2027-03-20]
test at taurus:~$ gpg --list-options show-only-fpr-mbox,show-unusable-uids --list-keys
The last command has no output, though I would expect it to also print
Mattijs' key.
Do I understand something wrong here, or is this a bug?
gpg 2.2.40-1.1 (i.e. bookworm's version) behaves in the same way.
Best regards
Uwe
-- System Information:
Debian Release: trixie/sid
APT prefers testing-debug
APT policy: (750, 'testing-debug'), (750, 'testing'), (700, 'stable-updates'), (700, 'stable-security'), (700, 'stable-debug'), (700, 'stable'), (600, 'unstable'), (500, 'unstable-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf
Kernel: Linux 6.12.21-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gpg depends on:
ii gpgconf 2.4.7-14
ii init-system-helpers 1.68
ii libassuan9 3.0.2-2
ii libbz2-1.0 1.0.8-6
ii libc6 2.41-6
ii libgcrypt20 1.11.0-7
ii libgpg-error0 1.51-4
ii libksba8 1.6.7-2+b1
ii libnpth0t64 1.8-2
ii libreadline8t64 8.2-6
ii libsqlite3-0 3.46.1-2
ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1
Versions of packages gpg recommends:
ii gnupg 2.4.7-14
gpg suggests no packages.
-- no debconf information
More information about the pkg-gnupg-maint
mailing list