Diffusion GnuPG 2dd6b4b998dd

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

Authored by werner on Jan 13 2020, 6:24 PM.

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

Committed
wernerJan 13 2020, 6:24 PM
Parents
rG60502c3606ee: scd:piv: Implement PIN cache.
Branches
Unknown
Tags
Unknown