mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
scd: Add support for Trustica Cryptoucan.
(cherry picked from commit 967d3649d24aba623133808e8d01675dff389fbb)
This commit is contained in:
parent
a6ce89b6ef
commit
d43248af92
@ -964,7 +964,8 @@ pcsc_vendor_specific_init (int slot)
|
|||||||
else if (strstr (reader_table[slot].rdrname, "cyberJack")
|
else if (strstr (reader_table[slot].rdrname, "cyberJack")
|
||||||
|| strstr (reader_table[slot].rdrname, "DIGIPASS")
|
|| strstr (reader_table[slot].rdrname, "DIGIPASS")
|
||||||
|| strstr (reader_table[slot].rdrname, "Gnuk")
|
|| strstr (reader_table[slot].rdrname, "Gnuk")
|
||||||
|| strstr (reader_table[slot].rdrname, "KAAN"))
|
|| strstr (reader_table[slot].rdrname, "KAAN")
|
||||||
|
|| strstr (reader_table[slot].rdrname, "Trustica"))
|
||||||
reader_table[slot].pinpad_varlen_supported = 1;
|
reader_table[slot].pinpad_varlen_supported = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1038,7 +1039,8 @@ pcsc_vendor_specific_init (int slot)
|
|||||||
else if (vendor == 0x0c4b /* Tested with Reiner cyberJack GO */
|
else if (vendor == 0x0c4b /* Tested with Reiner cyberJack GO */
|
||||||
|| vendor == 0x1a44 /* Tested with Vasco DIGIPASS 920 */
|
|| vendor == 0x1a44 /* Tested with Vasco DIGIPASS 920 */
|
||||||
|| vendor == 0x234b /* Tested with FSIJ Gnuk Token */
|
|| vendor == 0x234b /* Tested with FSIJ Gnuk Token */
|
||||||
|| vendor == 0x0d46 /* Tested with KAAN Advanced??? */)
|
|| vendor == 0x0d46 /* Tested with KAAN Advanced??? */
|
||||||
|
|| (vendor == 0x1fc9 && product == 0x81e6) /* Tested with Trustica Cryptoucan */)
|
||||||
reader_table[slot].pinpad_varlen_supported = 1;
|
reader_table[slot].pinpad_varlen_supported = 1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -3387,6 +3387,12 @@ ccid_transceive_secure (ccid_driver_t handle,
|
|||||||
if (handle->id_product != CHERRY_ST2000)
|
if (handle->id_product != CHERRY_ST2000)
|
||||||
cherry_mode = 1;
|
cherry_mode = 1;
|
||||||
break;
|
break;
|
||||||
|
case VENDOR_NXP:
|
||||||
|
if (handle->id_product == CRYPTOUCAN){
|
||||||
|
pininfo->maxlen = 25;
|
||||||
|
enable_varlen = 1;
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
if ((handle->id_vendor == VENDOR_GEMPC &&
|
if ((handle->id_vendor == VENDOR_GEMPC &&
|
||||||
handle->id_product == GEMPC_PINPAD)
|
handle->id_product == GEMPC_PINPAD)
|
||||||
|
@ -68,7 +68,8 @@ enum {
|
|||||||
VENDOR_REINER = 0x0c4b,
|
VENDOR_REINER = 0x0c4b,
|
||||||
VENDOR_KAAN = 0x0d46,
|
VENDOR_KAAN = 0x0d46,
|
||||||
VENDOR_FSIJ = 0x234b,
|
VENDOR_FSIJ = 0x234b,
|
||||||
VENDOR_VASCO = 0x1a44
|
VENDOR_VASCO = 0x1a44,
|
||||||
|
VENDOR_NXP = 0x1fc9,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -84,6 +85,7 @@ enum {
|
|||||||
#define GEMPC_CT30 0x3437
|
#define GEMPC_CT30 0x3437
|
||||||
#define VEGA_ALPHA 0x0008
|
#define VEGA_ALPHA 0x0008
|
||||||
#define CYBERJACK_GO 0x0504
|
#define CYBERJACK_GO 0x0504
|
||||||
|
#define CRYPTOUCAN 0x81e6
|
||||||
|
|
||||||
#endif /*CCID_DRIVER_INCLUDE_USB_IDS*/
|
#endif /*CCID_DRIVER_INCLUDE_USB_IDS*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user