forked from larskanis/ctapi-cyberjack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.old
522 lines (380 loc) · 20.6 KB
/
ChangeLog.old
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
===========================================================================
MARK: released ctapi-cyberjack-3.3.0 (2008/07/23)
===========================================================================
===========================================================================
MARK: released ctapi-cyberjack-3.3.0beta4 (2008/07/03)
===========================================================================
2008/07/03: Martin Preuss<[email protected]>
------------------------------------------------
- IFD: accept WIN32 code for GET_FEATURE (now works with rdesktop)
- IFD: fixed a problem with VERIFY_PIN
===========================================================================
MARK: released ctapi-cyberjack-3.3.0beta3 (2008/06/11)
===========================================================================
Fixed a problem in implementation of FEATURE_MCT_READER_DIRECT.
===========================================================================
MARK: released ctapi-cyberjack-3.3.0beta2 (2008/06/07)
===========================================================================
2008/06/04: Martin Preuss<[email protected]>
------------------------------------------------
- recent releases of pcsclite use libhal to detect readers. Therefore
they changed the default namespace for the reader names (from "libusb:"
to "libhal:") which also has a new syntax. Therefore we are forced to
support libhal as well.
===========================================================================
MARK: released ctapi-cyberjack-3.3.0beta1 (2008/06/02)
===========================================================================
2008/05/31: Martin Preuss<[email protected]>
------------------------------------------------
- implemented FEATURE_MCT_READERDIRECT
2008/05/27: Martin Preuss<[email protected]>
------------------------------------------------
- fixed two typos in ifd/part10.c
- added missing newline to ECFReader.h
- copied Reader.h from svn/include to drivers include dir (we definately
should have the version within the driver be the only one!)
- added BingoError.h from the include/firmware folder (sigh)
- fixed a bug in ctapi.cpp (was using a false DEBUG_MASK for CTAPI)
- improved error logging in ctapi.cpp
- ifd/part10.c: Now check the endianess of ulDataLength in verify/modify pin
structures
- added ID 0x401 to list of recognized USB readers in USBLinux.cpp
===========================================================================
MARK: released ctapi-cyberjack-3.2.0 (2008/04/03)
===========================================================================
2008/04/03: Martin Preuss<[email protected]>
------------------------------------------------
- pulled-in changes from the Windows driver
2008/03/25: Martin Preuss<[email protected]>
------------------------------------------------
- fixed a bug in usbdev with old versions of sysfs (like on SuSE10.0)
2008/02/12: Martin Preuss<[email protected]>
------------------------------------------------
- LIESMICH.xml: added section about Moneyplex on 64-bit systems
===========================================================================
MARK: released ctapi-cyberjack-3.2.0beta2 (2008/02/12)
===========================================================================
2008/02/12: Martin Preuss<[email protected]>
------------------------------------------------
- cjIoOpen_libusb():
- only try to detach kernel driver if claim_interface() doesn't work
- don't set configuration (is done by the kernel anyway)
- call ausb_reset() like driver 2.0.14 did if the corresponding flag is
set in the configuration file
- added some more debug messages
- LIESMICH.xml: added description of flag RESET_BEFORE
===========================================================================
MARK: released ctapi-cyberjack-3.2.0beta1 (2008/02/08)
===========================================================================
2008/02/08: Martin Preuss<[email protected]>
------------------------------------------------
- updated LIESMICH.xml: it now contains a section about the tool
"cyberjack", some other sections have been updated
2008/02/06: Martin Preuss<[email protected]>
------------------------------------------------
- ausb{1,3}.c: added timeout control to avoid infinite loops
- ctapi.cpp: function _init_common1() now also checks for kernel mode
when device name is given (not only for port values). Now works with
libchipcard.
2008/02/05: Martin Preuss<[email protected]>
------------------------------------------------
- make libsysfs mandatory (we now depend on it)
- added member "port" to struct rsct_usbdev_t
- reenabled access via kernel module for 0x100 devices
- enabled logging even when using kernel module for 0x100 devices
- serial devices and /dev/ttyUSBx access is now availabe via
rsct_init_name()
- renamed config_*() functions to rsct_config_*() and export those functions
- tool cyberjack:
- added commands:
- check: this is the default when missing, it performs the checks like
before
- addflags: adds flags in the configuration file
- delflags: clears flags in the configuration file
The latter two functions have been introduced to simplify setting/clearing
of flags (these commands always find the correct configuration file).
- don't bail out if the device file in /proc/bus/usb is not accessible
===========================================================================
MARK: released ctapi-cyberjack-3.1.0 (2008/01/10)
===========================================================================
===========================================================================
MARK: released ctapi-cyberjack-3.0.6rc4 (2007/12/12)
===========================================================================
===========================================================================
MARK: released ctapi-cyberjack-3.0.6rc3 (2007/12/12)
===========================================================================
2007/12/12: Martin Preuss<[email protected]>
------------------------------------------------
- ausb.c: changed ausb_init() to call usb_init() only once but
usb_find_busses() and usb_find_devices() at every call
2007/12/10: Martin Preuss<[email protected]>
------------------------------------------------
- added support for readers connected via serial ports
- added section about this new feature to LIESMICH.xml
- fixed "cyberjack" tool module cm_reader (now creates a correct
xml file).
===========================================================================
MARK: released ctapi-cyberjack-3.0.6rc2 (2007/12/03)
===========================================================================
2007/11/29: Martin Preuss<[email protected]>
------------------------------------------------
- fixed a bug in ecom_a code concerning APDU 20,10
===========================================================================
MARK: released ctapi-cyberjack-3.0.6rc1 (2007/11/19)
===========================================================================
2007/11/17: Martin Preuss<[email protected]>
------------------------------------------------
- added code which enumerates readers using libsysfs
- added special handling for CT_init() with port values of 0x9000: Now a
configuration file is used to assign fixed port numbers to readers using
their serial numbers.
However, this doesn't work with ancient Cyberjacks (e.g. product id 0x100).
- added documentation about this new feature to LIESMICH.xml
2007/11/16: Martin Preuss<[email protected]>
------------------------------------------------
- hopefully fixed communication problems with 0x100 and 0x400
- included a patch from Bernd Kupfer (adds ausb_reset_pipe())
2007/11/13: Martin Preuss<[email protected]>
------------------------------------------------
- removed call to ausb_reset() for 0x400 (this led to problems)
2007/11/06: Martin Preuss<[email protected]>
------------------------------------------------
- fixed modifications to tool cjflash
- no longer try to set configuration for 0x400 (we just use the only
available configuration)
- now also detach kernel module "cyberjack" from 0x400 when claiming the
interface fails (for some odd reasons at least my kernel loads that module
for the reader)
2007/11/02: Martin Preuss<[email protected]>
------------------------------------------------
- added environment variable "CJ_SLEEP_MS2" which inserts a waiting
time (in milliseconds) directly after calling ausb_open()
2007/10/30: Martin Preuss<[email protected]>
------------------------------------------------
- added environment variable "CJ_SLEEP_MS1" which inserts a waiting
time (in milliseconds) directly before calling ausb_open()
2007/10/25: Martin Preuss<[email protected]>
------------------------------------------------
- applied a patch provided by Daniel Golle which adapts our use of
variadic macros so that newer versions of GCC work, too
- tried a new solution in fixing the problem with new kernels and old
readers
===========================================================================
MARK: released ctapi-cyberjack-3.0.5rc1 (2007/10/18)
===========================================================================
2007/10/18: Martin Preuss<[email protected]>
------------------------------------------------
- fixed some warnings about missing parentheses and deprecated pragmas
- CCIDReader.cpp: Fixed a bug in _CtData() about command 20/12
(REQUEST_ICC). For this command actually Le may be omitted and still
means 0 (as opposed to "no data expected"). Without this fix Moneyplex
is unable to request a card.
===========================================================================
MARK: released ctapi-cyberjack-3.0.5beta5 (2007/10/08)
===========================================================================
2007/10/05: Martin Preuss<[email protected]>
------------------------------------------------
- changed some char* arguments to "const char*" because automatic conversion
from string constant to "const char*" is deprecated in recent versions of
gcc
- copied eca_defines.h from other SVN folder to the driver where it is also
needed (the driver tree should be self-sufficient)
2007/10/01: Martin Preuss<[email protected]>
------------------------------------------------
- log file is automatically truncated upon CT_init() if its size exceeds a
given limit (currenty 10 MB)
2007/09/21: Martin Preuss<[email protected]>
------------------------------------------------
- tool cyberjack: added check for ancient kernels
===========================================================================
MARK: released ctapi-cyberjack-3.0.5beta1 (2007/09/19)
===========================================================================
2007/09/19: Martin Preuss<[email protected]>
------------------------------------------------
- call ausb_reset() prior to ausb_close() to workaround hanging reader
===========================================================================
MARK: released ctapi-cyberjack-3.0.4 (2007/09/16)
===========================================================================
2007/09/16: Martin Preuss<[email protected]>
------------------------------------------------
- cyberjack (diagnosis tool):
added a check for CT_data() which reads firmware information (makes it
easier for the Linux support)
===========================================================================
MARK: released ctapi-cyberjack-3.0.4beta1 (2007/08/16)
===========================================================================
2007/08/16: Martin Preuss<[email protected]>
------------------------------------------------
- fixed a bug in Debug.cpp (was mangling with the stack given special
circumstances)
2007/07/27: Martin Preuss<[email protected]>
------------------------------------------------
- removed debug-setting of debug level mask (was set to all-on)
===========================================================================
MARK: released ctapi-cyberjack-3.0.3 (2007/07/20)
===========================================================================
2007/07/18: Martin Preuss<[email protected]>
------------------------------------------------
- fixed a bug regarding Ecom (0x100) readers
2007/07/17: Martin Preuss<[email protected]>
------------------------------------------------
- improved AUSB logging (should give more information): Now all drivers are
able to provide USB logging
- more debugging of ecom code
2007/07/16: Martin Preuss<[email protected]>
------------------------------------------------
- fixed a bug with APDU responses which exceed 262 bytes with old Ecom's
===========================================================================
MARK: released ctapi-cyberjack-3.0.2 (2007/07/16)
===========================================================================
2007/07/16: Martin Preuss<[email protected]>
------------------------------------------------
- some major memory checking with valgrind:
- fixed some possible memory leaks (e.g. by using correct delete
notations, adding some delete's where missing etc)
- CT_init() now internally reads vendor specific information (e.g.
firmware version etc) to make the log files more usefull
- if "$SYSCONFDIR/cyberjack.conf" does not exist try to load
"$SYSCONFDIR/cyberjack.conf.default" which is installed by default
on any system (simplifies support)
- Debian packages no longer remove the group "cyberjack"
- "getenv()" in USBLinux.cpp has big issues with the driver: When it is
used the driver crashes, when commented-out the driver works. Since I
don't need it here anyway (since there are no Ecom(a) with firmware
prior to 3.0.6) I just commented it out completely
2007/07/12: Martin Preuss<[email protected]>
------------------------------------------------
- found correct place for call to usb_reset(), now opening and closing the
new Cyberjack many times in a row now works
2007/07/11: Martin Preuss<[email protected]>
------------------------------------------------
- fixed return type in tool cjgeldkarte
===========================================================================
MARK: released ctapi-cyberjack-3.0.1 (2007/07/10)
===========================================================================
2007/07/10: Martin Preuss<[email protected]>
------------------------------------------------
- introduced a hotfix for the USB suspend problem with Kernel 2.6.20:
It seems like libusb does not detect the cyberjack 0x400 correctly when
the reader is suspended (e.g. libusb only detects the reader when it
currently is not suspended, but the reader needs some time to become
active after resuming and Libusb does not wait for this time...
Now we just try for about 5 secs to enumerate the USB devices via libusb
which keeps the reader active until it has completed its initialization).
This fix is only needed as long as Libusb has these problems, maybe they
will fix this...
===========================================================================
MARK: released ctapi-cyberjack-3.0.0 (2007/06/22)
===========================================================================
2007/06/22: Martin Preuss<[email protected]>
------------------------------------------------
- addes some necessary files for Debian
- introduce check for SuSE10.x: Apparently those systems do not like the call
to "getenv()" we use in USBLinux.cpp. On all SuSE10 systems this makes
the driver crash. So for now this call is just disabled on affected systems.
- fixed Info.plist
2007/06/21: Martin Preuss<[email protected]>
------------------------------------------------
- fixed usbdropdir for RPM packages
- added diagnosis tool "cyberjack"
- prepared release of version 3.0.0 (Linux)
2007/06/06: Martin Preuss<[email protected]>
------------------------------------------------
- changed Debug.cpp again: Really, we cannot include ctapi_config_l.h due to
circular dependencies (the CTAPI stuff is a layer above the code in
Debug.cpp). Since the MAC people seem to insist on including it anyway
(since they reverted my latest modification in that field) I wrapped an
#ifdef around that include
2007/05/12: Martin Preuss<[email protected]>
------------------------------------------------
- changed Debug.cpp: Cannot include ctapi_config_l.h due to circular
dependencies (the CTAPI stuff is a layer above the code in Debug.cpp,
so we can't use it here). It was used for setting the initial debug layer
anyway, and this can also be achieved by using the method
CDebug::setLevelMask()
- latest changes introduced SCARD_CTL_CODE which wasn't previously
available to the Linux code (we don't include PC/SC stuff to stay independent
from it)
- added definition for type SCARD_IO_REQUEST (same reason)
- what the heck is this newly introduced "#pragma message"???
===========================================================================
MARK: released ctapi-cyberjack-3.0.0beta1 (2007/05/08)
===========================================================================
2007/05/07: Martin Preuss<[email protected]>
------------------------------------------------
- added driver for pinpad_a (heavily adapted it to enable it to work with
the new USB framework)
- renamed files with suffix "2" back to names without this suffix since this
driver will succeed the old driver
- use version from configure.ac instead of Windows code version (we still use
that in log messages)
- adapted files for PC/SC to now additionally support older readers
- set version to 3.0.0beta1 (for first beta release)
- ausb_l.h: added missing include
2007/05/04: Martin Preuss<[email protected]>
------------------------------------------------
- added envrionment variable "CJ_USB_MODE" which can be used with the
tool cjflash to force the USB implementation to be used (because they
differ very much and at least the flash tool needs to be able to work
with old firmware)
- added section to README.xml and LIESMICH.xml about flashing the cyberjack
ecom_a
- changed prototype for CTAPI key callback handler (now also has a key value
as an argument)
- added driver for old ECOM
2007/05/02: Martin Preuss<[email protected]>
------------------------------------------------
- added IFD handler from old Cyberjack driver and adapted it to
this new driver
- moved filenames in order to allow this driver to be installed in parallel
with the old driver (as long as the new driver doesn't support the older
readers)
- added basic packaging files (RPM, DEB)
- added documentation (basically copied over from old driver)
- added tool cjgeldkarte2 (basically copied over from old driver)
- prepared first beta release
2007/04/30: Martin Preuss<[email protected]>
------------------------------------------------
- halt interrupt pipe upon USBLinux::Open()
- now always uses USB implementation 3 for 0x400er devices
- fixed incompatibilities introduced by SVN merge
2007/04/27: Martin Preuss<[email protected]>
------------------------------------------------
- added tool for flashing the reader under Linux
- added yet another approach to the USB interface
- completed CTAPI driver for Linux
- now only exports CTAPI functions and class CReader
- modified ausb module: Now the Linux implementation
can choose between 3 different implementation. This is
needed to allow the flash tool to work with any firmware so
we can now flash any Ecom A regardless of the firmware
version
- configure.ac: Now checks whether thread-support is requested,
only compile thread-related modules in case it is
2007/04/26: Martin Preuss<[email protected]>
------------------------------------------------
- improved logging for Linux (new log file format allows
for better filtering, so users may now send full logs
and I will still be able to filter out the important
parts)
- implemented CTAPI driver
- added a CTAPI test tool
- tried a thread-based approach to the interrupt pipe problem
- beeping now works with X11 also!
2007/04/25: Martin Preuss<[email protected]>
------------------------------------------------
- Debug.{h,cpp}:
- implemented code for Linux
- added DEBUG_MASK_CTAPI
- added DEBUG_MASK_IFD
- added function rsct_debug_out() to allow for debugging
output from C (previously it only worked with C++)
- added method setLevelMask() to allow for runtime modification of
the level mask (on Linux)
- added method setLogFileName() to allow for runtime modification
of the logfile (on Linux)
- fixed definition of DEBUG_MASK_IFD
- only use #pragma(warning) on Windows (gets rid of warnings under Linux)
- added ausb/ (lowlevel asynchronous communication via USB on Linux)
- implemented USBLinux.cpp (now COM via USB works on Linux)
- started working on CTAPI