Home GnuPG
Diffusion GnuPG 1abfce82bd52

card: List more info for an OpenPGP key.

Description

card: List more info for an OpenPGP key.

* tools/gpg-card.h (struct pubkey_s): Add field created.
* tools/card-keys.c (parse_key_record): Set that field.
* tools/gpg-card.c (print_shax_fpr): Print the fingerprint without
spaces for easier c+p.
(list_one_kinfo): Print the actual used fingerprint and creation date
from the keyblock.

A common problem with OpenPGP cards is that the fingerprint as stored
on the card does not match the actual fingerprint. Print both values
to be able to investigate such issues.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 12 2020, 12:50 PM
Parents
rG2c6092bc5d79: card: New option --no-key-lookup.
Branches
Unknown
Tags
Unknown