Home GnuPG
Diffusion GnuPG 2dd6b4b998dd

scd: Make the PIN cache robust against wrongdoing of gpg-agent.

Description

scd: Make the PIN cache robust against wrongdoing of gpg-agent.

* scd/app-openpgp.c (struct app_local_s): New field pincache.
(cache_pin): Set it.
(pin_from_cache): Consult it.
* scd/app-piv.c (struct app_local_s): New field pincache.
(cache_pin): Set it.
(pin_from_cache): Consult it.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 13 2020, 6:24 PM
Parents
rG60502c3606ee: scd:piv: Implement PIN cache.
Branches
Unknown
Tags
Unknown