Public bug reported:

The following commands output identical results:

gpg --list-keys  --with-colons
gpg --list-keys  --with-colons --keyid-format 0xshort

KeyID field is always shown with 16 digits (long format). --keyid-format is
being ignored.

However, without --with-colons, the keyID format is respected and the output is
correctly different:

gpg --list-keys
gpg --list-keys --keyid-format 0xshort

So --keyid-format is being ignored only when  --with-colons is used.

If this is by design, it should be in the documentation.


rodrigo@desktop ~ $ apt-cache policy gnupg
gnupg:
  Installed: 1.4.10-2ubuntu2
  Candidate: 1.4.10-2ubuntu2
  Version table:
 *** 1.4.10-2ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status

** Affects: gnupg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: 1.4.10

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/808295

Title:
  When listing keys, --keyid-format option is ignored when --with-colons
  is used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg/+bug/808295/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to