Page MenuHome GnuPG

no-show-unusable-subkeys does not exclude revoked subkeys
Closed, ResolvedPublic

Description

When I use

  gpg --list-options no-show-unusable-subkeys --list-keys haircut@gmail.com

I still see revoked keys in the output.

I'm using GnuPG 1.4.11 on Ubuntu 12.04 LTS.

Event Timeline

neal claimed this task.

This seems to work with 2.1.9. As such, I'm marking this issue as resolved.

$ gpg2 --list-options no-show-unusable-subkeys -k 4F43C989
pub rsa1024/4F43C989 2015-11-17
uid [ unknown] Testing <testing@testing.com>
sub rsa1024/3CAD33EE 2015-11-17
sub rsa1024/FE39BBA1 2015-11-17

$ gpg2 --list-options show-unusable-subkeys -k 4F43C989
pub rsa1024/4F43C989 2015-11-17
uid [ unknown] Testing <testing@testing.com>
sub rsa1024/3CAD33EE 2015-11-17
sub rsa1024/FE39BBA1 2015-11-17
sub elg1024/A10351BD 2015-11-17 [revoked: 2015-11-17]