Home GnuPG
Diffusion GnuPG 91303b7df9c3

scd: Support KDF Data Object of OpenPGPcard V3.3.

Description

scd: Support KDF Data Object of OpenPGPcard V3.3.

* scd/app-openpgp.c (do_getattr, do_setattr): Add KDF support.
(pin2hash_if_kdf): New.
(verify_a_chv): Add PINLEN arg.  Use pin2hash_if_kdf.
(verify_chv2, do_sign): Follow the change of verify_a_chv.
(verify_chv3, do_change_pin): Use pin2hash_if_kdf.
  • GnuPG-bug-id: T3152
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jan 22 2018, 11:46 AM
Parents
rGe1e35db510c9: gpg: Fix the use of future-default with --quick-add-key.
Branches
Unknown
Tags
Unknown
Tasks
T3152: KDF DO support in OpenPGP card