Home GnuPG
Diffusion GnuPG 133b6ff8cd0c

scd:p15: Cache the PIN.

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

Provenance
wernerAuthored on Apr 1 2020, 8:31 PM
Parents
rG2f08a4f25df7: gpg: ECDH: Accept longer padding.
Branches
Unknown
Tags
Unknown