Home GnuPG
Diffusion GnuPG 526d144b1bb6

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

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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 Nov 7 2017, 3:20 AM
Parents
rG380bce13d94f: agent: Use clock or clock_gettime for calibration.
Branches
Unknown
Tags
Unknown
References
gniibe/scd-kdf-support