diff options
author | NIIBE Yutaka <[email protected]> | 2012-01-05 02:43:37 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2012-01-05 02:43:37 +0000 |
commit | 048ba1aedc4dd20e646a3755e4d39dac0755b474 (patch) | |
tree | 1a1ea3dcf1f942099ec1910d4550a3e86e225470 | |
parent | Fix pinpad entry in ccid-driver. (diff) | |
download | gnupg-ccid_driver_improvement.tar.gz gnupg-ccid_driver_improvement.zip |
scd: Support VASCO DIGIPASS 920 in the ccid-driver.ccid_driver_improvement
* scd/ccid-driver.c (VENDOR_VASCO, VASCO_920): New.
(ccid_transceive_secure): Maximum is 15 for VASCO DIGIPASS 920.
-rw-r--r-- | scd/ccid-driver.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c index 2885487e1..8e2af6541 100644 --- a/scd/ccid-driver.c +++ b/scd/ccid-driver.c @@ -210,7 +210,8 @@ enum { VENDOR_OMNIKEY= 0x076b, VENDOR_GEMPC = 0x08e6, VENDOR_KAAN = 0x0d46, - VENDOR_FSIJ = 0x234B + VENDOR_FSIJ = 0x234b, + VENDOR_VASCO = 0x1a44 }; /* Some product ids. */ @@ -220,7 +221,7 @@ enum { #define SCM_SCR3320 0x5117 #define SCM_SPR532 0xe003 #define CHERRY_ST2000 0x003e - +#define VASCO_920 0x0920 /* A list and a table with special transport descriptions. */ enum { @@ -3131,6 +3132,9 @@ ccid_transceive_secure (ccid_driver_t handle, case VENDOR_KAAN: /* Tested with KAAN Advanced (1.02). */ case VENDOR_FSIJ: /* Tested with the gnuk code (2011-01-05). */ break; + case VENDOR_VASCO: /* Tested with DIGIPASS 920 */ + pinlen_max = 15; + break; case VENDOR_CHERRY: /* The CHERRY XX44 keyboard echos an asterisk for each entered character on the keyboard channel. We use a special variant |