Home GnuPG
Diffusion GnuPG 5d9eb060b764

scd:openpgp: Avoid PIN caching issues after re-select.

Description

scd:openpgp: Avoid PIN caching issues after re-select.

* scd/app-openpgp.c (do_reselect): Clear PIN cache flags.

It seems that the verification status of the OpenPGP app on a Yubikey
is reset on a select. We need to reflect this in our cache to avoid a
"Bad PIN" error on computing a signature.

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

Details

Provenance
wernerAuthored on Sep 5 2019, 1:53 PM
Parents
rG61ed02211a8b: doc: Update description of --debug
Branches
Unknown
Tags
Unknown