• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

doc/H03-May-2022-4,6173,750

etc/H03-May-2022-576498

m4/H01-Oct-2021-9,0828,210

src/H03-May-2022-32,60720,293

AUTHORSH A D05-Aug-2020250 108

COPYINGH A D05-Aug-20204.5 KiB9681

ChangeLogH A D01-Oct-202177.8 KiB1,9021,690

ChangeLog.gitH A D01-Oct-20211.6 MiB46,67129,735

HELPH A D05-Aug-2020463 1410

INSTALLH A D05-Aug-202015.4 KiB369287

Makefile.amH A D04-Jul-2021347 2315

Makefile.inH A D03-May-202226.8 KiB876774

NEWSH A D05-Aug-202034 21

READMEH A D05-Aug-20204.4 KiB11588

SECURITYH A D05-Aug-2020586 1711

TODOH A D05-Aug-2020358 127

aclocal.m4H A D01-Oct-202179.3 KiB2,1041,888

ar-libH A D22-Oct-20195.7 KiB271210

bootstrapH A D06-Aug-2021385 188

compileH A D22-Oct-20197.2 KiB348258

config.guessH A D01-Oct-202143.2 KiB1,4811,288

config.h.inH A D01-Oct-20216.1 KiB238167

config.subH A D01-Oct-202135.3 KiB1,8021,661

configureH A D01-Oct-2021540.8 KiB18,85515,787

configure.acH A D01-Oct-202113 KiB474398

depcompH A D01-Oct-202123 KiB792502

install-shH A D22-Oct-201914.8 KiB509329

ltmain.shH A D01-Oct-2021319.6 KiB11,2528,044

missingH A D22-Oct-20196.7 KiB216143

ylwrapH A D22-Oct-20196.7 KiB248143

README

1Title   : PCSC Lite
2Authors : David Corcoran, Ludovic Rousseau
3Version : 1.2.9-beta10
4License : See file COPYING
5Document: docs/pcsc-lite.pdf
6          docs/ifdhandler-3.pdf
7Requires: A C compiler
8          Make, linker tools
9          Lex (Lexical Analyzer).
10
11Tested Platforms:
12	Linux 2.4 (Redhat 7.1, Suse 7.1/7.2, Debian 3.0)
13	Mac OS X 10.2, 10.3
14	FreeBSD, NetBSD, OpenBSD
15	Solaris 8 / 9
16	Tru64 UNIX 5.1B
17	AIX 4.3, 5.2
18	HP-UX 11
19
20Welcome to PCSC Lite.  The purpose of PCSC Lite is to
21provide a Windows(R) SCard interface in a very small form factor for
22communicating to smart cards and readers. PCSC Lite can be compiled
23directly to a desired reader driver or can be used to dynamically
24allocate/deallocate reader drivers at runtime (default).
25
26PCSC Lite uses the same winscard API as used under Windows(R).
27
28For security aware persons please read the SECURITY file on possible
29vulnerabilites to pcsclite, how you can fix some, and how some will
30be fixed.
31
32For information on how to install driver please read the DRIVERS file.
33
34Memory cards are supported through MCT specifications which is an APDU
35like manner sent normally through the SCardTransmit() function.  This
36functionality is done in the driver.
37
38INSTALLATION:
39
40Installation is simple.  Type ./configure and then make and make install.
41Options:
42
43   ./configure
44
45          --enable-libusb        Enable USB libusb support
46                                 (on Linux, *BSD, etc.).
47          --enable-usbdropdir=DIR directory containing USB drivers
48                                  (default /usr/local/pcsc/drivers)
49          --disable-musclecarddebug Disable MuscleCard debugging messages
50          --enable-debugatr      Enable ATR parsing debug output
51          --enable-scf           use SCF for reader support
52          --prefix=location      Install to <location>
53          --enable-confdir=DIR   Use DIR as the configuration directory
54                                 (/etc by default)
55          --enable-runpid=FILE   Store the daemon pid in file FILE
56          --enable-ipcdir=DIR    directory containing IPC files
57                                 (default /var/run)
58
59
60By running pcscd under a priveledged account you can link to
61libpcsclite.so and it will act as a client to the pcscd allowing multiple
62applications to be run under non-priveledged accounts.
63
64Then type make install to copy etc/reader.conf to
65/etc/reader.conf and the libraries to /usr/local/lib. If you choose
66not to have your reader.conf in /etc then use --enable-confdir=DIR
67
68You must be root to do make install in the default locations.
69
70Be sure to edit the /etc/reader.conf file to fit your needs and make sure
71your IFD Handler driver is located in the path specified as LIBRARYPATH
72in reader.conf.  If you are using a reader with multiple smart card slots
73all you have to do is define a different FRIENDLYNAME in the reader.conf
74for each reader.  Both will have the same information otherwise.
75
76There is an config file generator in the utils directory.  It is called
77installifd.  You may use this to generate the /etc/reader.conf file.
78
79USB users shall not use /etc/reader.conf.  pcscd will give
80a warning that the file does not exist or contain anything useful.
81
82There is a test program with this package:
83
84testpcsc: Linked to libpcsclite.  Must run /usr/local/pcsc/bin/pcscd
85          and then ./testpcsc.  pcscd must be run as root or a hardware
86          priveledged user.  ./testpcsc can be run under any account.
87
88LIBUSB SUPPORT:
89Versions after 1.2.0 support libusb. Available on GNU/Linux and *BSD.
90
91If you do not have libusb (or do not want to use it) on your system you
92should use --disable-libusb. If you use --disable-libusb under Linux the
93old USB code will be used instead.
94
95In order to use dynamic driver loading, you need to supply a directory
96called "XXXX.bundle" in the usb dropdir directory (--enable-usbdropdir=PATH).
97Here, the string "XXXX" stands for an arbitrary driver name, like in
98"ifd-GemPC430.bundle". An example .bundle-directory can be found in the
99source distribution of the ifd-gempc driver
100(http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/)
101
102SOLARIS:
103Solaris PC/SC applications must link with -lsocket since
104the libraries are not statically linked.
105
106QUESTIONS:
107
108The API documentation is provided in PDF format under the docs
109directory.  For questions, please email me at:
110<David Corcoran> corcoran@musclecard.com
111
112On some plateforms (GNU/Linux on mips and mipsel, FreeBSD and possibly
113other *BSD suystems) you must use:
114$ ./configure LDFLAGS="-lpthread"
115