Home GnuPG
Diffusion GnuPG 20090886706e

scd: Fix Yubikey app switching problem

Description

scd: Fix Yubikey app switching problem

* scd/app.c (select_all_additional_applications_internal): Re-select
first app.  Add arg 'ctrl'.

Usually keygrip based access to the Yubikey does a switching back and
forth and thus keeps the card and scdaemon's internal state in sync.
However, if we do only a listing scdaemon did not reselect the first
application (e.g. OpenPGP) after adding other applications (e.g. PIV)
and thus led to wrong info returned in a listing.

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

Details

Provenance
wernerAuthored on May 26 2020, 4:10 PM
Parents
rG510bda7d3754: gpg: Clean up ECDH code path (5).
Branches
Unknown
Tags
Unknown