Skip to content

AktivCo/rutokens-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.