Home GnuPG
Diffusion GnuPG 2bc1ec294422

gpg,tools: Add handling of supported algorithms by a card.

Description

gpg,tools: Add handling of supported algorithms by a card.

* g10/call-agent.h (struct agent_card_info_s): Add supported_keyalgo.
* g10/call-agent.c (learn_status_cb): Parse KEY-ATTR-INFO.
(agent_release_card_info): Release supported_keyalgo.
* tools/gpg-card.h (struct card_info_s): Add supported_keyalgo.
* tools/card-call-scd.c (learn_status_cb): Parse KEY-ATTR-INFO.
(release_card_info): Release supported_keyalgo.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Sep 8 2020, 8:34 AM
Parents
rG0db9c83555b4: scd: Add a workaround for Yubikey.
Branches
Unknown
Tags
Unknown