Home GnuPG
Diffusion GnuPG 15352b0eac33

gpg,card: Use the new MANUFACTURER attribute.

Description

gpg,card: Use the new MANUFACTURER attribute.

* tools/gpg-card.h (struct card_info_s): Add manufacturer fields.
* tools/card-call-scd.c (release_card_info): Release them.
(learn_status_cb): Parse MANUFACTURER attribute.
* tools/gpg-card.c (get_manufacturer): Remove.
(list_card): Use the new attribute.
* g10/call-agent.h (struct agent_card_info_s): Add manufacturer fields.
* g10/call-agent.c (agent_release_card_info): Release them.
(learn_status_cb): Parse MANUFACTURER attribute.
* g10/card-util.c (get_manufacturer): Remove.
(current_card_status): Use new attribute.

This does away with the duplicated OpenPGP vendor tables; they are now
at a better place (app-openpgp.c).

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

Details

Provenance
wernerAuthored on Apr 3 2020, 10:00 AM
Parents
rG541a6a903e79: scd:openpgp: New attribute "MANUFACTURER".
Branches
Unknown
Tags
Unknown