Diffusion GnuPG 29f8f52bf816

scd:p15: Cache the PIN.

Authored by werner on Apr 1 2020, 8:31 PM.

Description

scd:p15: Cache the PIN.

* scd/app-p15.c (struct prkdf_object_s): Add flag pin_verified.
(verify_pin): Make use of it.

Theee is still a problem with the APDUs we send: Switching between
signing and decryption does work but not in the other way.

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

Details

Committed
wernerApr 1 2020, 8:31 PM
Parents
rG132d82c15820: scd:p15: Run a keygrip_from_prkdf before verify_pin
Branches
Unknown
Tags
Unknown