Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (annotate) |
| Sticky Revision: |
Add support of Gemalto firmware features Gemalto readers support an Escape command to report features supported (or not) by the reader. The reader can also report if specific bugs are fixed or not. One of the fixed bug (in recent readers) is the bNumberMessage management used in the Secure Modify CCID command. Thanks to Jean Lusetti for the patch
Define GEMALTO_FIRMWARE_FEATURES structure Structure returned by Gemalto readers for the CCID Escape command 0x6A
Disable SPE for HP USB CCID Smartcard Keyboard The Secure Pin Entry of the HP USB CCID Smartcard Keyboard idVendor: 0x03F0 idProduct: 0x0036 is bogus and can't be used on Unix. 00000033 Control TxBuffer: 1E 1E 02 00 00 10 04 02 00 00 00 00 00 00 00 05 00 00 00 00 20 00 81 00 00000013 openct/proto-t1.c:571:t1_build() more bit: 0 00000039 -> 000000 69 14 00 00 00 00 24 00 00 00 00 1E 02 00 00 10 04 02 00 00 00 00 00 40 05 00 20 00 81 00 30005454 <- 000000 80 00 00 00 00 00 24 40 F0 00 00000059 commands.c:1339:CCID_Receive PIN timeout Instead of telling the reader has SPE and failing with an obscure error the driver will disable the SPE feature. Thanks to Jörg Grundmann for the bug report.
Remove a const qualifier to avoid a warning on free() ccid_usb.c: In function 'CloseUSB': ccid_usb.c:742:4: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [enabled by default]
SCARD_ATTR_VENDOR_NAME and SCARD_ATTR_VENDOR_IFD_VERSION are not the vendor name and version of the driver but of the IFD: InterFace Device i.e. the smart card reader. We then return the USB iManufacturer string as SCARD_ATTR_VENDOR_NAME and USB bcdDevice as SCARD_ATTR_VENDOR_IFD_VERSION
Remove extra spaces and tabs
OpenUSBByName(): Some early Gemalto Ezio CB+ readers have bDeviceClass, bDeviceSubClass and bDeviceProtocol set to 0xFF (proprietary) instead of 0x00. So on Mac OS X the reader configuration is not done by the OS/kernel and we do it ourself.
the Secure Pin Entry of the HP USB Smart Card Keyboard is bogus so disable it http://martinpaljak.net/2011/03/19/insecure-hp-usb-smart-card-keyboard/
Reenable O2MICRO_OZ776_PATCH since a new patch is now included in revision 5473
Rename ICCD_A in PROTOCOL_ICCD_A, ICCD_B in PROTOCOL_ICCD_B and add PROTOCOL_CCID for plain CCID
The O2MICRO OZ776 patch (for OZ776, OZ776_7772, REINER_SCT and BLUDRIVEII_CCID) is no more supported with libusb-1.0
update copyright date
Add support of SCARD_ATTR_VENDOR_IFD_SERIAL_NO
change read timeout from second to millisecond unit to have a sub-second control
FEATURE_MCT_READER_DIRECT is also supported by the Kobil mIDentity visual
The Covadis Véga-Alpha reader is a GemPC pinpad inside. So we use the same code to: - load the strings for the display - avoid limitation of the reader Thanks to Loïs Lherbier for the patch
circumvent bugs of the Dell 413c:2100 keyboard
add GET_VENDOR macro
#define KOBIL_TRIBANK
do not power up a card with a voltage not supported by the reader
split ccid_open_hack() in ccid_open_hack_pre() and ccid_open_hack_post() before and after the empirical "warm up" sequence The problem is the USB toggle bit. I could not find a simple way to reset it. So when the driver is started again the reader and the host may not be in sync. The few first CCID commands may fail.
add support of a composite device as multi-slots device
SecurePINVerify(): Correct bNumberMessage for Dell keyboard
add support of PIN_PROPERTIES_STRUCTURE structure and FEATURE_IFD_PIN_PROPERTIES Thanks to Martin Paljak for the patch
cast dw2i() to return an unsigned int
update Free Software Foundation mail address
Simulate card absence for the GemCore SIM Pro
add support for Bludrive II CCID
add support of Smart Enterprise Guardian
add bNumEndpoints field in _ccid_descriptor structure
add support for Reiner SCT
add support of the O2Micro oz776 (ProductID 0x7772)
add support of ICCD version A and B
move #define O2MICRO_OZ776_PATCH from ccid_usb.c to ccid.h so we can use it in other .c files
ccid_error(): "char *file" argument -> "const char *file"
remove trailing spaces at end of lines
add #define CL1356D
correct a typo in a comment
SecurePINModify(): circumvent a bug in Cherry XX44 keyboard firmware
add support for SCM SDI 010 contactless reader thanks to Oleg Makarenko for the patch
add a cardProtocol field to store the card protocol in use
add support for the SmartEpad (v 2.0) reader (MYSMARTPAD)
add support of GemCore SIM Pro and GemCore POS Pro (serial and USB).
SecurePINModify(): bug circumvention for the GemPC Pinpad
allow to select the power on voltage using Info.plist instead of recompiling the source code
#define CHERRYST2000
_ccid_descriptor.readTimeout is in seconds even for USB. The comment was wrong
struct _ccid_descriptor: dwMaxDataRate is unsigned avoids a "comparison between signed and unsigned" warning
struct _ccid_descriptor: dwMaxCCIDMessageLength is unsigned avoids a "comparison between signed and unsigned" warning
#define SCR331DINTTCOM 0x04E65120
ccid_error(): function is (const char *) instead of (char *) to avoid a "warning: passing arg 4 of `ccid_error' discards qualifiers from pointer target type" using gcc 3.4
add dwMaxDataRate field (again)
_ccid_descriptor: remove the now useless dwMaxDataRate field
struct _ccid_descriptor: add unsigned int readTimeout field
struct _ccid_descriptor: add unsigned int *arrayOfSupportedDataRates field
change licence from GNU GPL to GNU LGPL
#define CCID_CLASS_AUTO_PPS_PROP 0x00000040
define SPR532 USB identification
#define CCID_CLASS_CHARACTER
define OZ776 USB identification
define CCID_ICC_STATUS_MASK and status states
#define CHERRYXX33 0x046A0005
replace "unsigned char bSeq" by "unsigned char *pbSeq" so that two slots of a same reader can share the same sequence number
remove defaultFeatures management (was used for SCR331-DI hack)
use reader_index instead of lun as reader identification
add defaultFeatures field for multislot readers with different dwFeatures for each slot.
add SCR331DI identification
add bMaxSlotIndex and bCurrentSlotIndex fields to support multislot readers (one USB device with two or more card readers)
lun is (unsigned int) instead of (int) Avoid a warning by splint in #define LunToReaderIndex(Lun) (Lun>>16) Left operand of >> may be negative (int): lun >> 16
ccid_error() now also has a "char *function" argument to log the name of the function in which the error occured
add support for SCardGetAttrib(.., IOCTL_SMARTCARD_VENDOR_VERIFY_PIN, ..) to know if the reader supports SCardControl(.., IOCTL_SMARTCARD_VENDOR_VERIFY_PIN, ..)
add dwDefaultClock and dwMaxDataRate fields
add CCID_CLASS_AUTO_BAUD and CCID_CLASS_AUTO_IFSD
add CCID_CLASS_AUTO_CONF_ATR
add dwMaxIFSD field
contains common CCID feature for USB and serial (was in ccid_usb before)
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |