Home GnuPG
Diffusion Scute 17fb104fe52a

Use additional apps of a Yubikey.

Description

Use additional apps of a Yubikey.

* src/agent.h (struct agent_card_info_s): Add info.is_openpgp.
* src/agent.c (scute_agent_learn): Make use of --all amd --multi flags
in recent scdaemon.
(learn_status_cb): Set info.is_openpgp.
* src/slots.c (slots_update_slot): Use new info.is_openpgp.
(slot_token_application): Ditto.

These changes require the latest GnuPG master to actually work. With
older GnuPG versions the auto-switching between apps won't work.

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

Details

Provenance
wernerAuthored on Sep 5 2019, 5:38 PM
Parents
rS2ad9d5d618e1: Fix for recent change in APPTYPE value of scdaemon
Branches
Unknown
Tags
Unknown