[PATCH] Add pinpad support for REINER SCT cyberJack go

Alina Friedrichsen x-alina at gmx.net
Mon Mar 11 14:01:51 CET 2013


This patch adds pinpad support for the REINER SCT cyberJack go CCID reader.
Please put it into stable.

Much, much thanks to NIIBE Yutaka for helping debugging!

Signed-off-by: Alina Friedrichsen <x-alina at gmx.net>
---
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c
index 2d1ef8d..f51299e 100644
--- a/scd/ccid-driver.c
+++ b/scd/ccid-driver.c
@@ -212,7 +212,8 @@ enum {
   VENDOR_VEGA   = 0x0982,
   VENDOR_KAAN   = 0x0d46,
   VENDOR_FSIJ   = 0x234b,
-  VENDOR_VASCO  = 0x1a44
+  VENDOR_VASCO  = 0x1a44,
+  VENDOR_REINER = 0x0c4b
 };
 
 /* Some product ids.  */
@@ -225,6 +226,7 @@ enum {
 #define VASCO_920       0x0920
 #define GEMPC_PINPAD    0x3478
 #define VEGA_ALPHA      0x0008
+#define CYBERJACK_GO    0x0504
 
 /* A list and a table with special transport descriptions. */
 enum {
@@ -3390,6 +3392,11 @@ ccid_transceive_secure (ccid_driver_t handle,
       if (handle->id_product != CHERRY_ST2000)
         cherry_mode = 1;
       break;
+    case VENDOR_REINER:
+      if(handle->id_product == CYBERJACK_GO)
+        enable_varlen = 1;
+        pininfo->maxlen = 15;
+      break;
     default:
       if ((handle->id_vendor == VENDOR_GEMPC &&
            handle->id_product == GEMPC_PINPAD)



More information about the Gnupg-devel mailing list