Home GnuPG
Diffusion GnuPG 40a914a2e305

SCD: Support fixed length PIN input for keypad.
40a914a2e305Unpublished

Unpublished Commit · Learn More

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

Description

SCD: Support fixed length PIN input for keypad.

* scd/iso7816.h (struct pininfo_s): Remove MODE and add FIXEDLEN.
* scd/app-dinsig.c (verify_pin): Initialize FIXEDLEN to unknown.
* scd/app-nks.c (verify_pin): Likewise.
* scd/app-openpgp.c (verify_a_chv, verify_chv3, do_change_pin):
Likewise.
* scd/apdu.c (check_pcsc_keypad): Add comment.
(pcsc_keypad_verify, pcsc_keypad_modify): PC/SC driver only support
readers with the feature of variable length input (yet).
(apdu_check_keypad): Set FIXEDLEN.
* scd/ccid-driver.c (ccid_transceive_secure): Add GEMPC_PINPAD
specific settings.
Support fixed length PIN input for keypad.

Details

Provenance
gniibeAuthored on Jan 9 2013, 8:23 AM
Parents
rGb526f6e22360: SCD: API cleanup for keypad handling.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG40a914a2e305: SCD: Support fixed length PIN input for keypad. (authored by NIIBE Yutaka <gniibe@fsij.org>).Feb 5 2013, 5:37 AM