| 1 |
USB CCID IFD Handler
|
| 2 |
====================
|
| 3 |
|
| 4 |
This package provides the source code for a generic USB CCID
|
| 5 |
(Chip/Smart Card Interface Devices) driver. See [1] for the USB CCID
|
| 6 |
specifications from the USB working group.
|
| 7 |
|
| 8 |
|
| 9 |
Authors:
|
| 10 |
========
|
| 11 |
|
| 12 |
- Ludovic Rousseau <ludovic.rousseau@free.fr>
|
| 13 |
- Carlos Prados for the PPS and ATR parsing code (taken from his
|
| 14 |
towitoto driver) in towitoko/ directory.
|
| 15 |
- Olaf Kirch for the T=1 TPDU code (from the OpenCT package) in openct/
|
| 16 |
directory. I (Ludovic Rousseau) greatly improved this code.
|
| 17 |
|
| 18 |
|
| 19 |
Supported CCID readers:
|
| 20 |
=======================
|
| 21 |
|
| 22 |
(in alphabetical order)
|
| 23 |
- ActivCard USB reader 3.0
|
| 24 |
- Advanced Card Systems ACR 38U-CCID [16]
|
| 25 |
old versions of this reader have a bug: the reader do timeout when a
|
| 26 |
special USB frame is sent from the reader. If the frame size if a
|
| 27 |
multiple of wMaxPacketSize the communication is stopped.
|
| 28 |
- Alcor Micro AU9520 [46]
|
| 29 |
Firmware 1.01 is bogus. The time request sent by the card is not
|
| 30 |
forwarded by the reader to the host.
|
| 31 |
- Athena ASE IIIe USB V2 [29]
|
| 32 |
- Athena ASE IIIe KB USB [42]
|
| 33 |
- C3PO LTC31 (new model, USB product id 0x0006) [8]
|
| 34 |
- Cherry XX33 keyboard [?]
|
| 35 |
- Cherry XX44 keyboard (SmartBoard G83-6744) [18]
|
| 36 |
- Cherry SmartTerminal ST2000U [35]
|
| 37 |
- Cherry ST-1044U [27]
|
| 38 |
- Dell keyboard SK-3106 [?]
|
| 39 |
- Dell smart card reader keyboard [?]
|
| 40 |
- Eutron SIM Pocket Combo [25]
|
| 41 |
- Eutron CryptoIdentity [26]
|
| 42 |
- Gemplus GemPC 433 SL [2]
|
| 43 |
- Gemplus GemPC Card [41]
|
| 44 |
- Gemplus GemPC Key [3]
|
| 45 |
- Gemplus GemPC PinPad
|
| 46 |
- Gemplus GemPC Twin [4]
|
| 47 |
- Gemplus GemCore POS Pro
|
| 48 |
- Gemplus GemCore SIM Pro
|
| 49 |
- Kobil KAAN Base [19]
|
| 50 |
- Kobil KAAN Advanced [20]
|
| 51 |
- Kobil KAAN SIM III [21]
|
| 52 |
- Kobil mIDentity [22]
|
| 53 |
- OmniKey CardMan 3121 [5]
|
| 54 |
- RSA SecureID SID800 [50]
|
| 55 |
- SCM Micro SCR 331 [6]
|
| 56 |
You shall upgrade the firmware [17] using version 5.18 or later.
|
| 57 |
- SCM Micro SCR 331-DI [11]
|
| 58 |
You shall upgrade the firmware [17] using version 6.22 or later.
|
| 59 |
- SCM Micro SCR 335 [7]
|
| 60 |
The firmware of this reader can't be upgraded so be sure to buy a
|
| 61 |
recent model with firmware 5.14 or later
|
| 62 |
- SCM Micro SCR 355
|
| 63 |
- SCM Micro SCR 3310 [30]
|
| 64 |
- SCM Micro SCR 3311 [31]
|
| 65 |
- SCM Micro SPR 532 [9]
|
| 66 |
You shall contact Torsten Maykranz <tmaykranz@scmmicro.de> to get a
|
| 67 |
firmware upgrade.
|
| 68 |
- SmartEpad (v 2.0) [32]
|
| 69 |
The firmware gives a very strange description of the reader (like a
|
| 70 |
dwDefaultClock: 1024.000 MHz). So do not expect a perfect behavior.
|
| 71 |
- Verisign Secure Storage Token [24]
|
| 72 |
- Verisign Secure Token [?]
|
| 73 |
|
| 74 |
|
| 75 |
Should work but untested by me:
|
| 76 |
===============================
|
| 77 |
|
| 78 |
I would like to get these readers to perform test and validation and
|
| 79 |
move them in the supported list above. If you are one of the
|
| 80 |
manufacturers, please, contact me.
|
| 81 |
|
| 82 |
- Axalto Reflex USB v3 [38]
|
| 83 |
- C3PO LTC32 [13]
|
| 84 |
- Gemplus GemPC Express
|
| 85 |
- HP USB Smart Card Keyboard [44]
|
| 86 |
- id3 Semiconductors CL1356D [45] (tested by me but I don't have the
|
| 87 |
reader anymore)
|
| 88 |
- id3 Semiconductors CL1356T [48] (it should be the same firmware as the
|
| 89 |
CL1356D)
|
| 90 |
- OmniKey CardMan 3021 [49]
|
| 91 |
- OmniKey CardMan 3621 [43]
|
| 92 |
- OmniKey CardMan 3821 [37]
|
| 93 |
- OmniKey CardMan 5121 [33]
|
| 94 |
- OmniKey CardMan 5125 [51]
|
| 95 |
- OmniKey CardMan 6121 [36]
|
| 96 |
- SCM Micro SCR 331-DI NTTCom [23]
|
| 97 |
- SCM Micro SCR 3310-NTTCOM [28]
|
| 98 |
- SCM Micro SCR 3320 [32]
|
| 99 |
- SCM Micro SCR 333 [15]
|
| 100 |
- SCM Micro SDI 010 [39]
|
| 101 |
- SCM SCR 3340 ExpressCard54 [34]
|
| 102 |
- Silitek SK-3105 keyboard [12] or C3PO TLTC2USB [14]
|
| 103 |
- Winbond Electronics (for OEM only) [40]
|
| 104 |
|
| 105 |
|
| 106 |
Unsupported or partly supported CCID readers:
|
| 107 |
=============================================
|
| 108 |
|
| 109 |
- ActivCard USB reader 2.0 [10]
|
| 110 |
The reader do timeout when a special USB frame is sent from the
|
| 111 |
reader. If the frame size if a multiple of wMaxPacketSize the
|
| 112 |
communication is stopped.
|
| 113 |
- C3PO LTC31 (old model, USB product id 0x0003) [8]
|
| 114 |
The reader works fine with Linux kernel 2.4 but does not with Linux
|
| 115 |
kernel 2.6. The ioctl() syscall returns EINVAL (Invalid argument)
|
| 116 |
- iDream (THRC2002-2) [47]
|
| 117 |
PPS fails with a Cryptoflex card
|
| 118 |
powerup fails with a Setcos card
|
| 119 |
does work with the belgium eID (the reader is sold for this
|
| 120 |
application)
|
| 121 |
- O2Micro Oz7762
|
| 122 |
This reader is common as an internal reader in laptops like the Dell
|
| 123 |
D420. You will then have different problems :
|
| 124 |
* lots of "pcscd: commands.c:693:CmdGetSlotStatus Card absent or
|
| 125 |
mute" messages in you logs
|
| 126 |
* you can't use a command with 52 bytes of result, the reader will
|
| 127 |
time out and the command will fail
|
| 128 |
O2 Micro said the second problem would be corrected in a new
|
| 129 |
firmware version so you may be lucky to have a mostly working
|
| 130 |
reader. Until I get one working reader and can verify it does behave
|
| 131 |
correctly I will list it in the unsupported reader list.
|
| 132 |
|
| 133 |
|
| 134 |
Supported operating systems:
|
| 135 |
============================
|
| 136 |
|
| 137 |
- GNU/Linux (libusb 0.1.7)
|
| 138 |
- MacOS X/Darwin (libusb 0.1.8beta, CVS snapshot. See "Known problems")
|
| 139 |
to libusb)
|
| 140 |
|
| 141 |
|
| 142 |
Debug informations:
|
| 143 |
===================
|
| 144 |
|
| 145 |
The driver uses the debug function provided by pcscd. So if pcscd sends
|
| 146 |
its debug to stderr (pcscd --foreground) then the CCID will also send
|
| 147 |
its debug to stderr. If pcscd sends its debug to syslog (by default)
|
| 148 |
then the CCID will also send its debug to syslog.
|
| 149 |
|
| 150 |
You can change the debug level using the Info.plist configuration file.
|
| 151 |
The Info.plist is installed, by default, in
|
| 152 |
/usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
|
| 153 |
|
| 154 |
The debug level is set in the ifdLogLevel field. It is a binary OR
|
| 155 |
combinaison of 4 different levels.
|
| 156 |
- 1: critical: important error messages
|
| 157 |
- 2: info: informative messages like what reader was detected
|
| 158 |
- 4: comm: a dump of all the bytes exchanged between the host and the
|
| 159 |
reader
|
| 160 |
- 8: periodic: periodic info when pcscd test if a card is present (every
|
| 161 |
1/10 of a second)
|
| 162 |
|
| 163 |
By default the debug level is set to 3 (1 + 2) and correspond to the
|
| 164 |
critical and info levels.
|
| 165 |
|
| 166 |
You have to restart the driver so it read the configuration file again
|
| 167 |
and use the new debug level value. To restart the driver you just need
|
| 168 |
to unplug all your CCID readers so the the driver is unloaded and then
|
| 169 |
replug your readers. You can also restart pcscd.
|
| 170 |
|
| 171 |
|
| 172 |
Known problems:
|
| 173 |
===============
|
| 174 |
|
| 175 |
MacOSX libusb
|
| 176 |
"""""""""""""
|
| 177 |
There is a bug in libusb that crash the libusb library when you
|
| 178 |
unplug a reader and replug it in another USB socket. So if you
|
| 179 |
unplug a reader replug it in the same USB socket.
|
| 180 |
|
| 181 |
see http://sourceforge.net/tracker/index.php?func=detail&aid=886778&group_id=1674&atid=101674
|
| 182 |
|
| 183 |
|
| 184 |
Licence:
|
| 185 |
========
|
| 186 |
|
| 187 |
This library is free software; you can redistribute it and/or modify it
|
| 188 |
under the terms of the GNU Lesser General Public License as published by
|
| 189 |
the Free Software Foundation; either version 2.1 of the License, or (at
|
| 190 |
your option) any later version.
|
| 191 |
|
| 192 |
This library is distributed in the hope that it will be useful, but
|
| 193 |
WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 194 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
|
| 195 |
General Public License for more details.
|
| 196 |
|
| 197 |
You should have received a copy of the GNU Lesser General Public License
|
| 198 |
along with this library; if not, write to the Free Software Foundation,
|
| 199 |
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
| 200 |
|
| 201 |
|
| 202 |
History:
|
| 203 |
========
|
| 204 |
|
| 205 |
1.1.0 - 11 August 2006, Ludovic Rousseau
|
| 206 |
- support Extended APDU (up to 64KB) for readers in TPDU mode (many
|
| 207 |
readers) or Extended APDU mode (very rare). This only works for
|
| 208 |
T=1 cards.
|
| 209 |
- add support for C3PO LTC31 (new version), OmniKey CardMan 3021, HP
|
| 210 |
USB Smart Card Keyboard, Actividentity (ActiveCard) Activkey Sim,
|
| 211 |
id3 Semiconductors CL1356D and CL1356T, Alcor Micro AU9520
|
| 212 |
- support the contactless interface of the SCR331-DI-NTTCOM
|
| 213 |
- add support of FreeBSD
|
| 214 |
- increase the USB timeout used for PIN verify/modify to not timeout
|
| 215 |
before the reader
|
| 216 |
- the 4-bytes value returned by CM_IOCTL_GET_FEATURE_REQUEST shall
|
| 217 |
be encoded in big endian as documented in PCSC v2 part 10 ch 2.2
|
| 218 |
page 2. The applications using this feature shall be updated (to
|
| 219 |
respect the PCSC specification).
|
| 220 |
- use ./configure --enable-twinserial to compile and install the the
|
| 221 |
driver for the GemPC Twin serial
|
| 222 |
- some minor bugs removed
|
| 223 |
|
| 224 |
|
| 225 |
1.0.1 - 22 April 2006, Ludovic Rousseau
|
| 226 |
- add support for Axalto Reflex USB v3, SCM Micro SDI 010, Winbond
|
| 227 |
Electronics W81E381 chipset, Gemplus GemPC Card, Athena ASE IIIe
|
| 228 |
KB USB, OmniKey CardMan 3621
|
| 229 |
- support Solaris (Solaris uses a different libusb)
|
| 230 |
- better documentation for ./configure arguments
|
| 231 |
- improve support of Cherry XX44 keyboard for PIN verify and change
|
| 232 |
(circumvent firmware bugs)
|
| 233 |
- do not use LTPBundleFindValueWithKey() from pcscd since this
|
| 234 |
function has been removed from pcscd API
|
| 235 |
- use -fvisibility=hidden is available to limit the number of
|
| 236 |
exported symbols
|
| 237 |
|
| 238 |
|
| 239 |
1.0.0 - 3 March 2006, Ludovic Rousseau
|
| 240 |
- add support for ActivCard USB Reader 3.0, Athena ASE IIIe USB V2,
|
| 241 |
SCM Micro SCR 355, SCR 3311, SCR 3320, SCR 3340 ExpressCard54,
|
| 242 |
Gemplus GemCore SIM Pro, GemCore POS Pro (serial and USB), GemPC
|
| 243 |
Express (ExpressCard/54 interface), SmartEpad (v 2.0), OmniKey
|
| 244 |
CardMan 5121
|
| 245 |
- greatly improve support of PIN PAD readers. We now support TPDU
|
| 246 |
readers with T=1 cards
|
| 247 |
- use l10n strings for the Gemplus GemPC PIN PAD (it has a screen).
|
| 248 |
Supported languages are: de, en, es, fr, it
|
| 249 |
- rename ACS ACR 38 in ACR 38U-CCID since the ACR 38 is a different
|
| 250 |
reader and is not CCID compatible
|
| 251 |
- allow to select the Power On voltage using Info.plist instead of
|
| 252 |
recompiling the source code
|
| 253 |
- correct bugs in the support of multi-slots readers
|
| 254 |
- if the card is faster than the reader (TA1=97 for example) we try
|
| 255 |
to use a not-so-bad speed (corresponding to TA1=96, 95 or 94)
|
| 256 |
instead of the default speed of TA1=11
|
| 257 |
- the src/parse tool do not use the driver anymore. No need to
|
| 258 |
update the Info.plist file first.
|
| 259 |
- some minor bugs removed
|
| 260 |
|
| 261 |
|
| 262 |
0.9.4 - 27 November 2005, Ludovic Rousseau
|
| 263 |
- add support for Eutron SIM Pocket Combo, Eutron CryptoIdentity,
|
| 264 |
Verisign Secure Token and VeriSign Secure Storage Token, GemPC
|
| 265 |
Card (PCMCIA), SCM SCR331-DI NTTCom, SCM Micro SCR 3310-NTTCom,
|
| 266 |
Cherry ST-1044U, Cherry SmartTerminal ST-2XXX
|
| 267 |
- add support of PC/SC v2 part 10 CM_IOCTL_GET_FEATURE_REQUEST add
|
| 268 |
support of FEATURE_VERIFY_PIN_DIRECT and FEATURE_MODIFY_PIN_DIRECT
|
| 269 |
remove support of IOCTL_SMARTCARD_VENDOR_VERIFY_PIN (now
|
| 270 |
obsoleted). A sample code is available in examples/scardcontrol.c
|
| 271 |
- we need pcsc-lite 1.2.9-beta9 since some structures used for PIN
|
| 272 |
pad readers are defined by pcsc-lite
|
| 273 |
- some (bogus) cards require an extra EGT but the ATR does not say
|
| 274 |
so. We try to detect the bogus cards and set TC1=2
|
| 275 |
- IFDHSetProtocolParameters(): only use a data rate supported by the
|
| 276 |
reader in the PPS negociation, otherwise we stay at the default
|
| 277 |
speed.
|
| 278 |
- calculate and store the read timeout according to the card ATR
|
| 279 |
instead of using a fixed value of 60 seconds
|
| 280 |
- increase the read timeout if the card sends and WTX request
|
| 281 |
- improve support of GemPC Twin and GemPC Card (serial protocol)
|
| 282 |
- reset the device on close only if DRIVER_OPTION_RESET_ON_CLOSE is
|
| 283 |
set. The problem was that a device reset also disconnects the
|
| 284 |
keyboard on a keyboard + reader device.
|
| 285 |
- use color logs
|
| 286 |
- some minor bugs removed
|
| 287 |
|
| 288 |
|
| 289 |
0.9.3 - 14 March 2005, Ludovic Rousseau
|
| 290 |
- change the licence from GNU GPL to GNU Lesser GPL (LGPL)
|
| 291 |
- add support for ACS ACR 38, Kobil KAAN Base, Kobil KAAN Advanced,
|
| 292 |
Kobil KAAN SIM III, Kobil KAAN mIDentity, SCM Micro SCR 331,
|
| 293 |
SCM Micro SCR 331-DI, SCM Micro SCR 335, SCM Micro SCR 3310,
|
| 294 |
SCM Micro SCR 532, Cherry XX44 readers
|
| 295 |
- improve communication speed with readers featuring "Automatic PPS
|
| 296 |
made by the CCID"
|
| 297 |
- switch the Cherry xx33 reader in ISO mode if power up in EMV mode
|
| 298 |
fails.
|
| 299 |
- add support of character level readers. Thanks to O2Micro for the
|
| 300 |
patch
|
| 301 |
- add support for the O2Micro OZ776S reader but the reader firmware
|
| 302 |
is still bogus
|
| 303 |
- check firmware version to avoid firmwares with bugs. You can still
|
| 304 |
use a bogus firmware by setting DRIVER_OPTION_USE_BOGUS_FIRMWARE
|
| 305 |
in Info.plist
|
| 306 |
- some minor bugs removed
|
| 307 |
|
| 308 |
0.9.2 - 15 August 2004, Ludovic Rousseau
|
| 309 |
- T=1 TPDU code:
|
| 310 |
. the work on T=1 TPDU code was possible thanks to Gemplus
|
| 311 |
validation team who helped me test, debug and bring the code to
|
| 312 |
an EMV validation level. Thanks to Jérôme, Jean-Yves, Xavier and
|
| 313 |
the Gemplus readers department
|
| 314 |
. error code was not checked correctly
|
| 315 |
. avoid a (nearly) infinite loop when resynch are needed.
|
| 316 |
. correctly initialise an internal value to allow more than one
|
| 317 |
reader to work
|
| 318 |
- multi-slots readers
|
| 319 |
. add support for multi-slots readers. The only one I have is a
|
| 320 |
SCM Micro SCR 331-DI with a contact and a contactless interface.
|
| 321 |
The contactless interface may or may not work for you since the
|
| 322 |
reader uses proprietary (undocumented) commands.
|
| 323 |
- GemPC Twin serial reader
|
| 324 |
. perform a command (get the reader firmware) to be sure a GemPC
|
| 325 |
Twin (serial or pcmcia) reader is connected
|
| 326 |
. use a dynamic timeout when reading the serial port.
|
| 327 |
The first timeout used when detecting the reader is 2 seconds to
|
| 328 |
not wait too long if no reader is connected. Later timeouts are
|
| 329 |
set to 1 minute to allow long time APDU.
|
| 330 |
- use `pkg-config libpcsclite --cflags` to locate the pcsc-lite
|
| 331 |
header files
|
| 332 |
- use `pkg-config --print-errors --atleast-version=1.2.9-beta5 libpcsclite`
|
| 333 |
to test the pcsc-lite version
|
| 334 |
- code improvements thanks to the splint tool (http://www.splint.org/)
|
| 335 |
|
| 336 |
0.9.1 - 1 July 2004, Ludovic Rousseau
|
| 337 |
- I forgot to define IFD_PARITY_ERROR in a .h file
|
| 338 |
|
| 339 |
0.9.0 - 1 July 2004, Ludovic Rousseau
|
| 340 |
- The T=1 TPDU automata from Carlos Prados' Towitoko driver is very
|
| 341 |
limited and do not support error management mechanisms.
|
| 342 |
I then used the T=1 TPDU automata from OpenCT (OpenSC project).
|
| 343 |
This automata is much more powerful but still lacks a lot of error
|
| 344 |
management code.
|
| 345 |
I then added all the needed code to reach the quality level
|
| 346 |
requested by the EMV standard.
|
| 347 |
- add support for new readers:
|
| 348 |
. Advanced Card Systems ACR 38
|
| 349 |
. Cherry XX33
|
| 350 |
. Dell keyboard SK-3106
|
| 351 |
. Dell smart card reader keyboard
|
| 352 |
. SCR 333
|
| 353 |
- add support of multi procotol cards (T=0 and T=1)
|
| 354 |
- the debug level is now dynamic and set in the Info.plist file (no
|
| 355 |
need to recompile the driver any more)
|
| 356 |
- add support for the libusb naming scheme: usb:%04x/%04x:libusb:%s
|
| 357 |
- INSTALL: add a "configuring the driver for the serial reader
|
| 358 |
(GemPC Twin)" part
|
| 359 |
- use `pkg-config libpcsclite --variable=usbdropdir` so you do not
|
| 360 |
have to use --enable-usbdropdir=DIR or --enable-ccidtwindir=DIR
|
| 361 |
even if pcscd does not use the default /usr/local/pcsc/drivers
|
| 362 |
- add support of IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE and
|
| 363 |
IOCTL_SMARTCARD_VENDOR_VERIFY_PIN in IFDHControl()
|
| 364 |
- read ifdDriverOptions from Info.plist to limit the use of
|
| 365 |
IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE (idea from Peter Williams)
|
| 366 |
- provide an example of use of SCardControl()
|
| 367 |
IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE and
|
| 368 |
IOCTL_SMARTCARD_VENDOR_VERIFY_PIN in example/
|
| 369 |
- add a --enable-pcsclite option (default to yes) so that the driver
|
| 370 |
can be compiled for a different framework (one needing
|
| 371 |
tokenparser.l like Solaris)
|
| 372 |
- Reset action is power off and power on, not just power on
|
| 373 |
- use the include files from pcsc-lite
|
| 374 |
- add a mechanism to allow power on at 1.8V, 3V and then 5V as
|
| 375 |
specified by ISO 7816. We still use 5V for now to avoid problems
|
| 376 |
with non ISO compliant cards
|
| 377 |
|
| 378 |
0.4.1 - 14 February 2004, Ludovic Rousseau
|
| 379 |
- distribute missing files readers/supported_readers.txt and
|
| 380 |
src/create_Info_plist.pl
|
| 381 |
'make install' failed because of this.
|
| 382 |
|
| 383 |
0.4.0 - 13 February 2004, Ludovic Rousseau
|
| 384 |
- support of T=1 with TPDU readers. A lot of the T=1 code comes from
|
| 385 |
Carlos Prados towitoko driver.
|
| 386 |
My code is GNU GPL, his code is GNU LGPL so the global driver is
|
| 387 |
GNU GPL
|
| 388 |
- PPS negotiation if the reader does not do it automatically
|
| 389 |
- add support for the Silitek SK-3105 keyboard. It's a USB device
|
| 390 |
with multiple interfaces
|
| 391 |
- use the create_Info_plist.pl script to generate the installed
|
| 392 |
Info.plist from an Info.plist template and a list of supported
|
| 393 |
readers. The Info.plist was too "complex" to maintain by hand
|
| 394 |
since it now contains 11 entries
|
| 395 |
- add support of IFDHCreateChannelByName to avoid wrong reader
|
| 396 |
enumeration. This is not complete if you have multiple _identical_
|
| 397 |
readers. You need to use a > 1.2.0 pcsc-lite version (not yet
|
| 398 |
released at that time)
|
| 399 |
- build but do not install the serial ccidtwin driver by default
|
| 400 |
since it is useless on computers without a serial port or without
|
| 401 |
this reader for example.
|
| 402 |
- read and write timeouts are not symmetric. write timout can be
|
| 403 |
shorter since the reader and card is not supposed to do anything
|
| 404 |
before receiving (write) a command
|
| 405 |
- do not try to find usb.h and other libusb files if
|
| 406 |
--disable-libusb is used. Needed if you only want to build the
|
| 407 |
serial driver. Thanks to Niki Waibel for the patch
|
| 408 |
- add a --enable-ccidtwindir argument to ./configure to specify the
|
| 409 |
serial GemPC Twin installation directory
|
| 410 |
- debug and code improvements and simplifications
|
| 411 |
|
| 412 |
0.3.2 - 4 November 2003, Ludovic Rousseau
|
| 413 |
- src/commands.c: correct a stupid bug that occurs with an APDU with
|
| 414 |
2 bytes response.
|
| 415 |
- Info.plist: add SPR 532 in list of supported readers
|
| 416 |
- parse.c: do not exit if the InterfaceClass is 0xFF (proprietary).
|
| 417 |
It is the case with old readers manufactured before the final
|
| 418 |
release of the CCID specs.
|
| 419 |
- move LTC31 reader from unsupported to supported reader list. It
|
| 420 |
was my f ault since in used odd INS byte in my test applet and odd
|
| 421 |
INS bytes are forbidden by ISO 7816-4 ch. 5.4.2 Instruction byte.
|
| 422 |
Thanks to Josep Moné s Teixidor for pointing the problem.
|
| 423 |
- src/commands.c: comment out the automatic GET RESPONSE part. I
|
| 424 |
don't think it should be in the driver. Maybe in pcscd instead?
|
| 425 |
|
| 426 |
0.3.1 - 23 September 2003, Ludovic Rouseau
|
| 427 |
- add --enable-multi-thread (enabled by default) for thread safe
|
| 428 |
support an APDU multiplexing. You will need pcsc-lite-1.2.0-rc3 or
|
| 429 |
above to use this feature.
|
| 430 |
- add --enable-libusb=PATH option is your libusb is not installed in
|
| 431 |
/usr or /usr/local
|
| 432 |
- honor DESTDIR in install rules (closes [ #300110 ]). Thanks to
|
| 433 |
Ville Skyttä for the patch.
|
| 434 |
- src/ccid.c: do not switch the GemPC Key and GemPC Twin in APDU
|
| 435 |
mode since it also swicth in EMV mode and may not work with non
|
| 436 |
EMV cards
|
| 437 |
- src/ccid_serial.c: complete reimplementation of the Twin serial
|
| 438 |
protocol using a finite state automata (code much simpler)
|
| 439 |
|
| 440 |
0.3.0 - 10 September 2003, Ludovic Rousseau
|
| 441 |
- support of GemPC Twin connected to a serial port. Thanks to Niki
|
| 442 |
W. Waibel for a working prototype.
|
| 443 |
- support of auto voltage at power up if the reader support it
|
| 444 |
instead of forcing a 5V in all cases.
|
| 445 |
- support of APDU mode instead of just TPDU if the reader support
|
| 446 |
it. Thanks to Jean-Luc Giraud for the idea and inspiration I got
|
| 447 |
from his "concurrent" driver.
|
| 448 |
- support of "time request" from the card.
|
| 449 |
- parse: new indentation for more readability of supported features.
|
| 450 |
- switch the GemPC Key and GemPC Twin in APDU mode since they
|
| 451 |
support it but do not announce it in the dwFeatures.
|
| 452 |
- new build process using autoconf/automake.
|
| 453 |
|
| 454 |
0.2.0 - 26 August 2003, Ludovic Rousseau
|
| 455 |
- Works under MacOS X
|
| 456 |
- Info.plist: use an <array></array> for the alias enumeration
|
| 457 |
- Makefile rework for *BSD and MacOS X
|
| 458 |
|
| 459 |
0.1.0 - 13 August 2003, Ludovic Rousseau
|
| 460 |
- First public release
|
| 461 |
|
| 462 |
|
| 463 |
References:
|
| 464 |
===========
|
| 465 |
|
| 466 |
[1] http://www.usb.org/developers/devclass_docs/ccid_classspec_1_00a.pdf
|
| 467 |
[2] http://www.gemplus.com/products/gempc433/
|
| 468 |
[3] http://www.gemplus.com/products/gempckey/
|
| 469 |
[4] http://www.gemplus.com/products/gempctwin/
|
| 470 |
[5] http://www.omnikey.com/?id=products&tx_okprod_pi1[product]=21
|
| 471 |
[6] http://www.scmmicro.com/security/SCR331.html
|
| 472 |
[7] http://www.scmmicro.com/security/SCR335.html
|
| 473 |
[8] http://www.c3po.es/ltc31.html
|
| 474 |
[9] http://www.scmmicro.com/security/SPR532.html
|
| 475 |
[10] http://www.activcard.com/products/usb_reader.html
|
| 476 |
[11] http://www.scmmicro.com/security/SCR331-DI.html
|
| 477 |
[12] http://www.silitek.com/prod/getProduct.do?xml_id=4_2&menu_id=4_2_8&cid=1_8_5
|
| 478 |
[13] http://www.c3po.es/ltc32.html
|
| 479 |
[14] http://www.c3po.es/tltc2usb.html
|
| 480 |
[15] http://www.scmmicro.com/security/SCR333.html
|
| 481 |
[16] http://www.acs.com.hk/Product_Readers.asp?productID=107&PCate=Products_PC_Linked_SmartCard_Readers
|
| 482 |
[17] http://www.scmmicro.com/support/pcs_product_drivers.html
|
| 483 |
[18] http://www.cherrycorp.com/english/advanced-line/advanced-line_smartboard_g83-6744.htm
|
| 484 |
[19] http://www.kobil.com/e/products/smartcard/kaan-base.php
|
| 485 |
[20] http://www.kobil.com/e/products/smartcard/kaan-advanced.php
|
| 486 |
[21] http://www.kobil.com/d/products/smartcard/kaansim3.php
|
| 487 |
[22] http://www.kobil.com/e/products/index.php?s=midentity
|
| 488 |
[23] http://www.ntt.com/jpki/SCR331DI.html
|
| 489 |
[24] http://www.verisign.co.uk/products-services/security-services/unified-authentication/usb-tokens/
|
| 490 |
[25] http://www.eutron.com/simpocket.asp
|
| 491 |
[26] http://www.cryptoidentity.eutron.com/eng/home.asp
|
| 492 |
[27] http://www.cherry.de/english/advanced-line/advanced_smartterminal_st-1044u.htm
|
| 493 |
[28] http://www.ntt.com/jpki/scr3310.html
|
| 494 |
[29] http://www.asedrive.com/product.asp?pid=1
|
| 495 |
[30] http://www.scmmicro.com/security/SCR3310.html
|
| 496 |
[31] http://scmmicro.com/security/SCR3311.html
|
| 497 |
[31] http://scmmicro.com/security/SCR3320.html
|
| 498 |
[32] http://www.smartepad.com.br/
|
| 499 |
[33] http://www.omnikey.com/?id=products&tx_okprod_pi1[product]=37
|
| 500 |
[34] http://www.scmmicro.com/security/SCR3340.html
|
| 501 |
[35] http://www.cherry.de/deutsch/advanced-line/advanced_smart_terminal_st-2000u.htm
|
| 502 |
[36] http://www.omnikey.com/index.php?id=products&tx_okprod_pi1[product]=29
|
| 503 |
[37] http://www.omnikey.com/index.php?id=products&tx_okprod_pi1[product]=33
|
| 504 |
[38] http://www.reflexreaders.com/Products/reflex_usbnew.html
|
| 505 |
[39] http://www.scmmicro.com/security/SDI_010.html
|
| 506 |
[40] http://www.winbond.com.tw/E-WINBONDHTM/partner/b_2_e_4.htm
|
| 507 |
[41] http://www.gemplus.com/products/gempc_card/
|
| 508 |
[42] http://www.asedrive.com/product.asp?pid=2
|
| 509 |
[43] http://www.omnikey.com/?id=products&tx_okprod_pi1[product]=31
|
| 510 |
[44] http://h18000.www1.hp.com/products/quickspecs/12346_na/12346_na.HTML
|
| 511 |
[45] http://www.id3semiconductors.com/produits/cl1356D.htm
|
| 512 |
[46] http://www.alcormicro.com/products_detail.php?main_id=8&p_id=21
|
| 513 |
[47] http://www.tai-hao.com/english/products_detail.php?main_id=4&second_id=13&p_id=53&now_rows=1
|
| 514 |
[48] http://www.id3semiconductors.com/produits/cl1356T.htm
|
| 515 |
[49] http://www.omnikey.com/index.php?id=products&tx_okprod_pi1[product]=48
|
| 516 |
[50] http://www.rsasecurity.com/products/securid/datasheets/SID800_DS_0205.pdf
|
| 517 |
[51] http://www.omnikey.com/?id=products&tx_okprod_pi1[product]=39
|
| 518 |
|
| 519 |
$Id$
|
| 520 |
|
| 521 |
vim:ts=20
|