Home GnuPG
Diffusion GnuPG fd595c9d3642

gpg: Print the keygrip with --card-status

Description

gpg: Print the keygrip with --card-status

* g10/call-agent.h (agent_card_info_s): Add fields grp1, grp2 and
grp3.
* g10/call-agent.c (unhexify_fpr): Allow for space as delimiter.
(learn_status_cb): Parse KEYPARIINFO int the grpX fields.
* g10/card-util.c (print_keygrip): New.
(current_card_status): Print "grp:" records or with --with-keygrip a
human readable keygrip.
  • Suggested-by: Peter Lebbing <peter@digitalbrains.com>
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 1 2018, 7:03 PM
Parents
rGe43844c3b0b9: gpgconf, w32: Allow UNC paths
Branches
Unknown
Tags
Unknown