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>