Home GnuPG
Diffusion GnuPG d757009a24eb

gpg: print fingerprint regardless of keyid-format
d757009a24ebUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: print fingerprint regardless of keyid-format

* g10/keylist.c (print_fingerprint): use compact format independent of
  keyid-format; (print_key_line): always print the fingerprint

The choice of fingerprint display should be independent of the
keyid-format.

Currently, the representation of the fingerprint changes depending on
whether the user has specified --keyid-format to anything besides
"none". (this is common, for example, if someone happens to have
"keyid-format long" in their gpg.conf for interoperability with older
versions of gpg)

With this changeset, keyid-format governs only the format of the
displayed keyID, while the fingerprint display is governed only by the
fingerprint options:

[default]::

compact fpr of pubkey only

--with-fingerprint::

human-readable form of fpr of pubkey only

--with-fingerprint --with-fingerprint::

human-readable form of pubkey and subkey

--with-subkey-fingerprint:

compact fpr for pubkey and subkeys
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
dkgAuthored on Sep 8 2016, 2:47 PM
wernerCommitted on Sep 9 2016, 8:17 AM
Parents
rG30a9f53a0f2a: gpg: Remove option --yes from gpgv
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGd757009a24eb: gpg: print fingerprint regardless of keyid-format (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Sep 9 2016, 8:17 AM