Home GnuPG
Diffusion GnuPG fa9d703de5c7

scd: Support CHV-STATUS and CHECKPIN for PIV.

Description

scd: Support CHV-STATUS and CHECKPIN for PIV.

* scd/app-piv.c (parse_pin_keyref): New.
(get_chv_status): New.
(do_getattr): Add name CHV-STATUS.
(verify_pin): Add arg keyref to support other PINs.
(do_change_pin): New.  Right now limited to --clear.
(do_check_pin): New.
(app_select_piv): Register new commands.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 21 2019, 3:01 PM
Parents
rG29929e655212: scd: Add option --clear to PASSWD.
Branches
Unknown
Tags
Unknown