1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +01:00
gnupg/scd
NIIBE Yutaka c2525d507d scd: PC/SC pinpad support. (Backported from master.)
* iso7816.h (iso7816_verify_kp): Remove arguments of CHV and CHVLEN.

* iso7816.c (iso7816_verify_kp): Call apdu_keypad_verify. Only
handle thecase with PININFO.
(iso7816_verify): Call apdu_send_simple.

* app-openpgp.c (verify_a_chv, verify_chv3): Follow the change of
iso7816_verify_kp.

* app-nks.c (verify_pin): Likewise.

* app-dinsig.c (verify_pin): Likewise.

* apdu.c: Include "iso7816.h".
(struct reader_table_s): New memeber function keypad_verify.
Add fields verify_ioctl and modify_ioctl in pcsc.
(CM_IOCTL_GET_FEATURE_REQUEST, FEATURE_VERIFY_PIN_DIRECT)
(FEATURE_MODIFY_PIN_DIRECT): New.
(pcsc_control): New.
(control_pcsc_direct, control_pcsc_wrapped, control_pcsc)
(check_pcsc_keypad, pcsc_keypad_verify): New.
(ccid_keypad_verify, apdu_keypad_verify): New.
(new_reader_slot): Initialize with check_pcsc_keypad,
pcsc_keypad_verify, verify_ioctl and modify_ioctl.
(open_ct_reader): Initialize keypad_verify with NULL.
(open_ccid_reader): Initialize keypad_verify.
(open_rapdu_reader): Initialize keypad_verify with NULL.
(apdu_open_reader): Initialize pcsc_control.

* pcsc-wrapper.c (load_pcsc_driver): Initialize pcsc_control.
(handle_control): New.
(main): Handle the case 6 of handle_control.
2012-06-25 10:04:22 +09:00
..
apdu.c scd: PC/SC pinpad support. (Backported from master.) 2012-06-25 10:04:22 +09:00
apdu.h scd: PC/SC pinpad support. (Backported from master.) 2012-06-25 10:04:22 +09:00
app-common.h More support for Netkey cards. 2009-05-08 15:07:45 +00:00
app-dinsig.c scd: PC/SC pinpad support. (Backported from master.) 2012-06-25 10:04:22 +09:00
app-geldkarte.c Fix for extended length Le in decipher 2009-09-03 10:57:23 +00:00
app-help.c More support for Netkey cards. 2009-05-08 15:07:45 +00:00
app-nks.c scd: PC/SC pinpad support. (Backported from master.) 2012-06-25 10:04:22 +09:00
app-openpgp.c scd: PC/SC pinpad support. (Backported from master.) 2012-06-25 10:04:22 +09:00
app-p15.c A bunch of minor changes 2009-12-21 16:19:09 +00:00
app.c Add code to better handle unplugging of a reader. 2009-07-16 15:54:59 +00:00
atr.c Change default gpgsm cipher back to 3DES. 2009-02-09 10:25:41 +00:00
atr.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
card-common.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
card-dinsig.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
card-p15.c Use bin2hex if possible. 2008-11-03 10:54:18 +00:00
card.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
ccid-driver.c Support the Cherry ST-2000 card reader. 2012-06-25 10:04:22 +09:00
ccid-driver.h Add new prototypes 2009-07-13 09:59:50 +00:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-02 19:28:02 +01:00
command.c scd fixes on error. 2012-06-25 10:04:22 +09:00
iso7816.c scd: PC/SC pinpad support. (Backported from master.) 2012-06-25 10:04:22 +09:00
iso7816.h scd: PC/SC pinpad support. (Backported from master.) 2012-06-25 10:04:22 +09:00
Makefile.am Generate the ChangeLog from commit logs. 2011-12-02 19:28:02 +01:00
pcsc-wrapper.c scd: PC/SC pinpad support. (Backported from master.) 2012-06-25 10:04:22 +09:00
sc-copykeys.c Collected changes 2010-05-03 11:10:49 +00:00
scdaemon.c Add provisions to build with Libgcrypt 1.6. 2012-05-24 10:55:11 +02:00
scdaemon.h Signing using Netkey 3 cards does now work. 2009-03-26 19:27:04 +00:00