[Bug 808295] [NEW] When listing keys, --keyid-format option is ignored when --with-colons is used

MestreLion launchpad at rodrigosilva.com
Sun Jul 10 10:14:16 UTC 2011


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 at 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
Foundations Bugs, which is subscribed to gnupg in Ubuntu.
https://bugs.launchpad.net/bugs/808295

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

Status in “gnupg” package in Ubuntu:
  New

Bug description:
  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 at 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

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




More information about the foundations-bugs mailing list