Debian Codegraph @

ChangeLog

raw
1 2.5.1: Ludovic Rousseau
2 10 June 2026
3 - Fix a bug (introduced in 2.5.0) with multi-slots readers
4 - Add support of Haiku Operating System
5
6 2.5.0: Ludovic Rousseau
7 27 May 2026
8 - Do not limit to 16 readers only
9 - Remove support of autotools
10 - Fix a crash when rescanning serial configs
11 - Fix a memory leak in Polkit
12 - tokenparser: avoid a crash with corrupted Info.plist files
13 - Some other minor improvements
14
15 2.4.1: Ludovic Rousseau
16 1 January 2026
17 - Add backward version support on the client side
18 - Add backward version support on the server side
19 - hotplug libudev: rescan the USB bus with "pcscd --hotplug"
20 - fix a value in pcscd.service systemd file
21 - meson: install systemd files even if libsystemd is not used
22 - Some other minor improvements
23
24 2.4.0: Ludovic Rousseau
25 19 October 2025
26 - Run pcscd under a pcscd user instead of root when using systemd
27 - Set PIDFile in systemd service file
28 - Protect contextMapList modifications using a mutex
29 - meson:
30 . Fix libpcsclite.pc file
31 . respect builtin meson default_library option
32 . build and install spy lib & tool only when needed
33 - UnitaryTests/*.py: fix pylint warnings
34 - Improve Doxygen documentation
35
36 2.3.3: Ludovic Rousseau
37 2 April 2025
38 - Make polkit rules work again (bug introduced in 2.3.2)
39
40 2.3.2: Ludovic Rousseau
41 26 March 2025
42 - Hardening systemd pcscd.service file
43 - pcscd.service: add missing Requires=polkit.service
44 - pcsc-spy: add missing PCSCv2_PART10_PROPERTY_* definitions
45 - Support udev PCSCLITE_IGNORE property to filter readers
46 - debuglog: force use of colors when --color is used
47 - Some other minor improvements
48
49 2.3.1: Ludovic Rousseau
50 24 December 2024
51 - Install a default /etc/default/pcscd file
52 - auth.c: implement polkit support for FreeBSD
53 - meson:
54 . also build static version of libpcsclite
55 . add options to disable polkit and libsystemd
56 . add "filter_names" in features when needed
57 - Doxygen: document dwCurrentState use for "\\?PnP?\Notification"
58 - Some other minor improvements
59
60 2.3.0: Ludovic Rousseau
61 3 August 2024
62 - SCardGetStatusChange(): add the number of reader events
63 - Add Appstream metainfo announcing HW support
64 - meson: specify minimum meson version to use
65 - fix formats under musl libc
66 - Send libpcsclite.so logs to stderr instead of stdout
67 - Some other minor improvements
68
69 2.2.3: Ludovic Rousseau
70 26 May 2024
71 - meson:
72 . Fix build on Slackware 15
73 . fail if both libusb and libudev are used
74 - Fix memory leak on exit
75 - libpcscspy: dump an output buffer only if the call succeeded
76 - Some code cleanup
77
78 2.2.2: Ludovic Rousseau
79 20 May 2024
80 - Serial support is ENABLED by default
81
82 2.2.1: Ludovic Rousseau
83 8 May 2024
84 - fix meson related issues
85 - Some code cleanup
86
87 2.2.0: Ludovic Rousseau
88 3 May 2024
89 - provide files for meson build tool (replaces autoconf/auoomake)
90 - fix a missing symbol in libpcscspy (bug introduced by the previous version)
91 - fix shutdown issues with hotplug_libusb
92 - update pcsc-spy manpage
93 - update copyright date
94 - Some other minor improvements
95
96 2.1.0: Ludovic Rousseau
97 12 April 2024
98 - LIBPCSCLITE_DELEGATE is used to redirect to another libpcsclite library
99 - setup_spy.sh displays the LIBPCSCLITE_DELEGATE value to use for spying
100 - provides libfake.c as a sample source code
101 - Some other minor improvements
102
103 2.0.3: Ludovic Rousseau
104 3 March 2024
105 - add SCARD_E_UNKNOWN_RES_MNG back
106
107 2.0.2: Ludovic Rousseau
108 3 March 2024
109 - SCardConnect() & SCardReconnect(): restrict the protocol used
110 - negotiate PTS also for the backup protocol
111 - pcscd.8:
112 . document --disable-polkit
113 . add "CONFIGURATION FILE" section
114 - Some other minor improvements
115
116 2.0.1: Ludovic Rousseau
117 24 November 2023
118 - SCardConnect(): return SCARD_W_SECURITY_VIOLATION when needed (polkit)
119 - SCardCancel(): return SCARD_S_SUCCESS even if the client already finished
120 - polkit is enabled by default
121 - libpcscspy: fix a crash with NULL pointers
122 - Doxygen: fix SCardBeginTransaction() documentation
123 - fix pcscd internal thread safety issues (clang -fsanitize=thread)
124 - Some other minor improvements
125
126
127 9 June 2023
128 2.0.0: Ludovic Rousseau
129 9 June 2023
130 - Adjust USB drivers path at run-time via environment variable PCSCLITE_HP_DROPDIR
131 - Add '--disable-polkit' option
132 - Reset eventCounter when a reader is removed
133 - Add "polkit" in "pcscd -v" output if enabled
134 - Doxygen: document SCARD_E_INVALID_VALUE for some functions
135 - use secure_getenv(3) if available
136 - Some other minor improvements
137
138
139 1.9.9: Ludovic Rousseau
140 11 September 2022
141 - SCardEstablishContext() may return SCARD_W_SECURITY_VIOLATION if refused by Polkit
142 - Fix SCardReleaseContext() failure on orphan handles
143 - Fix SCardDisconnect() on orphan handle
144 - pcsc-spy: log the pioSendPci & pioRecvPci SCardTransmit() parameters
145 - Improve the log from pcscd: log the return code in text instead of hex
146 - Some other minor improvements
147
148
149 1.9.8: Ludovic Rousseau
150 11 June 2022
151 - Install install_spy.sh & uninstall_spy.sh scripts in docdir
152 - SCardTransmit(): do not fail if receive buffer is "too large"
153 - SCardControl(): do not fail if receive buffer is "too large"
154 - fix some memory leaks on shutdown
155 - use a better random number generator
156 - Some other minor improvements
157
158
159 1.9.7: Ludovic Rousseau
160 13 May 2022
161 - disable strict compilation by default
162 - fix 3 warnings
163
164
165 1.9.6: Ludovic Rousseau
166 11 May 2022
167 - do not fail reader removal in some specific cases (USB/Thunderbolt port)
168 - improve documentation regarding /etc/reader.conf.d/
169 - SCardGetStatusChange: speedup the case DISABLE_AUTO_POWER_ON
170 - configure:
171 . add --disable-strict option
172 By default the compiler arguments are now:
173 -Wall -Wextra -Wno-unused-parameter -Werror ${CFLAGS}
174 . fail if flex is not found
175 - fix different data races
176 - pcscdaemon: -v displays internal constants values:
177 MAX_READERNAME & PCSCLITE_MAX_READERS_CONTEXTS
178 - Some other minor improvements
179
180
181 1.9.5: Ludovic Rousseau
182 4 December 2021
183 - pcscd: autoexit even if no client connects
184 - Fix variable substitution in systemd units
185 - fix potential race conditions with powerState handling
186 - Add and use tag TAG_IFD_DEVICE_REMOVED
187 - UnitaryTests: port code to Python 3
188
189
190 1.9.4: Ludovic Rousseau
191 1 October 2021
192 - fix a memory leak when libusb is used for hotplug (i.e. non-Linux
193 systems)
194
195
196 1.9.3: Ludovic Rousseau
197 6 August 2021
198 - fix a stupid regression with systemd introduced in the previous version
199
200
201 1.9.2: Ludovic Rousseau
202 3 August 2021
203 - improve NetBSD support
204 - pcsc-spy: version 1.1
205 . add option -t|--thread
206 . x10 speed increase
207 . correctly exit at end-of-file
208 . remove, now useless, support of macOS
209 - systemd:
210 . use /etc/default/pcscd as EnvironmentFile
211 . use $PCSCD_ARGS to specify more arguments
212 - SetProtocol: Handle IFD_NOT_SUPPORTED from the driver
213 - hotplug_libudev.c: sanitize interface name
214 - pcsc_demo: change licence from GPLv3 to BSD
215 - use Python 3 for Python scripts (psc-spy, UnitaryTests)
216 - Some other minor improvements
217
218
219 1.9.1: Ludovic Rousseau
220 16 February 2021
221 - Do not (possibly) lock a reader if allocating hCard fails
222 - Fix a hang in SCardTransmit()
223 - Do not report an error if the wrong interface is used by the driver
224 - Update reader state when a card is removed during an exchange
225 - readerfactory: Make sure a freed Reader Context is not accessed
226 - PHSetProtocol(): supports T=0&1 cards on T=0 reader
227 - hotplug-libusb:
228 . support CCIDCLASSDRIVER
229 . add interface name to reader name
230 . remove obsolete libhal scheme
231 - Some other minor improvements
232
233
234 1.9.0: Ludovic Rousseau
235 14 June 2020
236 - SCardEndTransaction(): greatly improve performances (x300)
237 - tokenparser: accept any Unicode character in a reader name
238 - Use /run instead of /var/run by default
239 - Fix a memory leak from a polkit call
240 - Some other minor improvements
241
242
243 1.8.26: Ludovic Rousseau
244 3 January 2020
245 - Use poll() instead of select() to allow file descriptor higher than FD_SETSIZE
246 - Enable reader filtering by default
247 - pcsc-spy:
248 . Do not read output buffer after error
249 . Adjust code to handle autoallocated buffers
250 . fix year-2038 issue by using long instead of int
251 - Android: fix compilation
252 - if client/server protocol mismatch:
253 . log an explicit message
254 . SCardEstablishContext() returns SCARD_E_SERVICE_STOPPED
255 - polkit: log the error message if polkit_authority_get_sync() fails
256 - Exit with EXIT_SUCCESS on shutdown to please systemd
257 - Doxygen: fix minor issues in the documentation
258 - Add --disable-documentation option
259 - Fix a minor memory leak
260
261
262 1.8.25: Ludovic Rousseau
263 25 March 2019
264 - Fix a socket issue when pcscd is used inside LXC container
265 - pcsc-spy: always provide a total time of execution
266 - Fix resource leak if SCardEstablishContext() fails
267 - Fix realloc(3) error handling (possible memory leak)
268 - Remove usage of function chmod(2) to use fchmod(2) (fix race condition)
269
270
271 1.8.24: Ludovic Rousseau
272 12 October 2018
273 - the project moved to https://pcsclite.apdu.fr/
274 - SCardGetStatusChange(): Fix a rare race condition
275 - SCardReleaseContext(): do not release a lock owned by another context
276 - SCardReconnect(): suspend card auto power off
277 - Allow "=" in serial driver filenames
278 - Add the thread id in the pcscd log lines
279 - pcsc-spy: correctly handle incomplete log file
280 - Simclist: avoid to divide by zero in list_findpos()
281 - Some other minor improvements
282
283
284 1.8.23: Ludovic Rousseau
285 18 December 2017
286 - use libsystemd instead sd-daemon.{c,h}
287 - install_spy.sh: add support of Ubuntu
288 - spy: add support SCardStatus() with NULL pcbAtrLen
289 - Some other minor improvements
290
291
292 1.8.22: Ludovic Rousseau
293 17 June 2017
294 - SCardCancel() was broken in 1.8.21. The call was blocking.
295 - Enable use of info level logging for pcscd using -i/--info
296
297
298 1.8.21: Ludovic Rousseau
299 20 May 2017
300 - SCardCancel():
301 . fix a race condition bug
302 . fix a possible use after free
303 . improve Doxygen documentation
304 - SCardGetStatusChange(): fix a race condition when a reader is removed
305 - SCardDisconnect(): fix status update for SCARD_UNPOWER_CARD
306 - pcsc_stringify_error(): use Thread-local storage
307 - pcsc_stringify_error() now returns a const char *
308 - SCardControl() may return SCARD_E_INSUFFICIENT_BUFFER when
309 pbRecvBuffer is not big enough to receive the card response.
310 - Fix compilation error with GCC 4.9
311 - UnitaryTests: add support of Python 3
312 - pcsc-spy: add support of Python 3
313 - Some other minor improvements
314
315
316 1.8.20: Ludovic Rousseau
317 30 December 2016
318 - Fix a crash and potential security issue in pcscd
319
320
321 1.8.19: Ludovic Rousseau
322 9 December 2016
323 - SCardGetStatusChange(): Fix a (rare) race condition
324 - Doxygen:
325 . SCardGetStatusChange() may return SCARD_E_UNKNOWN_READER
326 . SCardConnect() and SCardReconnect() will never return SCARD_E_NOT_READY
327 - pcsc-spy:
328 . fix display of execution time
329 . log the thread number in the results
330 - Some other minor improvements
331
332
333 1.8.18: Ludovic Rousseau
334 10 August 2016
335 - SCardDisconnect(): much faster with SCARD_UNPOWER_CARD
336 - SCardConnect(): Fix a possible duplicated hCard context
337 - Fix compilation on FreeBSD
338 - Fix compilation on Solaris
339 - Some other minor improvements
340
341
342 1.8.17: Ludovic Rousseau
343 29 May 2016
344 - Fix SCardEndTransaction() issue with a SCARD_SHARE_EXCLUSIVE connection
345 - Fix an issue when used with systemd (problem in signal handler)
346 - SCardGetAttrib(): set pcbAttrLen when buffer is too small
347 - Doxygen: SCardGetAttrib() pbAttr can be NULL
348 - Doxygen: SCardGetAttrib() *pcbAttrLen contains the buffer size
349 - fix compilation warnings and link errors on SunOS
350 - Some other minor improvements
351
352
353 1.8.16: Ludovic Rousseau
354 20 March 2016
355 - SCardCancel() was not correctly handled
356 When a SCardGetStatusChange() was cancelled then a next PC/SC call
357 after the SCardGetStatusChange() may fail with a strange error code if
358 the event waited in SCardGetStatusChange() occurs.
359 - Doxygen: fix different documentation issues
360 - SCARD_SCOPE_GLOBAL is now defined in a public header (even if never used)
361 - Enable Trace and Profile features using compiler flags and without
362 modifying the source code
363 - Some other minor improvements and bug corrections
364
365
366 1.8.15: Ludovic Rousseau
367 25 December 2015
368 - Add support of remove and/or customize PC/SC reader names using
369 PCSCLITE_FILTER_IGNORE_READER_NAMES and PCSCLITE_FILTER_EXTEND_READER_NAMES
370 See http://ludovicrousseau.blogspot.fr/2015/12/remove-andor-customize-pcsc-reader-names.html
371 - Some other minor improvements and bug corrections
372
373
374 1.8.14: Ludovic Rousseau
375 5 August 2015
376 - Threading: lock the PC/SC context in a safe way
377 - Threading: lock the card context in a safe way
378 - SCardGetStatusChange(): fix card movement rare bug
379 - Doxygen:
380 . SCardTransmit() may return SCARD_E_INSUFFICIENT_BUFFER
381 . SCardEndTransaction() The disposition IS used and the dwDisposition
382 parameter HAS an effect.
383 . SCardReconnect() do not release locks
384 . fix typos
385 - Move the source code repository from subversion to git
386 - Use asprintf(3) instead of strlcat(3) and strlcpy(3)
387 - Allow to use pcscd in a remote session (polkit issue)
388 - Some other minor improvements and bug corrections
389
390
391 pcsc-lite-1.8.13: Ludovic Rousseau
392 7 November 2014
393 - fix a systemd + libudev hotplug bug introduced in version 1.8.12.
394 The list of readers was not (yet) available just after the start of pcscd
395 - Make the license more 3-clause BSD like
396 - fix a rare race condition in the (non default) libusb hotplug
397 - Some other minor improvements and bug corrections
398
399
400 pcsc-lite-1.8.12: Ludovic Rousseau
401 24 September 2014
402 - make hotplug using libudev (default) more robust
403 - add ReiserFS file system support (for configuration files)
404 - add musl libC support (increase the thread stack)
405 - Some other minor improvements and bug corrections
406
407
408 pcsc-lite-1.8.11: Ludovic Rousseau
409 14 February 2014
410 - Add polkit support. See doc/README.polkit
411 - /etc/reader.conf: CHANNELID and DEVICENAME are both optional but not
412 at the same time
413 - Some other minor improvements and bug corrections
414
415
416 pcsc-lite-1.8.10: Ludovic Rousseau
417 19 October 2013
418 - do not export the internal log_msg symbol from libpcsclite.so.1
419
420
421 pcsc-lite-1.8.9: Ludovic Rousseau
422 16 October 2013
423 - SCardEndTransaction(): Return an error if is called with no
424 corresponding SCardBeginTransaction()
425 - SCardGetAttrib(): Add support of SCARD_ATTR_DEVICE_SYSTEM_NAME
426 - SCardGetAttrib(): Fix bug in SCARD_ATTR_DEVICE_FRIENDLY_NAME
427 - SCardBeginTransaction() was not correctly releasing a mutex when the
428 hCard handle was invalidated
429 The problem was that SCardGetStatusChange() was blocked because
430 SCardBeginTransaction() had not released the context mutex.
431 - PCSC/reader.h: Use C99 flexible array member
432 The structures PIN_MODIFY_STRUCTURE and PIN_VERIFY_STRUCTURE now use a
433 C99 flexible array member when available for abData field.
434 uint8_t abData[];
435 - Add support of --reader-name-no-serial and --reader-name-no-interface
436 It is now possible to NOT add the USB serial number of the reader
437 using --reader-name-no-serial
438 It is now possible to NOT add the CCID interface name of the reader
439 using --reader-name-no-interface
440 - Add support of serialconfdir pkg-config variable
441 It is now possible to use pkg-config to get the directory used by
442 pcscd to fetch serial drivers configurations.
443 $ pkg-config libpcsclite --variable=serialconfdir
444 /etc/reader.conf.d
445 - pcsc-spy: Try to display the thread in the order they appear in the log
446 - pcsc-spy: Add SCARD_ATTR_DEVICE_SYSTEM_NAME
447 - Check the Info.plist file is (a minimum) correct
448 - Update PROTOCOL_VERSION_MINOR from 2 to 3
449 We broke the API between version 1.8.3 and 1.8.4 by changing the value
450 of MAX_READERNAME. This change should have been made before releasing
451 version 1.8.4 to make mix of versions clearly non working instead of
452 failing with strange errors.
453 - hotplug_libudev.c: Fix a memory leak in case of error
454 - Fix OpenBSD 5.2 compilation regarding dlopen
455 - correctly manage thread safe multi-slot readers
456 - Do not use pthread_atfork() any more (fix problem on FreeBSD)
457 - fix memory leaks.
458 This was not really a problem unless you embed pcscd in another
459 process and do init/deinit pcscd without exiting the process (as maybe
460 used on Android or iOS).
461 - pcscd.8 manpage: add documentation for --max-thread,
462 --max-card-handle-per-thread, --max-card-handle-per-reader,
463 --force-reader-polling, --error, --critical and --color
464 - Some other minor improvements and bug corrections
465
466
467 pcsc-lite-1.8.8: Ludovic Rousseau
468 16 January 2013
469 - /etc/reader.conf: handle FRIENDLYNAME with no " delimiters (serial readers)
470 - Info.plist: Correctly handle reader names containing & (USB readers)
471
472
473 pcsc-lite-1.8.7: Ludovic Rousseau
474 28 November 2012
475 - Fix a problem when a reader is unplugged (and the reader is still in use)
476
477
478 pcsc-lite-1.8.6: Ludovic Rousseau
479 30 August 2012
480 - Fix a problem when only serial drivers are used (no hotplug/USB
481 driver)
482 - increase log buffer size from 160 to 2048. Some "long" log lines where
483 truncated.
484 - Fix redirection of stdin, stdout and stderr to /dev/null when pcscd is
485 started as a daemon (default)
486 - Some other minor improvements and bug corrections
487
488
489 pcsc-lite-1.8.5: Ludovic Rousseau
490 4 August 2012
491 - Fix crash when a reader is unplugged while pcscd is in the middle of a
492 PC/SC function
493 - SCardBeginTransaction(): fix a bug introduced in version 1.8.4
494 related to sharing
495 - Some other minor improvements and bug corrections
496
497
498 pcsc-lite-1.8.4: Ludovic Rousseau
499 26 June 2012
500 - Add [ and ] in the list of accepted characters for a reader name
501 - truncates the reader name if it is too long instead of rejecting the
502 reader
503 - The restriction to have to call SCardEstablishContext() in each thread
504 has been removed. Threads could now share a PC/SC context.
505 - Fix compiler failure for static driver
506 - Update IFDHandler API Doxygen regarding the "libusb-1.0" naming scheme
507 - Some other minor improvements and bug corrections
508
509
510 pcsc-lite-1.8.3: Ludovic Rousseau
511 30 March 2012
512 - ignore directories and hidden (.*) files when parsing a configuration
513 directory (like /etc/reader.conf.d/)
514 - add Mac OS X for PC/SC spy tool
515 - fix a bug in PC/SC spy tool when loading of the real library fails
516 - add PCSCv2_PART10_PROPERTY_dwMaxAPDUDataSize,
517 PCSCv2_PART10_PROPERTY_wIdVendor and PCSCv2_PART10_PROPERTY_wIdProduct
518 from PC/SC v2 part 10 release 2.02.09 (not yet published)
519 - Some other minor improvements and bug corrections
520
521
522 pcsc-lite-1.8.2: Ludovic Rousseau
523 18 January 2012
524 - rename pcsc-spy.py to pcsc-spy and install it as a normal binary (in
525 /usr/local/bin by default)
526 - write a pcsc-spy.1 manpage
527 - fix a bug with a multi-slot reader
528 - Info.plist parser: avoid a buffer read overflow in & management
529 - Some Doxygen improvements
530
531
532 pcsc-lite-1.8.1: Ludovic Rousseau
533 25 November 2011
534 - Distribute missing files from src/spy/
535
536
537 pcsc-lite-1.8.0: Ludovic Rousseau
538 19 November 2011
539 - PC/SC spy tool
540 - Support systemd socket activation (the auto start of pcscd from the
541 library has been removed. Use systemd instead)
542 - SCardGetStatusChange(): check all the readers are already known and
543 return SCARD_E_UNKNOWN_READER if a reader name is not present.
544 Windows XP has this behavior.
545 - SCardEstablishContext(): Invalidate all the handles in the son after a
546 fork
547 - Add define of FEATURE_EXECUTE_PACE from PCSC v2 Part 10 Amendment 1
548 2011-06-03
549 - Fix some memory leaks reported by Coverity
550 - Enable silent build by default
551 - log_line(): correctly calculate delta time when no color is used
552 The update of last_time was only done in case of colorization
553 (LogDoColor). So on unsupported consoles the time was wrong.
554 - log_xxd_always(): Use a variable-length array
555 The debug message buffer is no more with a fixed size (around 600
556 bytes of buffer to log) but uses a variable-length array.
557 It is now possible to log extended APDU of 64kB.
558 The variable-length array feature is available in GCC in C90 mode and
559 is mandatory in C99 standard.
560 - Some other minor improvements and bug corrections
561
562
563 pcsc-lite-1.7.4: Ludovic Rousseau
564 23 June 2011
565 - Fix a stupid bug from the previous version. T=1 cards were not
566 working.
567
568
569 pcsc-lite-1.7.3: Ludovic Rousseau
570 22 June 2011
571 - COPYING: Add my name as copyright holder
572 - hotplug libudev: support libudev >= 171
573 - hotplug libusb: Fix a memory leak
574 - pcscd: exit immediately in case of SIGTERM
575 Closes Debian bug #620305 "pcscd slows down shutdown/restart"
576 - Send logs to stdout instead of stderr
577 It is now possible to use tee(1) to redirect logs in a file without
578 first redirecting stderr to stdout
579 - Add command line option -T, --color: force use of colored logs
580 The idea is to have colored logs even if they are redirected to a file
581 or a pipe.
582 - Define g_rgSCardT?Pci as const structures to be more Windows like
583 I do not expect a regression or compilation problem in WinSCard API
584 users but how knows...
585 - log at level PCSC_LOG_DEBUG instead of PCSC_LOG_ERROR to avoid filling
586 the system log file
587 - Remove the deprecated define FEATURE_MCT_READERDIRECT (replaced by
588 FEATURE_MCT_READER_DIRECT)
589 - better Hurd support
590 - some other minor improvements and bug corrections
591
592
593 pcsc-lite-1.7.2: Ludovic Rousseau
594 31 March 2011
595 - fix a crash if a specific driver fails to work and no class driver is
596 available
597
598 pcsc-lite-1.7.1: Ludovic Rousseau
599 30 March 2011
600 - use libudev only on Linux and libusb elsewhere. The configuration now
601 works by default on GNU/kFreeBSD systems
602 - Try to use a (CCID) class driver if a specific driver fails to use the
603 reader.
604 - fix a potential crash
605
606
607 pcsc-lite-1.7.0: Ludovic Rousseau
608 9 March 2011
609 - use libudev instead of (the deprecated) libhal
610
611
612 pcsc-lite-1.6.7: Ludovic Rousseau
613 22 February 2011
614 - better Mac OS X support
615 - Fix Alioth bug [#312960] SCardDisconnect when other context has transaction
616 - add support of multi-interfaces readers with libusb and not just libhal
617 - add a API tracing feature in the client side (#define DO_TRACE)
618 - allow the use of tracing and profiling features from different
619 application threads
620 - fix a problem with a multi-slots reader
621 - fix minor problems detected by the clang tool
622 - some other minor improvements and bug corrections
623
624
625 pcsc-lite-1.6.6: Ludovic Rousseau
626 12 December 2010
627 - SCardGetStatusChange(): fix a bug on 64-bits systems
628 - Fix another bug because of a regression in internal list manager
629
630
631 pcsc-lite-1.6.5: Ludovic Rousseau
632 3 December 2010
633 - Power on the card _only_ if an application requests a connection.
634 You can disable the feature using DISABLE_ON_DEMAND_POWER_ON in
635 src/pcscd.h.in
636 If DISABLE_AUTO_POWER_ON is defined then do not automatically power on
637 the card. The card will be powered on on the first SCardConnect()
638 See http://ludovicrousseau.blogspot.com/2010/10/card-auto-power-on-and-off.html
639 - SCardReconnect(): return SCARD_E_NO_SMARTCARD when card is removed and
640 SCARD_W_UNRESPONSIVE_CARD when card is unresponsive instead of
641 SCARD_E_PROTO_MISMATCH
642 - Install pcscd as sgid pcscd instead of suid root
643 See http://ludovicrousseau.blogspot.com/2010/09/pcscd-auto-start.html
644 - SCardSetTimeout() is no more provided. This function is not provided
645 by Microsoft and is deprecated since 2004 in pcsc-lite.
646 - SCardCancelTransaction() is no more provided. This function is not
647 provided by Microsoft and is deprecated since 2005 in pcsc-lite.
648 - Parsing the CCID Info.plist (159 readers supported) was, on a i386
649 machine, done in 264306 µs and is now done 5547 µs => gain x47 or 4600%
650 See http://ludovicrousseau.blogspot.com/2010/08/ram-and-cpu-improvements-in-pcsc-lite.html
651 - It is now possible to configure the local socket name to use using the
652 environment variable PCSCLITE_CSOCK_NAME
653 See http://ludovicrousseau.blogspot.com/2010/11/pcsc-client-and-server-on-two-different.html
654 - Wait until all connected readers have a chance to power up a possibly
655 inserted card before accepting clients.
656 - restrict pcscd features when not run by root (so using suid): APDU
657 logging or setting parameters are disabled for example
658 - fix compilation problem on kfreebsd-* systems
659 - PCSC/reader.h: HOST_TO_CCID_16() and HOST_TO_CCID_32() are now
660 identity functions
661 Since libccid 1.4.1 (revision 5252) the byte order is no more important
662 - If you want to use IFDHCreateChannel() instead of
663 IFDHCreateChannelByName() then do not use any DEVICENAME line in the
664 configuration file. IFDHCreateChannel() will then be called with the
665 CHANNELID parameter.
666 - the CHANNELID parameter can also be a decimal number.
667 - Remove the support of IFDHandler v1 API. I don't know any driver using
668 this API.
669 See http://ludovicrousseau.blogspot.com/2010/10/ifdhandler-version-1-support-removed.html
670 - avoids a buffer overflow with badly formed ATR
671 - some other minor improvements and bug corrections
672
673
674 pcsc-lite-1.6.4: Ludovic Rousseau
675 15 August 2010
676 - Do not use sysconfdir as configuration directory but
677 "${sysconfdir}/reader.conf.d" instead.
678 Use --enable-confdir=DIR if you want to set a specific value without
679 the "reader.conf.d" appended.
680
681
682 pcsc-lite-1.6.3: Ludovic Rousseau
683 15 August 2010
684 - "/reader.conf.d" is only appended to sysconfdir if no value of
685 sysconfdir is provided
686 - Define LPSCARD_READERSTATE since this is used in the MSDN prototype.
687 Use LPSCARD_READERSTATE in winscard.h instead of (SCARD_READERSTATE *)
688 to mimic the MSDN API.
689 - fix a pcscd crash when the application uses a PCSC handle after a
690 fork. The crash was with openvpn.
691 - some other minor improvements and bug corrections
692
693 pcsc-lite-1.6.2: Ludovic Rousseau
694 4 August 2010
695 - implement a "Forced suicide" mechanism.
696 After 3 Ctrl-C without much reaction from pcscd (in fact the drivers)
697 we force the suicide. Sometimes libusb is blocked in a kind of
698 dead-lock and kill -9 was the only option.
699 - Add support of TAG_IFD_STOP_POLLING_THREAD to request the stop of the
700 driver polling function.
701 - Avoid a division by 0. Closes [#312555] "simclist bug in pcsc-lite"
702 - if pcscd is stared by libpcsclite then close all file handles except
703 stdin, stdout and stderr so that pcscd does not confiscate resources
704 allocated by the application
705 - in case of auto exit create a new session so that Ctrl-C on the
706 application will not also quit pcscd
707 - src/hotplug_libusb.c: port from libusb-0.1 to libusb-1.0
708 - default configuration is now $sysconfdir/reader.conf.d
709 - fix crash with empty config dir
710 - src/PCSC/winscard.h: Remove definitions of SCARD_READERSTATE_A
711 PSCARD_READERSTATE_A and LPSCARD_READERSTATE_A types
712 - some other minor improvements and bug corrections
713
714
715 pcsc-lite-1.6.1: Ludovic Rousseau
716 4 June 2010
717 - SCardControl(): do not check for card events since we are talking to
718 the reader not the card. A smart card removal should not make
719 SCardControl() fail with SCARD_W_REMOVED_CARD
720 - pcscd do not timeout any more after 2 minutes of inactivity. If the
721 other side of the socket dies we will get an error from the kernel.
722 The problem was that if a client does nothing during
723 PCSCLITE_READ_TIMEOUT (120 seconds by default) then pcscd considers it
724 as a dead client and closes the connection. I guess this problem was
725 present since the first version of pcsc-lite but nobody complained
726 before.
727 - pcscd: do not return before most of the initialisation are done
728 correctly. The idea is that pcscd can return an error code if the
729 daemon fails to start correctly (hald not started for example).
730 Before the patch pcscd became a daemon, then returned 0 (success) and
731 then continued with the initialisation. If the initialisation failed
732 it was too late to return an error code. The /etc/init.d/pcscd script
733 was not aware of the failure.
734 Closes https://bugzilla.redhat.com/show_bug.cgi?id=580321
735 "/usr/sbin/pcscd exit codes broken"
736 - src/hotplug_libusb.c: Add a synchronisation so that if pcscd is auto
737 started the initial reader list is available before the server takes
738 commands from clients.
739 Before the change early calls of SCardListReaders() returned an empty
740 list of readers even if a reader was connected.
741 Thanks to Patrice Angelini for the bug report
742 - SCardConnect() & SCardReconnect(): do not reset the cardProtocol in
743 SCARD_SHARE_DIRECT case since the card has _not_ been reset. A new
744 PPS negotiation would fail.
745 - Do not install files in /etc any more. Serial drivers are rare now.
746 - Avoids a crash if a client sends a unknown command.
747 Thanks to Martin Vogt for the bug report
748 - some other minor improvements and bug corrections
749
750
751 pcsc-lite-1.6.0: Ludovic Rousseau
752 5 May 2010
753 - redesign the client/server communication:
754 * no more shared memory used (allow pcscd and libpcsclite1.so to be on
755 different computer and talk over a network)
756 * no more difference between short and extended APDU
757 * no more use of a /var/run/pcscd/pcscd.events/ directory. events are
758 sent through the socket
759 * simpler command format between client and server
760 The side effect is that you are not able to mix an old pcscd with a
761 new libpcsclite1.so or the reverse. SCardEstablishContext() will fail
762 unless you update both sides of the communication.
763 - Use lists instead of fixed size arrays to store handles.
764 It is now possible to have:
765 - 200 simultaneous PC/SC clients instead of 16
766 - 200 SCardConnect per client instead of 16
767 - 200 clients per reader instead of 16
768 The default value of 200 can be changed by giving an argument to pcscd
769 --max-thread --max-card-handle-per-thread --max-card-handle-per-reader
770 Thanks to Jean-Luc Giraud for the big patch
771 - Make SCardReconnect(), SCardStatus() and SCardTransmit() block instead
772 of returning SCARD_E_SHARING_VIOLATION immediately. These functions
773 will then behave like on Windows.
774 This can happen if these functions are called when the reader is
775 locked by a PCSC transaction
776 (SCardBeginTransaction/SCardEndTransaction).
777 You can define the environment variable PCSCLITE_NO_BLOCKING to use
778 the old behavior.
779 Thanks to Jean-Luc Giraud for the patch.
780 http://archives.neohapsis.com/archives/dev/muscle/2010-q1/0041.html
781 - SCardEstablishContext(): try to start the pcscd daemon if not already
782 running.
783 . pcscd will suicide itself after 60 seconds of inactivity if it is
784 started using --auto-exit. This is the default behavior when pcscd is
785 started by libpcsclite
786 . Set PCSCLITE_PCSCD_ARGS with the argument you want to pass to pcscd in
787 autostart Only one argument is passed. The space character is not a
788 separator. example: export PCSCLITE_PCSCD_ARGS=-dfa
789 - SCardListReaders(): can use SCARD_AUTOALLOCATE
790 - SCardGetAttrib(): return SCARD_E_INSUFFICIENT_BUFFER if the driver
791 returns IFD_ERROR_INSUFFICIENT_BUFFER
792 . add support of SCARD_ATTR_DEVICE_FRIENDLY_NAME as it is better
793 implemented in pcscd (it knows the friendly name)
794 - SCardGetStatusChange(): Calling with cReaders == 0 will now just
795 return SCARD_S_SUCCESS
796 . Use the special reader name "\\?PnP?\Notification" to wait for a
797 reader event notification
798 - SCardTransmit(): do not limit the minimum size of an APDU to 4 bytes.
799 non ISO 7816-4 compliant cards (like Mifare DESFIRE) may use shorter
800 commands
801 - SCardStatus(): returns SCARD_E_SHARING_VIOLATION if the reader is
802 already used More conform to Windows
803 - PCSC/reader.h: update struct PIN_PROPERTIES_STRUCTURE to be conform
804 with Revision 2.02.06, April 2009 of PCSCv2 part 10 Fields
805 wLcdMaxCharacters and wLcdMaxLines have been removed
806 . rename FEATURE_MCT_READERDIRECT in FEATURE_MCT_READER_DIRECT to be
807 conform with ch. 2.3 of PCSC v2 part 10
808 . add FEATURE_GET_TLV_PROPERTIES and FEATURE_CCID_ESC_COMMAND from
809 PC/SC part 10 v2.02.07 March 2010
810 . Add PCSCv2_PART10_PROPERTY_* defines
811 - SCardControl() return SCARD_E_UNSUPPORTED_FEATURE if the driver
812 returned IFD_ERROR_NOT_SUPPORTED or IFD_NOT_SUPPORTED This is used to
813 separate an unsupported value of ControlCode from a general error
814 - Use the standard --sysconfdir=DIR ($prefix/etc by default) instead of
815 --enable-confdir=DIR for defining the directory containing reader.conf
816 - remove SCF support (PC/SC over Smart Card Framework). I never used
817 this feature and SCF is now dead and replaced by JSR 268
818 (javax.smartcardio)
819 - Better handling of PCSCLITE_STATIC_DRIVER as can be used on platforms
820 using µClinux (without dynamic loader). This is used to statically
821 link the reader driver to pcscd. Since the link is static you must
822 define the IFDHandler API version at compilation time. Either define
823 IFDHANDLERv1, IFDHANDLERv2 or IFDHANDLERv3
824 - Use dynamic instead of static allocation for the driver library
825 filename. The filename is no more limited to 100 characters.
826 Closes: [#312332] MAX_LIBNAME too short?
827 - force the return codes SCARD_* to be long since the SCard* functions
828 return a LONG type
829 - Add the ability to parse all the configuration files of a directory
830 instead of just one configuration file. update-reader.conf is then now
831 obsolete.
832 - Add --enable-embedded (default is no) to build pcsc-lite for an
833 embedded system. This will activate the NO_LOG option to disable
834 logging and limit RAM and disk consumption.
835 - If NO_LOG is defined then no log are displayed. The idea is to limit
836 the binaries size on disk and RAM consumption at execution time.
837 With NO_LOG defined we gain 26% (17 kB) for the .text segment of pcscd
838 and 15% (4 kB) for the .text segment of libpcsclite.so (for i386)
839 - Define a minimal pcsc_stringify_error() if NO_LOG is defined. Only the
840 error code in hex is displayed in this case.
841 Gain: 2kB of .text (10%) for libpcsclite
842 - Add --disable-serial and --disable-usb options
843 --disable-serial removes support of /etc/reader.conf gain: 8.0kB of
844 .text (12%) and 160 bytes of .bss (4%) for pcscd
845 --disable-usb removes support of USB hotplug gain: 9.7kB of .text
846 (14%) and 960 bytes of .bss (23%) for pcscd
847 If you use both options (and use a static driver configuration) gain:
848 17.7kB of .text (26%) and 1152 bytes of .bss (28%) for pcscd
849 - Better support of Android
850 - some other minor improvements and bug corrections
851
852
853 pcsc-lite-1.5.5: Ludovic Rousseau
854 28 July 2009
855 - add the reader interface name if provided by the device
856 - SCardTransmit(): return SCARD_E_UNSUPPORTED_FEATURE if
857 SCARD_PROTOCOL_RAW is requested by unsupported
858 - SCardConnect() and SCardReconnect(): set dwActiveProtocol to
859 SCARD_PROTOCOL_UNDEFINED if SCARD_SHARE_DIRECT is used (conform to
860 MSDN). Contrary to Windows winscard behavior, the reader is accessed in
861 shared mode and not exclusive mode if SCARD_SHARE_DIRECT is used.
862 - SCardControl(): correctly check for buffer overflow (bug introduced in
863 pcsc-lite 1.5.4)
864 - some other minor improvements and bug corrections
865
866
867 pcsc-lite-1.5.4: Ludovic Rousseau
868 24 June 2009
869 - SCardGetStatusChange() works again. It was broken in some cases since
870 version 1.5.2
871 - detect buffer overflows if pcscd if used by a rogue client
872 - force access rights on /var/run/pcscd to be sure it can be used by a
873 libpcsclite client without privileges
874 - create the PCSCLITE_EVENTS_DIR directory with the sticky bit so only
875 root or the owner of the event files can remove them
876 - if RFAddReader() fails with the libhal scheme then we try with the
877 (old) libusb scheme. This patch should allow proprietary drivers to
878 work even if pcsc-lite is compiled with libhal support.
879 - give a higher priority to a specific driver over the CCID Class
880 driver. This should allow proprietary drivers to be used instead of
881 libccid when possible
882 - some other minor improvements and bug corrections
883
884
885 pcsc-lite-1.5.3: Ludovic Rousseau
886 29 April 2009
887 - SCardEstablishContext(): check we do not reuse an already allocated
888 hContext
889 Thanks to Daniel Nobs for the bug report and patch
890 - pcsclite.h: add missing SCARD_E_* and SCARD_W_* return code. They are
891 unused by pcsc-lite but defined on Windows
892 - reader.h: add PIN_PROPERTIES_STRUCTURE structure and FEATURE_IFD_PIN_PROPERTIES
893 Thanks to Martin Paljak for the patch
894 - remove powermgt_macosx.c since it is using APSL version 1.1 instead of
895 the BSD-like licence like the other files
896 Thanks to Stanislav Brabec for the bug report
897 - avoid a possible crash due to a race condition
898 Thanks to Matheus Ribeiro for the patch
899 - change default log level from PCSC_LOG_INFO to PCSC_LOG_ERROR to limit
900 syslog pollution
901 - CardDisconnect(): call RFUnlockAllSharing() instead of
902 RFUnlockSharing() to release all nested locks. The problem occurs if
903 SCardBeginTransaction() are made without corresponding
904 SCardEndTransaction(). OpenSC "pkcs11-tool -I" exhibits such a
905 behavior.
906 Thanks to Marc Rios Valles for the bug report
907 - some other minor improvements and bug corrections
908
909
910 pcsc-lite-1.5.2: Ludovic Rousseau
911 6 February 2009
912 - SCardGetStatusChange(): return if the state of the reader changed
913 since the previous call. Thanks to Thomas Harning for the patch
914 - SCardCancel() no works as expected. It got broken in version 1.5.0.
915 Closes: [#311342] SCardCancel does not cancel an outstanding
916 SCardGetStatusChange
917 - log TxBuffer and RxBuffer if the SCardControl() command failed.
918 Closes: [#311376] PCSC_LOG_VERBOSE via -dd; print details of "Card not
919 transacted"
920 - add a mutex to avoid a race condition
921 Closes: [#311377] Race condition in SCardBeginTransaction
922 - SCardGetStatusChange() may not return if the reader was removed.
923 - some other minor improvements and bug corrections
924
925
926 pcsc-lite-1.5.1: Ludovic Rousseau
927 7 January 2009
928 - Extended APDU of more than 2048 bytes were corrupted. The problem was
929 introduced in version 1.3.3 (2 years ago) by making the code compile
930 with Sun Studio 11.
931 Thanks to Eric Mounier for the patch
932 - some other minor improvements and bug corrections
933
934
935 pcsc-lite-1.5.0: Ludovic Rousseau
936 18 November 2008
937 - correctly handle up to PCSCLITE_MAX_READERS_CONTEXTS readers (instead
938 of PCSCLITE_MAX_READERS_CONTEXTS-1)
939 - SCardGetStatusChange()
940 . now returns SCARD_E_TIMEOUT instead of SCARD_S_SUCCESS if dwTimeout
941 == 0 (conform to Windows XP)
942 . add support of reader name \\?PnP?\Notification to detect reader
943 insertion/removal (conform to Windows XP)
944 . if a reader disappear also set SCARD_STATE_UNAVAILABLE in
945 dwEventState (more conform to Windows XP)
946 - SCardStatus(): add support of SCARD_AUTOALLOCATE for pcchReaderLen and
947 pcbAtrLen
948 - SCardGetStatusChange() now uses asynchronous events instead of polling
949 - more and/or better Doxygen documentation
950 - SCardTransmit(): correctly pass the pioRecvPci parameter
951 - SCardConnect() and SCardReconnect(): correct a bug when two
952 applications were calling SCardConnect() or SCardReconnect() at the
953 exact same time
954 - pcscd logs the command name sent by the application (when in debug mode)
955 - some other minor improvements and bug corrections
956
957
958 pcsc-lite-1.4.102: Ludovic Rousseau
959 27 June 2008
960 - pcscd -v now displays the enabled features
961 - add support of SCARD_AUTOALLOCATE in SCardListReaders(),
962 SCardListReaderGroups() and SCardGetAttrib
963 - add SCardFreeMemory()
964 - try to use the reader polling thread also for the other slots on a
965 multi-slots reader
966 - solve a possible crash with SCardCancel() in multithreading environment
967 - SCardConnect(), SCardReconnect(): do not check the parameter
968 dwPreferredProtocols if dwShareMode == SCARD_SHARE_DIRECT
969 This is used on contactless readers to talk to the reader without any
970 card and "random" value of dwPreferredProtocols
971 - better support of driver termination (when pcscd exits)
972 - kill the driver polling thread only if the driver supports it
973 (declared using TAG_IFD_POLLING_THREAD_KILLABLE)
974 - generate a .tar.bz2 archive (smaller than the .tar.gz archive)
975 - some other minor improvements and bug corrections
976
977
978 pcsc-lite-1.4.101: Ludovic Rousseau
979 30 April 2008
980 - support for fork(). Handles are now invalid in the child process
981 - SCardStatus() returns SCARD_W_REMOVED_CARD instead of
982 SCARD_W_RESET_CARD when a card has been removed and inserted
983 - Doxygen improvements
984 - add support for DragonFly BSD
985 - some other minor improvements and bug corrections
986
987
988 pcsc-lite-1.4.100: Ludovic Rousseau
989 23 March 2008
990 - add libhal support to avoid polling the USB bus. libusb is still
991 supported but libhal is now the default
992 - improve performances in SCardConnect(), SCardReconnect(),
993 SCardDisconnect(). Thanks to Sean Wykes for the patch
994 - SCardListReaders(): returns SCARD_E_NO_READERS_AVAILABLE when no
995 reader are available. Thanks to Thomas Harning for the bug report
996 - add support of TAG_IFD_POLLING_THREAD to use an asynchronous card
997 movements detection instead of an active polling. The reader driver
998 need to support TAG_IFD_POLLING_THREAD to use this feature
999 - CardCheckDaemonAvailability(): lower the priority of the log message
1000 in case of "PCSC Not Running" or "PCSC restarted" so that nothing is
1001 logged by default. PCSCLITE_DEBUG can be defined to see the message.
1002 Programs linked with libpcsclite will not display anything if pcscd is
1003 not running. Solves Red Hat bug 428299.
1004 - default log level is PCSC_LOG_CRITICAL+1 so that NO log is sent to
1005 stderr by default. You need to explicitly set PCSCLITE_DEBUG to have
1006 logs. (in a library stderr(2) can be any file opened with fd=2 so
1007 should not be used)
1008 - ifdhandler-3.tex: more details about deviceName argument of
1009 IFDHCreateChannelByName()
1010 - some other minor improvements and bug corrections
1011
1012
1013 pcsc-lite-1.4.99: Ludovic Rousseau
1014 9 January 2008
1015 - add support of mix 32/64 bits platforms. Thanks to Jacob Berkman for
1016 the big patch
1017 - increase MAX_READERNAME from 52 to 100
1018 - default ipcdir is /var/run/pcscd instead of /var/run so the directory
1019 can be shared locally between 32/64 bits systems on chroots
1020 - display time delta between two lines of logs when printed to stderr
1021 - return EXIT_SUCCESS (instead of EXIT_SUCCESS) if parsing
1022 /etc/reader.conf fails.
1023 - performance improvement when powering a card after insertion
1024 - some other minor improvements and bug corrections
1025
1026
1027 pcsc-lite-1.4.4: Ludovic Rousseau
1028 14 August 2007
1029 - do not call a Log function in a signal handler and do hotplug
1030 synchronously. See Debian bug #430492 Thanks to Russell Stuart
1031 - support LSB init script format
1032 - better support of Solaris and Mac OS X
1033 - some other minor improvements and bug corrections
1034
1035
1036 pcsc-lite-1.4.3: Ludovic Rousseau
1037 19 June 2007
1038 - correctly handle lock (SCardBeginTransaction) when the locked card is
1039 removed.
1040 - correct a buffer overflow introduced in 1.4.2 when extended APDU are
1041 used
1042 - some other minor improvements and bug corrections
1043
1044
1045 pcsc-lite-1.4.2: Ludovic Rousseau
1046 23 May 2007
1047 - add a Lock counter so that SCardBeginTransaction/SCardEndTransaction
1048 can be nested
1049 - SCardDisconnect(): do not block if dwDisposition == SCARD_LEAVE_CARD.
1050 We block only for SCARD_UNPOWER_CARD, SCARD_RESET_CARD and
1051 SCARD_EJECT_CARD since that would impact other running transactions
1052 - LPTSTR and LPCTSTR types are no more deprecated since they are found
1053 in many applications. And using them is not a problem.
1054 - some other minor improvements and bug corrections
1055
1056
1057 pcsc-lite-1.4.1: Ludovic Rousseau
1058 16 May 2007
1059 - do not limit the execution of an APDU to 2 minutes (Thanks to Harsh
1060 Sangal for the bug report)
1061 - if the daemon is restarted we invalidate all the existing handles so
1062 SCard functions returns SCARD_E_INVALID_HANDLE
1063 - SCardReconnect(): block instead of returning SCARD_E_SHARING_VIOLATION
1064 - clean the data buffer for SCardTransmit() to clean the APDU buffer to
1065 remove any possible PIN or secret value (Thanks to Nils Larsch for the
1066 patch)
1067 - SCardGetStatusChange(): add a counter in the upper word of
1068 dwEventState so it is possible to detect a card movement between two
1069 calls to SCardGetStatusChange() (Thanks to Matheus Ribeiro for the
1070 patch)
1071 - SCardGetStatusChange(): do not check for SCARD_STATE_ATRMATCH,
1072 SCARD_STATE_EXCLUSIVE or SCARD_STATE_INUSE bits when the card is not
1073 present. (thanks to Matheus Ribeiro for the bug report)
1074 - some other minor improvements and bug corrections
1075
1076
1077 pcsc-lite-1.4.0: Ludovic Rousseau
1078 13 February 2007
1079 - great speed improvements for SCardBeginTransaction(), SCardReconnect()
1080 and SCardDisconnect()
1081 - SCardConnect(): return SCARD_W_UNPOWERED_CARD if the card is mute
1082 instead of returning SCARD_E_PROTO_MISMATCH because the requested
1083 protocol is not supported by the (mute) card
1084 - Ctrl-C works again to stop pcscd on FreeBSD
1085 - USB polling was not active even if a driver does not support
1086 IFD_GENERATE_HOTPLUG.
1087 - split pcsclite.h in pcsclite.h and an internal pcscd.h. Some
1088 application compilations may fail but should not
1089 - move RESPONSECODE definition from wintypes.h to ifdhandler.h since it
1090 should only be used as return type of IFDHandler functions. Some
1091 driver compilations may fail
1092 - some other minor improvements and bug corrections
1093
1094
1095 pcsc-lite-1.3.3: Ludovic Rousseau
1096 19 January 2007
1097 - add -H --hotplug argument to ask the pcscd daemon to rescan the
1098 available readers
1099 - add support for IFD_GENERATE_HOTPLUG bit in driver Info.plist
1100 ifdCapabilities
1101 - add --force-reader-polling to ignore the IFD_GENERATE_HOTPLUG bit in
1102 driver Info.plist ifdCapabilities (pcscd will poll the USB bus every 1
1103 second as in previous versions)
1104 - SCardConnect() & SCardDisconnect(): wait until any transaction
1105 finishes before going on. This avoids the possibility to reset a card
1106 in the middle of a transaction Thanks to Martin Paljak for the bug
1107 report
1108 - the tools installifd and formaticc are now completely outdated and
1109 should not be used anymore.
1110 - PCSC/ifdhandler.h: add IFD_NO_SUCH_DEVICE for readers supporting
1111 hotplug
1112 - PCSC/pcsclite.h: add SCARD_E_NO_READERS_AVAILABLE
1113 - SCardControl(): do not limit cbSendLength to MAX_BUFFER_SIZE bytes
1114 since we now transparently support up to MAX_BUFFER_SIZE_EXTENDED
1115 bytes. Thanks to Martin Führlinger for the bug report
1116 - SCardGetAttrib()/SCardSetAttrib(): if the driver returns IFD_ERROR_TAG
1117 we return SCARD_E_UNSUPPORTED_FEATURE instead of the generic error
1118 code SCARD_E_NOT_TRANSACTED
1119 - implement SCardIsValidContext() PC/SC call
1120 - some other minor improvements and bug corrections
1121
1122
1123 pcsc-lite-1.3.2: Ludovic Rousseau
1124 11 August 2006
1125 - add support of extended APDU in the standard configuration and in a
1126 backward compatible way: pcscd 1.3.2 can be used with libpcsclite <=
1127 1.3.2
1128 - define MAX_BUFFER_SIZE_EXTENDED as the maximal size allowed for a
1129 extended APDU (64KB)
1130 - LPCTSTR and LPTSTR types are deprecated. Use LPCSTR and LPSTR instead
1131 - Dual licence src/error.c so it can be used by OpenSC. It is now
1132 BSD-like, see the COPYING file and GNU Lesser General Licence 2.1 or
1133 (at your option) any later version
1134 - document that the 4 bytes field value in PCSC_TLV_STRUCTURE is always
1135 in big endian as documented in PCSC v2 part 10 ch 2.2 page 2. You can
1136 use ntohl() to convert the value. Thanks to Ulrich Vogl for the bug
1137 report
1138 - some other minor improvements and bug corrections
1139
1140
1141 pcsc-lite-1.3.1: Ludovic Rousseau
1142 22 April 2006
1143 - improve support of Solaris
1144 - correct a bug when two clients are connecting at the same time
1145 - better documentation for ./configure arguments
1146 - doc/ifdhandler-3.tex: improve IFD handler documentation
1147 - doc/pcsc-lite.tex: document VERIFY_PIN and MODIFY_PIN commands using
1148 PCSCv2 part 10 instead of the "proprietary" mechanism now unsupported
1149 - doc/pcsc-lite.tex: document log_msg and log_xxd
1150 - use fprintf(stderr,) instead of syslog(3) to log messages from libpcsclite
1151 - use PCSCLITE_DEBUG to activate the debug messages in libpcsclite.
1152 MUSCLECARD_DEBUG is now used for libmusclecard only
1153 - add the reader serial number in the reader name only if
1154 ADD_SERIAL_NUMBER is defined
1155 - some other minor improvements and bug corrections
1156
1157
1158 pcsc-lite-1.3.0: Ludovic Rousseau
1159 3 March 2006
1160 - new official stable version since 1.2.0 in October 2003. Many thanks
1161 to all the bug reporters and bug fixers
1162 - libmusclecard is now in a independent package
1163 - (re)allow compilation on Solaris
1164 - SCardReleaseContext(): do not check that the thread releasing the
1165 context is the one that established it. This check is not performed on
1166 Windows and creates portability problems See
1167 http://archives.neohapsis.com/archives/dev/muscle/2006-q1/0134.html
1168 - automatically call SCardUnload() when the libpcsclite library is
1169 unloaded Thanks to Najam Siddiqui. See
1170 http://archives.neohapsis.com/archives/dev/muscle/2006-q1/0177.html
1171 - some other minor improvements and bug corrections
1172
1173
1174 pcsc-lite-1.2.9-beta10: Ludovic Rousseau
1175 3 February 2006
1176 - if the USB reader defines a serial number then include it in the
1177 reader name (between parenthesis)
1178 - the library libpcsclite.so.1 only exports the symbols defined by the
1179 API (http://pcsclite.alioth.debian.org/pcsc-lite/). This is needed to
1180 be able to use the library in an application that also uses flex (like
1181 muscleTool). The problem only occurs with GCC >= 4.0
1182 - some other minor improvements and bug corrections
1183
1184
1185 pcsc-lite-1.2.9-beta9: Ludovic Rousseau
1186 27 November 2005
1187 - add/improve support of PIN pad readers
1188 . define HOST_TO_CCID_16() and HOST_TO_CCID_32() macro to convert 16 and
1189 32-bits data to the CCID format (replace HOST_TO_CCID)
1190 - add support of SUN C compiler and try to avoid GCC specific features
1191 (Heiko Nardmann)
1192 - SCardGetStatusChange():
1193 . exists if the list of readers changed (one reader added) so that the
1194 application can update its list of readers (Najam Siddiqui)
1195 . correct a bug when two contexts where used (Najam Siddiqui)
1196 - add support of Solaris 10 IFDhandler (Douglas E. Engert)
1197 - allow pcsc-lite to be compiled without (f)lex installed
1198 - add a TODO file. Help/money needed here.
1199 - improve Doxygen documentation
1200 - some other minor improvements and bug corrections
1201
1202
1203 pcsc-lite-1.2.9-beta8: Ludovic Rousseau
1204 6 September 2005
1205 - correct a crash on Fedora Core 4 (off by 1 buffer overflow)
1206 - do not silently truncate the reader, library or device name if they
1207 are too long but display an error message instead
1208 - reinclude musclecard library in pcsc-lite package since a lot of code
1209 is shared. The separation was a mistake
1210 - add colorization of the logs when sent to stderr. The color depends on
1211 the priority level
1212 - restrict the number of symbols (function names) exported from
1213 libpcsclite.so to limit symbol conflicts with other libraries. Only
1214 the PC/SC API symbols should be exported
1215 - add Doxygen documentation. Thanks to Luiz Reuter Silva Torro.
1216 HTML pages available at
1217 http://pcsclite.alioth.debian.org/doxygen/html/index.html
1218 - SCardControl(): a 0 byte long pbSendBuffer is no more rejected since
1219 the command is in dwControlCode. Thanks to Martin Paljak for the patch
1220 - provide a reader.h file (by default in /usr/local/include/PCSC/reader.h)
1221 that contains definitions shared between an application and a smart
1222 card driver (like SCARD_CTL_CODE, CM_IOCTL_GET_FEATURE_REQUEST,
1223 FEATURE_* and HOST_TO_CCID)
1224 - pcscd: allow a serial hotplug by sending a SIGUSR1 signal. The
1225 /etc/reader.conf file is re-read and reader presence/absence is updated
1226 - musclecard library: small bug fixes
1227 - pcsc-lite SCF: small bug fixes
1228 - some other minor improvements and bug corrections
1229
1230
1231 pcsc-lite-1.2.9-beta7: Ludovic Rousseau
1232 2 March 2005
1233 - SCARD_PROTOCOL_ANY is defined as (SCARD_PROTOCOL_T0|SCARD_PROTOCOL_T1)
1234 You should not use SCARD_PROTOCOL_ANY since it is not defined in
1235 Windows PC/SC. It is just defined for backward source code compatibility
1236 - define SCARD_STATE_UNPOWERED even it is a state never used so source
1237 code using it can compile
1238 - SCardStatus(): pdwState and pdwProtocol parameters may be NULL (mimic
1239 Windows)
1240 - provide a script update-reader.conf to update the /etc/reader.conf
1241 file from /etc/reader.conf.d/* files
1242 This script is called by /etc/init.d/pcscd before starting the daemon
1243 - add support of SCardGetAttrib() with a NULL pbAttr parameter to only
1244 get the needed length in pcbAttrLen
1245 - SCardReconnect() now works after a card movement. Previously
1246 SCardReconnect() returned "Card was removed" even if the new card is
1247 reset.
1248 - SCardGetStatusChange(): greatly improve performances. Thanks to Oivind
1249 H. Danielsen
1250 - SCardControl(): check if the pbSendBuffer is NULL or no bytes are sent
1251 for driver API v2 only. With API v3 we can use dwControlCode as the
1252 only data to send.
1253 - Implement the dynamic level logging in pcscd
1254 The new command line options are:
1255 -d, --debug display lower level debug messages
1256 --info display info level debug messages (default level)
1257 --error display error level debug messages
1258 --critical display critical only level debug messages
1259 - some documentation update
1260
1261
1262 pcsc-lite-1.2.9-beta6: Ludovic Rousseau
1263 15 August 2004
1264 - The debug messages are now displayed by default. This prevented error
1265 messages generated by a wrong /etc/reader.conf parsing to be displayed
1266 - thread management:
1267 . threads are now created with the PTHREAD_CREATE_DETACHED attribute
1268 so that resources are released when the thread ends. Thanks to
1269 Michael Gold for the patch.
1270 Previous versions of pcscd just died after 256 clients connections.
1271 - remove PCSC/ from the header files path since the path is given by
1272 pkg-config --cflags libpcsclite or the correct -I directive
1273 - src/winscard_svc.c:
1274 . MSGCleanupClient(): always reset all the fields. Thanks to Michael
1275 Gold for the patch.
1276 - src/configfile.l:
1277 . if the file referenced by DEVICENAME can't be use (because it is not
1278 a correct filename) we now display:
1279 You should use 'DEVICENAME /dev/null' if your driver does not use this field
1280 - src/winscard.c:
1281 . Avoid generating a PPS request that would not be just after a power
1282 up. The previous code worked only when the card was _reset_ at
1283 SCardDisconnect() but not when SCARD_LEAVE_CARD was used.
1284 - correctly manage multi-slots readers
1285 - etc/pcscd.init:
1286 . updated to reflect the RPM version. Thanks to Ville Skyttä & Fritz Elfert
1287 - doc/example/pcsc_demo.c:
1288 . add SCardTransmit() code sample
1289 - src/testpcsc.c:
1290 . add a "(don't panic)" after a "Transaction failed." if it is not a
1291 critical failure.
1292 - doc/pcsc-lite.tex:
1293 . the function SCardSetTimeout() is deprecated and does nothing
1294 - doc/ifdhandler-3.tex:
1295 . add documentation for IFDHGetCapabilities(..., TAG_IFD_THREAD_SAFE, ...),
1296 IFDHGetCapabilities(..., TAG_IFD_SLOT_THREAD_SAFE, ...) and
1297 IFDHSetCapabilities(..., TAG_IFD_SLOTNUM, ...)
1298 - some internal changes and bugs corrections
1299
1300
1301 pcsc-lite-1.2.9-beta5: Ludovic Rousseau
1302 16 July 2004
1303 - src/PCSC/wintypes.h:
1304 . add type LPSTR (again) so that "old" drivers and applications can
1305 compile but mark the type deprecated.
1306 See http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Type-Attributes.html
1307 - src/tokenfactory.c:
1308 . TPSearchBundlesForAtr(): use "%s/%s" instead of "%s%s" when
1309 generating the MuscleCard bundle name on MacOSX
1310 - src/winscard.c:
1311 . SCardControl() (new API) can now be used with a IFDHandler v2.0 or v3.0.
1312 The previous code was broken and only worked with an IFDHandler v3.0
1313 (crashed with a v2.0).
1314 - src/PCSC/ifdhandler.h:
1315 . IFDHControl(): use PUCHAR instead of LPCVOID and LPVOID so the
1316 driver can use TxBuffer[x] without needing a cast.
1317 . it is now possible to compile a IFDHandler v2.0 with this include
1318 file. Just #define IFDHANDLERv2 in your source code before
1319 #include <ifdhandler.h>
1320 By default it is setup for for most recent version of the API (V3.0)
1321
1322
1323 pcsc-lite-1.2.9-beta4: Ludovic Rousseau
1324 3 July 2004
1325 - src/libmusclecard.pc.in and src/libpcsclite.pc.in
1326 . includedir is now @includedir@/PCSC
1327 . add pthread flags for compilation and link
1328 . thanks to Ville Skyttä for these patches.
1329 They are small but are mandatory to (re)compile muscleTools (and
1330 others) without modification to their Makefile.
1331
1332
1333 pcsc-lite-1.2.9-beta3: Ludovic Rousseau
1334 30 June 2004
1335 - src/hotplug_libusb.c:
1336 . use a dynamic array for available USB drivers:
1337 - avoid a buffer overflow (argh!)
1338 - allow to use more than 16 drivers/supported readers
1339 - src/Makefile.am:
1340 . install mscdefines.h, winscard.h, musclecard.h, pcsclite.h and wintypes.h
1341 in /usr/include/PCSC/ to not pollute /usr/include/
1342 . install ifdhandler.h, debuglog.h and parser.h in /usr/include/PCSC/ so
1343 drivers can use them for compilation.
1344 Modify your source code or add -I/usr/include/PCSC to CFLAGS in your
1345 Makefile or, better, use CFLAGS=`pkg-config libpcsclite --cflags`
1346 - doc/pcsc-lite.tex:
1347 . dwPreferredProtocols is a bit mask of acceptable protocols
1348 . SCARD_SHARE_DIRECT can be used to talk to the reader without a card
1349 inserted
1350 . add "Some SCardControl commands" section (IFD_EXCHANGE and VERIFY_PIN)
1351 . add documentation for LTPBundleFindValueWithKey(), debug_msg() and
1352 debug_xxd()
1353 - src/configfile.l: (/etc/reader.conf parser):
1354 . allow ':' in DEVICENAME. use ':' to indicate a non-real device (pcscd does
1355 not test for its existence as a file). You can use this in something like
1356 "net://1.2.3.4/foobar" to indicate a reader on a remote machine like an
1357 X11 terminal.
1358 - src/PCSC/wintypes.h:
1359 . Change the names of the types LPCSTR to LPCTSTR and LPSTR to LPTSTR to be
1360 compliant with the Microsoft SCard API. You will have to update your
1361 source codes.
1362 - src/readerfactory.c:
1363 . rework RFSetReaderName() to simply the code and always start with the
1364 lowest number available (like in previous pcsc-lite version)
1365 - src/prothandler.c:
1366 . completely redesign the function so that IFDSetPTS() is always called to
1367 tell the driver which protocol to use and to initialise its internal
1368 state. The driver now knows which protocol (T=0 or T=1) the application
1369 wants to use even if the card only support only one protocol.
1370 - src/atrhandler.c:
1371 . add support of specific mode by the presence of TA2 (protocol not
1372 negotiable)
1373 - src/utils/Makefile.am:
1374 . install bundleTool and installifd in [...]/sbin/ instead of [...]/bin/
1375 - doc/example/Makefile.am:
1376 . do not install pcsc_demo since it is just a sample code for developers
1377 that is not supposed (the code) to do anything useful
1378 - doc/example/pcsc_demo.c:
1379 . replace SCARD_PROTOCOL_ANY by SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1 since
1380 SCARD_PROTOCOL_ANY is _not_ defined by Microsoft PC/SC and is not equals
1381 to SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1 in pcsc-lite
1382 - and lots of other minor and/or internal only changes
1383
1384 pcsc-lite-1.2.9-beta2: Ludovic Rousseau
1385 11 May 2004
1386 - change libmusclecard current version to 1 so that old libmusclecard0 and new
1387 libmusclecard1 can cohabit on the same system and will not break existing
1388 programs during upgrades.
1389
1390 This is because libmusclecard is provided in the same distrib/package as
1391 libpcsclite. If we want two libpcsclite to cohabit we must also ensure
1392 that the two libmusclecard can also cohabit.
1393 - src/pcscdaemon.c: print pcsc-lite version number during startup
1394 - src/winscard.c: in SCardReconnect(), SCardDisconnect() and
1395 SCardEndTransaction() SCARD_UNPOWER_CARD is "Power down the card and reset
1396 it (Cold Reset)" so we really power down _and_ then power up the card.
1397 - doc/pcsc-lite.tex: add the chapter "Multithreading and contexts"
1398 - doc/ifdhandler-3.tex: IFD Handler API in LaTeX format
1399 - correct some minor typos in documentation and output texts
1400
1401
1402 pcsc-lite-1.2.9-beta1: Ludovic Rousseau
1403 6 May 2004
1404 - configure: add support of --enable-extendedapdu argument to allow the use of
1405 big APDUs (APDU size between 256-Bytes and 128-KBytes)
1406 - API changes:
1407 . SCardControl() API changed to be similar to the Microsoft PC/SC
1408 implementation
1409 . add SCardGetAttrib()/SCardSetAttrib() functions
1410 . the driver need to be compliant to IFDHandler API v3 to support these new
1411 functions
1412 - multithreading:
1413 Damien Sauveron added the support of multiplexing multi-readers
1414 communications. In the previous version the communications were serialized
1415 and not simultaneous even if it was not needed. Thanks Damien.
1416 - src/pcscdaemon.c:
1417 . remove the warning if no /etc/reader.conf is found. It is normal to not
1418 have an /etc/reader.conf for USB readers only.
1419 . send debug to syslog by default
1420 . send debug to stderr if --foreground|-f is used (no need to add
1421 --debug stderr anymore)
1422 - doc/pcsc-lite.pdf: doc improved to add the new functions and API. The doc is
1423 now generated from a LaTeX file (easier to maintain, html version available,
1424 much more nice, etc.)
1425 - src/testpcsc.c:
1426 . added tests for the new functions SCardGetAttrib(), SCardSetAttrib() and
1427 SCardControl() and also the old SCardListReaderGroups()
1428 . do not ask for reader number if only one reader is present
1429 . some more debug
1430 - pcscd and libpcsclite now exchange a protocol version to know what API to
1431 use. This will be useful if/when the API change again
1432 - change library version to 1:0:0 since the interface changed
1433 - hotplug: the daemon pcscd do not try to restart drivers anymore when it is
1434 exiting
1435 - src/hotplug_libusb.c:
1436 . do not try to restart a USB driver if the first execution fails (because
1437 of a bug in the driver or whatever) since the next execution of the driver
1438 will, with a great probability, also fail. The user has to unplug/replug
1439 the reader to restart the driver. This prevents to fill the system logs
1440 with an error message every 1 second.
1441 . use deviceName defined as usb:idVendor/idProduct:libusb:busname:filename
1442 in HPAddHotPluggable(). This should avoid wrong USB enumeration when used
1443 in IFDHCreateChannelByName()
1444 - src/hotplug_macosx.c:
1445 . buffer overflow: the driver list was not terminated and caused crashes.
1446 - src/winscard.c:
1447 . remove the code to map SCARD_UNPOWER_CARD on IFD_RESET.
1448 SCARD_UNPOWER_CARD is power down and power up (cold reset) => IFD_POWER_DOWN
1449 SCARD_RESET_CARD is just power up (warm reset) => IFD_RESET
1450 - src/winscard.h:
1451 . use SCARDCONTEXT, DWORD, LPSCARDHANDLE, etc. instead of long, unsigned
1452 long, long *, etc. to be more Windows PC/SC compliant
1453 - doc/reader.conf.5.in: new manpage to make it clear that this configuration
1454 file SHOULD not be used for USB readers
1455 - src/configfile.l:
1456 . print a warning if the LIBPATH contains ".bundle". USB drivers SHOULD NOT
1457 be declared in reader.conf
1458 . Check that DEVICENAME and LIBPATH files exist and if an error occurs
1459 during the parsing the reader is not added and pcscd exit.
1460 - doc/example/pcsc_demo.c:
1461 . recode the readers enumeration to avoid the use of
1462 PCSCLITE_MAX_READERS_CONTEXTS. You do not and should not need
1463 PCSCLITE_MAX_READERS_CONTEXTS. Use a dynamic management instead.
1464 . add SCardReconnect() sample code
1465 . allow to select the reader number instead of always selecting the first
1466 reader
1467 . some minor debug
1468 - src/musclecard.c:
1469 . Initialize currentToken->tokenType in MSCListTokens(). Closes "[ #300607 ]
1470 MSCListTokens should set tokenType to know state before OR operation"
1471 - src/tokenfactory.c:
1472 . correct atrString[] buffer size. The ATR is in ASCII so it must be
1473 MAX_ATR_SIZE*2 +1. This was problematic for cards with a "long" ATR.
1474 - src/readerfactory.c:
1475 . initialize vHandle field to NULL in RFAllocateReaderSpace() (caused a
1476 crash under MacOS X)
1477 - aclocal/acx_pthread.m4:
1478 . new upstream version to avoid checking for pthread.h which does not exist
1479 on *BSD
1480 - src/libmusclecard.pc.in, src/libpcsclite.pc.in:
1481 . add muscledropdir (in libmusclecard) and usbdropdir (in libpcsclite) so we
1482 can use `pkg-config libpcsclite --variable=usbdropdir` to find the
1483 directory to use. Should be used by drivers and plugins installation.
1484 Thanks to Ville Skyttä for the patch.
1485 - many other minor patches and corrections. Read ChangeLog.cvs for a complete
1486 list
1487
1488
1489 pcsc-lite-1.2.0: Ludovic Rousseau
1490 27 october, 2003
1491 - the 1.2.0 version is the same as 1.2.0-rc3 version
1492
1493 pcsc-lite-1.2.0-rc3: Ludovic Rousseau
1494 15 october, 2003
1495 - src/winscard_msg.c: perform a round-robin among clients to avoid starvation
1496 under heavy load. Patch from Bettina Martelli.
1497 - src/winscard_clnt.c: send debug to stdout only if the environment variable
1498 MUSCLECARD_DEBUG is defined
1499 - src/libmusclecard.pc.in: add a new pkg-config file for application using
1500 libmusclecard.
1501 - a lot of code and build clean up by Antti Tapaninen
1502 - some code clean up and debug by Damien Sauveron
1503
1504
1505 pcsc-lite-1.2.0-rc2: Ludovic Rousseau
1506 4 September, 2003
1507 - removed a very _stupid_ bug that linked libpcsclite with libusb. Any
1508 application linked with libpcsclite was also linked with libusb.
1509 - generate a new library libmusclecard and remove MuscleCard code from
1510 libpcsclite. An application using MuscleCard functions needs to explicitly
1511 link with libmusclecard.
1512 - src/winscard_clnt.c: add a new function SCardUnload() to free allocated
1513 resources. It is mandatory only if you use dlopen/dlclose to often
1514 load/unload the library. Otherwise you will exhaust the resources
1515 available and get a crash. Thanks to Guy Moreillon for the patch.
1516 - src/muscletest.c: code cleaning
1517
1518
1519 pcsc-lite-1.2.0-rc1: Ludovic Rousseau
1520 26 August, 2003
1521 - configure.in: --enable-usb is now deprecated and off by default.
1522 --enable-libusb is selected by default and will be used if libusb is
1523 installed in /usr. If libusb is installed in /usr/local use
1524 --enable-libusb=/usr/local
1525 - src/hotplug_macosx.c: Add support of reader aliases using <array></array> in
1526 driver Info.plist on MacOS X.
1527 The old syntax did not work since pcscd on MacOS X wants a correct XML file.
1528 The new syntax is:
1529 <key>ifdVendorID</key>
1530 <array>
1531 <string>0x08E6</string> <!-- 1, Gemplus -->
1532 <string>0x04E6</string> <!-- 2, SCM Microsystems -->
1533 <string>0x076B</string> <!-- 3, OmniKey -->
1534 <string>0x0783</string> <!-- 4, C3PO -->
1535 </array>
1536
1537 <key>ifdProductID</key>
1538 <array>
1539 <string>0x3437</string> <!-- 1 -->
1540 <string>0x5115</string> <!-- 2 -->
1541 <string>0x3021</string> <!-- 3 -->
1542 <string>0x0003</string> <!-- 4 -->
1543 </array>
1544
1545 <key>ifdFriendlyName</key>
1546 <array>
1547 <string>GemPC Twin</string> <!-- 1 -->
1548 <string>SCR 335</string> <!-- 2 -->
1549 <string>CardMan 3121</string> <!-- 3 -->
1550 <string>LTC31</string> <!-- 4 -->
1551 </array>
1552 - src/powermgt_macosx.c, src/hotplug_macosx.c and some others: Add support of
1553 PCMCIA for MacOS X. Thanks to Stephen M. Webb.
1554 - src/hotplug_libusb.c: Add support of libusb. Allow to use USB readers on
1555 *BSD or any plateform supported by libusb. Thanks to Toni Andjelkovic for
1556 the great job.
1557 I also redesigned the code to support up to PCSCLITE_MAX_READERS readers
1558 whatever the driver they use.
1559 - src/musclecard.c:
1560 . fix an initialisation problem of pConnection->shareMode (thanks to Wan-Teh
1561 Chang)
1562 . avoid a memory leak (Toni Andjelkovic)
1563 - doc/example: sample demo application using pcsc-lite API
1564 - src/winscard.c:
1565 . pcscd reported card is present when there is no card in the reader
1566 . return SCARD_E_INVALID_PARAMETER for APDU of less than 4 bytes
1567 - src/winscard_svc.c: Sometimes unknown APDUs were being transmitted when
1568 'SCardStatus' function was invoked
1569 - some code cleanup and compilation problems removed.
1570
1571
1572 pcsc-lite-1.1.2beta5: Ludovic Rousseau
1573 30 May, 2003
1574 - src/winscard.c: SCardStatus(): do not return before filling buffers
1575 - src/winscard_clnt.c: SCardStatusTH(): simplify code and return correct
1576 results when buffers are too short or NULL is used
1577 - src/libpcsclite.pc.in: used to generated a pkg-config ".pc" file (thanks to
1578 Andreas Jellinghaus for the idea and the patch)
1579 - configure.in, src/Makefile.am, src/utils/installifd.c, doc/bundleTool.8.in,
1580 doc/pcscd.8.in, etc/reader.conf.in:
1581 . correct typos and include path configured by ./configure appear in the
1582 docs (thanks to Ville Skyttä)
1583 - src/utils/installifd.c:
1584 . replace gets() by fgets() to avoid buffer overflow.
1585 . Use sizeof() instead of constants.
1586 . do not use strdup() since it is useless.
1587 . print error messages when needed.
1588
1589
1590 pcsc-lite-1.1.2beta4: Ludovic Rousseau
1591 13 Apr, 2003
1592 - src/debuglog.c:
1593 . DebugLogSetLogType() set flags and not just _or_ them (allow unset)
1594 . use strncpy to avoid a possible buffer overflow
1595 - src/hotplug_linux.c:
1596 . code cleanup
1597 . support for driver aliases in Info.plist. The syntax is:
1598 <key>ifdProductString</key>
1599 <string>GemPC430</string>
1600
1601 <key>ifdVendorID</key>
1602 <string>0x08E6</string>
1603 <string>0x08E6</string>
1604 <string>0x08E6</string>
1605
1606 <key>ifdProductID</key>
1607 <string>0x0430</string>
1608 <string>0x0432</string>
1609 <string>0x0435</string>
1610
1611 <key>ifdFriendlyName</key>
1612 <string>GemPC430</string>
1613 <string>GemPC432</string>
1614 <string>GemPC435</string>
1615 So this driver will be used by the three possible readers.
1616 - src/Makefile.am:
1617 . support for driver aliases in Info.plist (use tokenparser.l instead of
1618 driverparser.l)
1619 . support for xBSD back
1620 - src/pcsclite.h:
1621 . rename "pcsc.pub" and "pcsc.comm" in "pcscd.pub" and "pcscd.comm"
1622 - src/tokenparser.l:
1623 . code reindentation
1624 . use DebugLogB()/DebugLogC with correct number of arguments
1625 - src/tokenparser.l:
1626 . regenerated from src/tokenparser.l
1627
1628
1629 pcsc-lite-1.1.2beta3: Ludovic Rousseau, David Corcoran
1630 7 Nov, 2002
1631 - Support for Sun Microsystems' SCF
1632 - Patches from Dmitry Djachenko to:
1633 . init g_rgSCard??Pci variable at compile time
1634 . return more meaningful error codes in SCardReconnect()
1635 . return more information in SCardStatus()
1636 . accept pioRecvPci == NULL in SCardTransmit()
1637 according to MSDN (July 2002) : SCardTransmit description
1638 pioRecvPci
1639 [in, out] Pointer to the protocol header structure for the instruction,
1640 followed by a buffer in which to receive any returned protocol control
1641 information (PCI) specific to the protocol in use. This parameter may be
1642 NULL if no returned PCI is desired.
1643 - correct an overflow in SCardGetStatusChange(). Thanks to Michael Nidd
1644 - configure.in, src/pcscdaemon.c, src/pcsclite.h:
1645 . add --enable-ipcdir=DIR option. Default is now /var/run/ instead of
1646 /tmp/pcsc/
1647 - src/Makefile.am:
1648 . reorganise conditionals to to have a src/Makefile.in file 142 (yes 142)
1649 times smaller (33 KB instead of 4.7 MB)
1650 - src/eventhandler.c:
1651 . add filename and error message to error logs for /var/run/pcsc.pub
1652 - src/debuglog.h:
1653 . DebugLogC() uses 3 parameters not 2 (use DebugLogB() for that)
1654
1655
1656 pcsc-lite-1.1.2beta2: Ludovic Rousseau, David Corcoran, Jean-Luc Giraud
1657 12 Oct, 2002
1658 - OpenBSD 3.1 and FreeBSD 4.7RC2 debug and testing
1659 - MacOSX debug and improvement
1660 - support multiple identical USB readers under GNU/Linux
1661 - more debug
1662 - Bug in winscard.c for protocol when ANY is chosen
1663
1664 pcsc-lite-1.1.2beta1: (Ludovic Rousseau <[email protected]>)
1665 6 Sep, 2002
1666 - src/tokenfactory.c, configure.in and bundleTool.c:
1667 . add support for --enable-muscledropdir=DIR
1668 - README:
1669 . The licence file is COPYING and not LICENSE (thanks to Juha Tuomala)
1670 - doc/formaticc.1:
1671 . add formaticc.1 manpage from Debian
1672 - doc/bundleTool.1:
1673 . update and rename from .8 to .1
1674 - src/utils/formaticc.c:
1675 . lots of debug and buffer overflow removal
1676 - src/ifdwrapper.c, src/debuglog.c, doc/pcscd.8:
1677 . add support for --apdu|-a
1678 - src/pcscdaemon.c:
1679 . add support for --apdu, test if the pcscd is still running before
1680 complaining that /tmp/pcsc is present
1681 . print an error message if the --debug argument is not known
1682 - src/Makefile.am:
1683 . add -Wl,--export-dynamic link option
1684 - src/hotplug_linux.c:
1685 . add support for --enable-usbdropdir=DIR
1686
1687
1688 pcsc-lite-1.1.1: (David Corcoran <[email protected]>)
1689 5 Jun, 2002
1690 - src/readerfactory.c
1691 . Fixed multiple slot handling by adding dwFeeds to multiple slots
1692 - src/winscard_clnt.c
1693 . Fixed multi Establish/Release Context problem by removing CleanupClient
1694
1695
1696 pcsc-lite-1.1.0: (David Corcoran <[email protected]>)
1697 28 May, 2002
1698 - src/mscdefines.h added
1699 - src/musclecard.c/.h added
1700 . Added client side token/card plugin interface
1701 - src/tokenfactory.c added
1702 - src/powermgt_macosx.h added
1703 - src/powermgt_macosx.c added
1704 . Support for sleep mode on OS X
1705 - src/tokenparser.l added
1706 - src/dyn_hpux modified with new include <errno.h>
1707 - src/winscard_svc.c
1708 . Added session checking so rogue clients cannot steal hCard values
1709 - src/readerfactory.c
1710 . removed world writable files in /tmp/pcsc
1711 - configure.in
1712 . Added support for SCF with SCF plugin
1713 - Added command line arguments for debug/daemon mode <[email protected]>
1714 - Previous additions from Ludovic Rousseau <[email protected]>
1715
1716 pcsc-lite-1.0.2beta5: (Ludovic Rousseau <[email protected]>)
1717 10 Mar, 2002
1718 - src/pcscdaemon.c:
1719 . move the pid file creation earlier (before drivers loading)
1720 . allow to properly kill pcscd before or during driver loading
1721 this is useful when the driver init is buggy
1722 - src/pcsclite.h: change PCSCLITE_VERSION_NUMBER to 1.0.2.beta5
1723 - configure.in: change version number to 1.0.2.beta5
1724
1725
1726 pcsc-lite-1.0.2beta4: (Ludovic Rousseau <[email protected]>)
1727 13 Feb, 2002
1728 - configure.in: change version number to 1.0.2.beta4
1729 (from Douglas Atique bugs report and patch)
1730 - etc/Makefile.am
1731 . add the files makeFMStyle, makeSTDStyle and moveFMCode to the
1732 distribution archive
1733 - src/Makefile.am
1734 . add the files sys_solaris.c, sys_hpux.c and powermgt_macosx.c to the
1735 distribution archive
1736 - src/pcscdaemon.c
1737 . ignore SIGHUP signal
1738 . remove pid file if USE_RUN_PID is defined
1739 - src/winscard_msg.c
1740 . move #ifdef PCSC_TARGET_SOLARIS _after_ the inclusion of config.h since
1741 PCSC_TARGET_SOLARIS is defined in config.h
1742
1743
1744 pcsc-lite-1.0.2beta3: (Ludovic Rousseau <[email protected]>)
1745 10 Jan, 2002
1746 (from Carlos Prados Debian package)
1747 - configure.in
1748 . add AC_PREFIX_DEFAULT(/usr/local/pcsc) to install in /usr/local/pcsc by
1749 default
1750 - etc/
1751 . add makeFMStyle, makeSTDStyle and moveFMCode scripts
1752 - src/utils/Makefile.am
1753 . add EXTRA_DIST = sample.in sample.ibm sample.out
1754 - src/dyn_bsd.c
1755 . try without a leading '_' in cas of failure (needed by FreeBSD) thanks to
1756 Toni Andjelkovic <[email protected]> for the patch)
1757 - src/test.c
1758 . commented declarations on unused variables
1759 . corrected three %x to %lx for long arguments
1760 - README
1761 . add documentation for --enable-confdir and --enable-runpid
1762 - src/README_INTERNALS.txt: new file containing some documentation for source
1763 code hackers
1764 - src/Makefile.am: add EXTRA_DIST = README_INTERNALS.txt
1765 - src/pcscdaemon.c: the daemon now cleany stops the drivers before exiting
1766 . the global variable AraKiri is set in signal_trap()
1767 . this variable is checked in the main loop of SVCServiceRunLoop()
1768 . RFCleanupReaders() is then called if AraKiri
1769 - src/readerfactory.c: add RFCleanupReaders() to do the cleaning job at exit
1770 - src/test.c: change %x to %02X for the ATR bytes
1771 - src/debuglog.c and src/debuglog.h:
1772 . rewrote the DebugLog[ABCD] function
1773 . the function are now defines than include __FILE__ and __LINE__
1774 . the test #ifdef USE_SYSLOG if moved from the source code to the
1775 src/debuglog.c function only -> the source is more readable
1776 . the new log functions are now used everywhere
1777 - src/configfile.l:
1778 . changed syslog() to DebugLog()
1779 . add #include "debuglog.h"
1780 - README: add a supported platform: OpenBSD 3.0 (with libc.so.28.2)
1781 - Makefile.am: add HELP file to EXTRA_DIST
1782
1783
1784 pcsc-lite-1.0.2beta2: (Ludovic Rousseau <[email protected]>)
1785 20 Dec, 2001
1786 - bootstrap: added --verbose
1787 - reconf: added --verbose and --enable-debug
1788 - configure.in:
1789 . changed release number to 1.0.2.beta2
1790 . added -Wall to CFLAGS to compile with all the warnings ON. This change
1791 implied many small corrections: mainly addition of include file to add
1792 functions prototyping, adding return values when needed, removing unused
1793 variables.
1794 . add doc/ directory (from Carlos Prados Debian package)
1795 . add --enable-confdir=DIR (default to /etc)
1796 inspiration from Shell Hin-Lik Hung, OpenBSD pcsc-lite port
1797 . add --enable-runpid=FILE to store the pcscd pid
1798 inspiration from Carlos Prados, Debian package maintainer
1799 - many C source files includes <pcsclite.h> (or similar). I changed to
1800 "pcsclite.h" since the local .h should be more recent and with less
1801 bugs than the one in /usr/local/include/
1802 - src/dyn_bsd.c, src/dyn_unix.c: in DYN_LoadLibrary() changed 0 to
1803 NULL, "char *" to "const char *"
1804 - src/dyn_hpux.c: removed declared but unused variables
1805 - src/ifdwrapper.c: initialize IFD_? functions pointer to NULL
1806 - src/pcscdaemon.c:
1807 . removed declaration of errno (already made in errno.h)
1808 . exit with code value
1809 . more explicit error message when /tmp/pcsc/ already exist
1810 . test if VERSION and PCSCLITE_VERSION_NUMBER are the same
1811 release numbers
1812 . create a file containing the PID (see configure --enable-runpid=FILE)
1813 ("stolen" from Carlos Prados Debian package)
1814 - src/readerfactory.c
1815 . removed unused variables
1816 . dwSlot is a long, use %ld instead of %d
1817 . changed "SCARD_F_UNKNOWN_ERROR;" to "return SCARD_F_UNKNOWN_ERROR;"
1818 - src/readerfactory.h: corrected "RVAllocateReaderSpace" to
1819 "RFAllocateReaderSpace" (RVA -> RFA)
1820 - sys_*.c: removed declaration of errno
1821 - src/sys_unix.c: add "return 0;" in SYS_Initialize()
1822 - winscard.c: in SCardReconnect()
1823 . initialize dwAction to 0
1824 . remove unused variables dwReaderLen and dwProtocol
1825 - src/winscard_clnt.c: commented out declaration and definition of
1826 SCardSetupThreadSafety(). It is not used anywhere.
1827 - src/winscard_msg.c:
1828 . add the error message "strerror(errno)" returned by the socket
1829 functions in the debug message logged
1830 . removed unused variables
1831 . removed (fd_set *) cast in select calls. (compiles OK without)
1832 - src/winscard_svc.c: add a "return 0;" in MSGCleanupClient()
1833 - src/winscard_svc.h: add prototype for MSGCleanupClient()
1834 - doc/Makefile.am: ("stolen" from Carlos Prados Debian package)
1835 . add this directory in dist files
1836 - Makefile.am: ("stolen" from Carlos Prados Debian package)
1837 . add doc directory
1838 . add reconf bootstrap in dist files
1839 - src/Makefile.am: ("stolen" from Carlos Prados Debian package)
1840 . add utils directory
1841 . remove libpcsclite-core.la from install target
1842 . add dyn_bsd.c dyn_hpux.c to EXTRA_libpcsclite_core_la_SOURCES
1843 - src/utils/Makefile.am: ("stolen" from Carlos Prados Debian package)
1844 . converted LIBS line into formaticc_LDADD line
1845 - src/hotplug_linux.c
1846 . add some includes files
1847 . commented useless declarations of hpManu_id, hpProd_id, bundleArraySize
1848 - src/utils/installifd.c
1849 . rv, dwRecvLength and dwSendLength are long, use %ld instead of %d
1850 . commented useless declarations of many variables
1851 . add some (int *) casts
1852 - etc/ ("stolen" from Carlos Prados Debian package)
1853 . added SmartcardServices
1854 . added StartupParameters.plist
1855 - src/debuglog.c:
1856 . put the ATR on just one line even with syslog
1857 . changed LOG_DEBUG to LOG_INFO since the LOG_DEBUG level messages are
1858 seldom logged
1859 - src/pcsclite.h: test if USE_READER_CONF is defined (see
1860 --enable-confdir=DIR)
1861
1862 pcsc-lite-1.0.2beta: (Ludovic Rousseau)
1863 29 Nov, 2001
1864 - stop if /tmp/pcsc already exists
1865 - clean and remove /tmp/pcsc on exit using signal() and atexit()
1866 - renamed SYS_Exit to exit in many places to use the atexit() defined
1867 cleaning function
1868 - removed \n in debug messages (syslog does not need it)
1869 - some minor print cosmetic modification in atrhandler.c
1870 - use a define DEBUG_BUFFER_LENGTH instead of 150 in debuglog.c
1871 - use snprintf() instead of sprintf() in debuglog.c
1872 - add a error on compile in pcscdaemon.c
1873 You must use '--enable-syslog' when also using '--enable-daemon' or
1874 you will not get any message
1875 - renamed SYS_Stat to SYS_Fstat since the system call is fstat and stat
1876 is another one
1877 - use PCSCLITE_IPC_DIR instead of repeating "/tmp/pcsc/" in pcsclite.h
1878
1879 pcsc-lite-1.0.1:
1880 added -fno-common to CCFLAGS
1881 fixed syslog error on ATR
1882 lengthened the default client timeout on commands
1883 fixed bus error when vendir/id not found
1884 Added support for HP-UX 11 and OpenBSD 2.9
1885 Removed callback socket from server
1886 Fixed GetStatusChange bug on small timeouts
1887 Fix bug in transmit where reader sends back
1888 wrong length causes client to overwrite buffer
1889
1890 pcsc-lite-1.0.0b:
1891 Fixed numerous NULL pointer errors
1892 Fixed many, many behaviors
1893 Tried Windows compatibility testing
1894 Switched to sockets based implementation
1895 Basically, it's had 2 months testing
1896
1897 pcsc-lite-0.9.3:
1898 Changed test.c
1899 Added buffered read/write layer
1900 Shortened timeouts on outgoing commands
1901 Added support for Solaris 2.6 2.8
1902 Fixed autoconf problems
1903 Added an option for client side thread safety
1904 Fixed '-' problem for bundleparser
1905
1906 pcsc-lite-0.9.1:
1907 Switched to named pipes for transport
1908 Fixed SCARD_POWERED tag when card inserted upside down
1909 Added non-polling request blocking
1910 Switched to autoconf thanks to some help
1911 Added timeouts for client/server
1912
1913 pcsc-lite-0.8.7:
1914 Added kernel IoKit notifications for USB devices on OS X
1915 Added polling support for USB devices on Linux
1916 Added XML parsing for bundles on Linux
1917 Fixed GetStatusChange's SCARD_READERSTATE structure problem
1918 Fixed random generation in EstablishContext ( Carl-Magnus Pettersson )
1919 Fixed RPC Channel leak in EstablishContext ( Carl-Magnus Pettersson )
1920 Updated documentation to 0.8.7
1921
1922 pcsc-lite-0.8.6:
1923 Added empty file powermgt_macosx.c for future power management
1924 Added ability for multiple identical readers on OS X
1925 Fixed bug enabling SCardTransmit to pass memory card functions
1926 by allowing sSendPci to be NULL
1927 Fixed some possible buffer overrun exploits
1928
1929 pcsc-lite-0.8.5:
1930 Moved to 'fat client' architecture
1931 Mapped status to clients so events are immediate
1932 Removed fork() from server, and wait() calls
1933 Added multi readers to GetStatusChange
1934 Added block for reader in GetStatusChange
1935 Added Reader Lun naming mechanism for friendlynames
1936 Updated the documentation
1937
1938 pcsc-lite-0.8.2:
1939 Added more error checking to all winscard functions.
1940 Added the ability to use Domain Sockets on Linux, Solaris.
1941 Increased the select sleep time to conserve cpu time.
1942 Added the ability to recover from errors by reloading drivers/etc.
1943 Pre-allocated bundle array list to save cpu time and memory leakage.
1944 Added SECURITY file.
1945
1946 pcsc-lite-0.8.0:
1947 Added Hot Pluggable search function to select loop.
1948 Fixed Makefiles to do copies not moves
1949 Changed some filenames.
1950
1951 pcsc-lite-0.7.8:
1952 Fixed race condition between pcscusb and eventhandler.c
1953 Fixed core dump on error startup.
1954 Added T=1 detection to test.c.
1955 Added SCardControl()
1956
1957 pcsc-lite-0.7.5:
1958 Dynamically addable readers.
1959 Multiple dynamically addable readers.
1960 More startup error checking.
1961 Full support for OS X
1962
1963 pcsc-lite-0.7.3:
1964 Added stringified error responses.
1965 Fixed some error returning bugs.
1966 Support for dynamic readers such as USB readers.
1967 More support for OS X
1968
1969 pcsc-lite-0.7.1:
1970 Fixed bugs causing problems in Redhat regarding mutex pointers.
1971 Fixed exiting problem causing random zombie processes.
1972 Removed thread libs and dyn libs from local library.
1973 Abstracted thread libs in thread_generic.h
1974 Added support for Mac OS X.
1975
1976 pcsc-lite-0.7.0:
1977 Support for ifd handler 2.0 specifications.
1978
1979 pcsc-lite-0.6.9:
1980 Fixed bug in readerfactory.c that only allowed 2 applications
1981 to run simultaneously.
1982 Fixed bug in rpc/winscard.c so that some applications which
1983 while looped on Begin/End could not cause starvation.
1984
1985
1986 pcsc-lite-0.6.8
1987 Fixed mutex bug in readerfactory.c
1988 Added SCardListReaderGroups for compatibility
1989 Fixed NULL in for ListReaders
1990 Fixed NULL as pioRecvPci in Transmit
1991 Added multi-sys Makefiles
1992 Pulled Windows(r) defs from pcsclite.h
1993 Added INFINITE to GetStatusChange.
1994
1995 pcsc-lite-0.6.6
1996 Added application event notification on calls
1997 Added SCardReconnect
1998
1999 pcsc-lite-0.6.5
2000 Added -v option for version checking
2001 Added security module for future encryption/decryption
2002 Added function to allow only from localhost
2003 Added default values to all variables
2004 Proper freeing of all pointer values
2005 Fixed Reset on Disconnect
2006 Removed any dangerous pointer references
2007
2008 pcsc-lite-0.6.4
2009 Shortened the thread zombie cleanup time.
2010
2011 pcsc-lite-0.6.3
2012 Fixed readerfactory assignment of ID problem
2013
2014 pcsc-lite-0.6.2
2015 Using pthreads for status poll.
2016 Using pthread mutexes instead of test and set.
2017 Fixed problem in GetStatusChange.
2018 Fixed SCardBeginTransaction.
2019
2020 pcsc-lite-0.6.0
2021 Removed SCardReadMemory, SCardWriteMemory
2022 Added Mutex locks around all driver calls
2023 Added ability to do startup allocation
2024 Fixed memory leak in RFAddReader
2025 Removed some warnings
2026
2027 pcsc-lite-0.5.5
2028 Added multi-slot support
2029 Fixed T=0/1 protocol definition
2030
2031 pcsc-lite-0.5.2
2032 Fixed protocol negotiation
2033 Modified defines to work with OCF
2034
2035 pcsc-lite-0.5.0
2036 Fixed the Makefiles to include
2037 symbolic links to external libraries
2038
2039 pcsc-lite-0.4.9
2040 Added some objects to the client's
2041 library so it can be used with ssp-lite
2042
2043 pcsc-lite-0.4.7
2044 Added Server State Machine
2045 Kills dead clients and frees resources
2046 Added SCardSetTimeout
2047 Fixed Makefile for non-rpc
2048 Added BSD style Makefile for BSD compilation
2049 Fixed SCardRead/Write functions
2050
2051 pcsc-lite-0.4.0
2052 Fixed SCardStatus Function
2053 Added IFD Wrapper Abstraction Layer
2054 Began support for multiple slots
2055 Fixed bug in SCardStatus with overflow
2056 Added code to remove zombie processes
2057 Added support for connecting to multiple
2058 readers/resource managers from the client.
2059
2060 pcsc-lite-0.3.0:
2061 Added RPC abstraction layer.
2062 Added Server Forking on Transmit and GetStatusChange.
2063 Fixed overflowed buffer in atrhandler.c
2064 Fixed Disconnect Bug.
2065
2066 pcsc-lite-0.2.4:
2067 Added ATR Handling.
2068 Added support for T=1
2069 Added support for PTS negotiation
2070 Added abstraction for more slots/terminal
2071 Added correct ATR size return
2072
2073 pcsc-lite-0.2.2:
2074 Added some defines in pcsclite.h
2075 Added support for Memory cards.
2076 Added support for SCardCancel.
2077
2078 pcsc-lite-0.2.0:
2079 Fixed powering up error in GetStatusChange.
2080 Added some type defines in pcsclite.h
2081
2082 pcsc-lite-0.1.0:
2083 Fixed bug in readerfactory.c line 117 lpcReaders[p] = 0
2084 to lpcTReaders[p] = 0. This was giving strange errors.
2085 Fixed return rv at SCardStatus function to return SCARD_S_SUCCESS.
2086 Added 7 more defines to pcsclite.h
2087
2088 pcsc-lite-0.0.2:
2089 Added functions Status, and GetStatusChange
2090 Fixed Connect to look for card
2091 Fixed return values for functions