aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2013-04-23 23:36:31 +0000
committerWerner Koch <[email protected]>2014-06-27 08:07:28 +0000
commit73ba75ad8b933beddd2c3f4b66937b56faa0a2d8 (patch)
tree879714b76cafcc0ea34aac16084eee27e659e731
parentscd: Support reader Gemalto IDBridge CT30 (diff)
downloadgnupg-73ba75ad8b933beddd2c3f4b66937b56faa0a2d8.tar.gz
gnupg-73ba75ad8b933beddd2c3f4b66937b56faa0a2d8.zip
scd: Add pinpad support for REINER SCT cyberJack go
* scd/ccid-driver.h (VENDOR_REINER, CYBERJACK_GO): New. * scd/ccid-driver.c (ccid_transceive_secure): Handle the case for VENDOR_REINER. Original work was by Alina Friedrichsen (tiny change). -- This is revised version which adapts changes of ccid-driver and was later ported from branch-2.0 to master (2.1)
-rw-r--r--scd/ccid-driver.c1
-rw-r--r--scd/ccid-driver.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c
index 65c203701..7a91e09c4 100644
--- a/scd/ccid-driver.c
+++ b/scd/ccid-driver.c
@@ -3352,6 +3352,7 @@ ccid_transceive_secure (ccid_driver_t handle,
pininfo->maxlen = 25;
enable_varlen = 1;
break;
+ case VENDOR_REINER:/* Tested with cyberJack go */
case VENDOR_VASCO: /* Tested with DIGIPASS 920 */
enable_varlen = 1;
break;
diff --git a/scd/ccid-driver.h b/scd/ccid-driver.h
index 3952cd7e6..e62ad5ca2 100644
--- a/scd/ccid-driver.h
+++ b/scd/ccid-driver.h
@@ -65,6 +65,7 @@ enum {
VENDOR_OMNIKEY= 0x076b,
VENDOR_GEMPC = 0x08e6,
VENDOR_VEGA = 0x0982,
+ VENDOR_REINER = 0x0c4b,
VENDOR_KAAN = 0x0d46,
VENDOR_FSIJ = 0x234b,
VENDOR_VASCO = 0x1a44
@@ -82,6 +83,7 @@ enum {
#define GEMPC_PINPAD 0x3478
#define GEMPC_CT30 0x3437
#define VEGA_ALPHA 0x0008
+#define CYBERJACK_GO 0x0504
#endif /*CCID_DRIVER_INCLUDE_USB_IDS*/