1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-26 01:52:45 +02:00
gnupg/scd
NIIBE Yutaka 2dbd347fbe SCD: Support not-so-smart card readers.
* scd/ccid-driver.c (struct ccid_driver_s): Add auto_voltage,
auto_param, and auto_pps.
(parse_ccid_descriptor): Set auto_voltage, auto_param, and auto_pps.
Support non-autoconf readers.
(update_param_by_atr): New.
(ccid_get_atr): Use 5V for PowerOn when auto_voltage is not supported.
Use 0x10 when nonnull_nad for SetParameters.
Call update_param_by_atr for parsing ATR, and use param for
SetParameters.
Send PPS if reader requires it and card is negotiable.
When bNadValue in the return values of SetParameters == 0,
clear handle->nonnull_nad flag.
--
This change is to support more card readers by the internal driver.
Tested with 08e6:3478 Gemplus PinPad Smart Card Reader.
2013-02-05 14:03:01 +09:00
..
apdu.c SCD: Hold lock for pinpad input. 2013-02-04 10:13:00 +09:00
apdu.h Revert SCD changes of 2010-05-03 (scd/ChangeLog 2010-03-17). 2012-12-07 10:31:37 +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: Fix the process of writing key or generating key. 2012-12-13 13:36:23 +09:00
app-p15.c A bunch of minor changes 2009-12-21 16:19:09 +00:00
app.c scd: Prefer application Geldkarte over DINSIG. 2012-06-25 10:04:23 +09: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 SCD: Support not-so-smart card readers. 2013-02-05 14:03:01 +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 Revert SCD changes of 2010-05-03 (scd/ChangeLog 2010-03-17). 2012-12-07 10:31:37 +09:00
iso7816.c scd: Fix merge mistake. 2012-06-25 10:04:23 +09:00
iso7816.h Fix pinpad input support for passphrase modification. (backport) 2012-06-25 10:04:23 +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 Revert SCD changes of 2010-05-03 (scd/ChangeLog 2010-03-17). 2012-12-07 10:31:37 +09: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