Home GnuPG
Diffusion GnuPG b27e20a95cb7

scd: Disable pinpad if it's impossible by KDF DO.

Description

scd: Disable pinpad if it's impossible by KDF DO.

* scd/app-openpgp.c (struct app_local_s): Add pinpad.disabled field.
(do_getattr): Set pinpad.disabled field.
(check_pinpad_request): Use the pinpad.disabled field.
(do_setattr): Update pinpad.disabled field.

(cherry picked from commit 95c7498b76231d3297541172d878f6a26702539b)

  • GnuPG-bug-id: T4832
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
gniibeAuthored on Feb 17 2020, 9:44 AM
wernerCommitted on Mar 18 2020, 4:02 PM
Parents
rGfbe318475236: gpg: Print a hint for --batch mode and --delete-secret-key.
Branches
Unknown
Tags
Unknown
Tasks
T4832: card: when KDF is enabled, use of pinpad input should be disabled