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

Bug #808295 reported by MestreLion
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GnuPG
Fix Released
Unknown
gnupg (Ubuntu)
Fix Released
Undecided
Unassigned

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

Tags: 1.4.10

Related branches

Changed in gnupg:
status: Unknown → New
Changed in gnupg:
status: New → Fix Released
Changed in gnupg:
status: Fix Released → Incomplete
Changed in gnupg:
status: Incomplete → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnupg - 1.4.12-6ubuntu1

---------------
gnupg (1.4.12-6ubuntu1) raring; urgency=low

  * Resynchronise with Debian. Remaining changes:
    - Disable mlock() test since it fails with ulimit 0 (on buildds).
    - Set gpg (or gpg2) and gpgsm to use a passphrase agent by default.
    - Only suggest gnupg-curl and libldap; recommendations are pulled into
      minimal, and we don't need the keyserver utilities in a minimal Ubuntu
      system.
    - Remove the Win32 build.
    - Update config.guess/config.sub for aarch64.
  * Dropped patches:
    - Fix udeb build failure on powerpc, building with -O2 instead of -Os.
      (No longer seems to be necessary.)
  * Simplify removal of Win32 build, to make this easier to merge in future.

gnupg (1.4.12-6) unstable; urgency=low

  * debian/patches/685627_french_translation_update.patch: Adjusted.
    - po/gnupg.pot: Trigger .gmo rebuild by date update (closes: #685627).

gnupg (1.4.12-5) unstable; urgency=low

  [ Thijs Kinkhorst ]
  * Add lintian override for gnupg-curl non-conflict.

  [ Daniel Leidert ]
  * debian/README.BUGS.Debian: Added note about gpg not returning an error
    message if junk is given after --edit-key/--send-keys (closes: #630388).
  * patches/685627_french_translation_update.patch: Added.
    - po/fr.po: French translation proofread and updated (closes: #685627).

gnupg (1.4.12-4) unstable; urgency=low

  * Move mingw64 to B-D-I, adjust make targets. This helps debian-ports
    architectures: mingw64 is not commonly available there.

gnupg (1.4.12-3) unstable; urgency=low

  * Upload to unstable.
  * Correct path for gpgv-win32 to /usr/share/win32.
  * Updated to policy 3.9.3.
  * Convert to copyright-format 1.0.

gnupg (1.4.12-2) experimental; urgency=low

  * Move mingw-w64 from build-depends-indep to build-depends,
    otherwise buildds won't install it (classic mistake).

gnupg (1.4.12-1) experimental; urgency=low

  * New upstream release.
    - Documents keyid-format and with-colons combination (LP: #808295).
    - No longer requires readline for gpgv (closes: #592902).
    - Fixes man page format error for gpg-zip (closes: #606072).
    - Fixes gpg manual page (closes: #640140).
  * As we're now on 0 patches, and dpatch is supposedly obsoleted,
    take the chance to switch to dpkg-source 3.0 (quilt) format.
  * Several packaging tweaks to keep Lintian happy.
  * Mark packages Multi-Arch: foreign. thanks Colin Watson (closes: #649490).
  * Fix path to README.BUGS.Debian.gz in presubj (closes: #614962).
  * Add Crypto Stick to udev rules (closes: #648332).
  * Build win32 package with mingw-w64, thanks Stephen Kitt (closes: #623526).
  * Enable hardened build flags, thanks Moritz Muehlenhoff (closes: #653480).
 -- Colin Watson <email address hidden> Tue, 04 Dec 2012 22:26:16 +0000

Changed in gnupg (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.