-
Notifications
You must be signed in to change notification settings - Fork 6
/
README
75 lines (54 loc) · 2.62 KB
/
README
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
USB IFD Handler for RutokenS
====================
This package provides the source code for a RutokenS driver (IFD Handler).
The code is generally derived from CCID and OpenCT source code.
Authors:
========
- Aktiv Co <[email protected]>
- Ludovic Rousseau <[email protected]>, author of CCID,
the source code of which has been taken as the base of this driver.
- Olaf Kirch for the APDU parsing code, taken from OpenCT.
- Pavel Mironchik <[email protected]>, Eugene Hermann <[email protected]>
for the RutokenS-related code, taken from OpenCT
Supported operating systems:
============================
- GNU/Linux (libusb 0.1.7)
- MacOS X/Darwin (libusb 0.1.8beta, CVS snapshot. See "Known problems")
to libusb)
Debug informations:
===================
The driver is capable of providing debug information in case pcscd is running
in foreground.
You can change the debug level using the Info.plist configuration file.
The Info.plist is installed, by default, in
/usr/lib/pcsc/drivers/ifd-rutokens.bundle/Contents/Info.plist
The debug level is set in the ifdLogLevel field. It is a binary OR
combinaison of 4 different levels.
- 1: critical: important error messages
- 2: info: informative messages like what reader was detected
- 4: comm: a dump of all the bytes exchanged between the host and the
reader
- 8: periodic: periodic info when pcscd test if a card is present (every
1/10 of a second)
By default the debug level is set to 0.
You have to restart the driver so it read the configuration file again
and use the new debug level value. To restart the driver you just need
to unplug all your CCID readers so the the driver is unloaded and then
replug your readers. You can also restart pcscd.
You can also set debug level by setting the value of environment variable
IFDLIB_ifdLogLevel.
It's not recommended to set debug levelother than 0, unless pcscd is run
in foreground.
Licence:
========
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at
your option) any later version.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.