#1103241 gpg --list-options show-only-fpr-mbox,show-unusable-uids --list-public-keys doesn't show revoked uids

Package:
gpg
Source:
gpg
Description:
GNU Privacy Guard -- minimalist public key operations
Submitter:
Uwe Kleine-König
Date:
2025-04-16 05:12:01 UTC
Severity:
normal
#1103241#5
Date:
2025-04-15 10:49:07 UTC
From:
To:
Hello,

	test@taurus:~$ gpg --locate-external-key mkorpershoek@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@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@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@baylibre.com>
	sub   rsa2048 2025-03-20 [S] [expires: 2027-03-20]
	sub   rsa2048 2025-03-20 [E] [expires: 2027-03-20]

	test@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