Home GnuPG
Diffusion GnuPG 38e100acb720

gpg: Print Yubikey version correctly.

Description

gpg: Print Yubikey version correctly.

* g10/call-agent.c (learn_status_cb): Parse APPVERSION.
* g10/call-agent.h (struct agent_card_info_s): Add field appversion.
* g10/card-util.c (print_a_version): New.
(current_card_status): Print version from appversion.

This is a regression due to the PIV support. Note that the newer
gpg-card worked correctly.

Details

Provenance
wernerAuthored on Jan 18 2022, 8:03 AM
Parents
rGec4a1cffb865: gpgconf: Add command aliases -L -K -R.
Branches
Unknown
Tags
Unknown
Tasks
T5787: GPG 2.3.4, YubiKey - gpg --card-status reports Version 0.0