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

..03-May-2022-

Card/H19-Nov-2015-1,281750

examples/H19-Nov-2015-264149

t/H19-Nov-2015-5416

test/H19-Nov-2015-354203

ChangelogH A D19-Nov-201516.6 KiB640376

LICENCEH A D05-Dec-201417.7 KiB340281

MANIFESTH A D12-Mar-2008285 2221

Makefile.PLH A D03-May-2022956 4432

PCSC.pmH A D01-Apr-20138.2 KiB252153

PCSC.podH A D27-Oct-20107.8 KiB268184

PCSC.xsH A D19-Nov-201548.9 KiB1,327942

PCSCperl.hH A D27-Oct-20106.8 KiB198112

READMEH A D19-Nov-20156.3 KiB194140

test.plH A D01-Apr-20137.1 KiB181103

typemapH A D18-Jun-200621 21

README

1Perl interface to the PC/SC smart card library
2==============================================
3
4This package contains a Perl wrapper to the PC/SC smartcard library
5(pcsc-lite) [1] from MUSCLE [2] together with some small examples.
6
7You can find applications using this wrapper in the pcsc-tools package
8[3].
9
10[1] http://pcsclite.alioth.debian.org/
11[2] http://www.musclecard.com/
12[3] http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
13
14
15Build and Install:
16==================
17
18A very quick documentation on how to build and install the wrapper.
19
20$ perl Makefile.PL
21$ make
22
23Insert a smart card in the (first) PCSC reader
24
25$ make test
26$ sudo make install
27
28
29Remarks:
30========
31
32For Windows users:
33
34Status behaves different on Unix and from Win32
35	it returns the Atr len
36	it does not return any error like
37
38
39Authors:
40========
41
42- Lionel VICTOR for the main part of the job
43- Ludovic ROUSSEAU for the debug and maintainance
44
45
46Licences:
47=========
48
49    pcsc-perl: wrapper to the PC/SC smartcard library
50    Copyright (C) 2001-2003  Lionel VICTOR
51    Copyright (C) 2001-2010  Ludovic ROUSSEAU
52
53    This program is free software; you can redistribute it and/or modify
54    it under the terms of the GNU General Public License as published by
55    the Free Software Foundation; either version 2 of the License, or
56    (at your option) any later version.
57
58    This program is distributed in the hope that it will be useful,
59    but WITHOUT ANY WARRANTY; without even the implied warranty of
60    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
61    GNU General Public License for more details.
62
63    You should have received a copy of the GNU General Public License
64    along with this program; if not, write to the Free Software
65    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
66
67
68History:
69========
70
711.4.14 - 19 November 2015, Ludovic ROUSSEAU
72    - Fix _StringifyError() on Mac OS X. The string version of
73      PCSC::errno now works.
74
751.4.13 - 1 April 2013, Ludovic ROUSSEAU
76    - Fix a warning with Perl 5.16
77
781.4.12 - 6 March 2011, Ludovic ROUSSEAU
79    - Also check for SVt_PVIV and not just SVt_IV.
80    Fixes Debian bug #613722 "libpcsc-perl: GetStatusChange error after print"
81
821.4.11 - 27 October 2010, Ludovic ROUSSEAU
83    - Do not use SCardSetTimout() since it is no more present in
84      pcsc-lite > 1.6.4
85
861.4.10 - 18 August 2010, Ludovic ROUSSEAU
87    - Use LPSCARD_READERSTATE instead of LPSCARD_READERSTATE_A since it
88      is no more defined in pcsc-lite >= 1.6.2
89
901.4.9 - 30 June 2010, Ludovic ROUSSEAU
91    - remove reference to SCARD_W_INSERTED_CARD since it is no more
92      define in pcsc-lite 1.6.0 Thanks to Olivier Huber for the bug
93      report
94
951.4.8 - 23 September 2009, Ludovic ROUSSEAU
96    - minor bugs fixed
97
981.4.7 - 26 March 2008, Ludovic ROUSSEAU
99    - merge all the Makefile.PL.* in Makefile.PL
100
1011.4.6 - 7 March 2007, Ludovic ROUSSEAU
102    - add support of GNU/kFreeBSD
103
1041.4.5 - 2 March 2007, Ludovic ROUSSEAU
105    - remove some pcsc-lite specific constants to make it compile
106      against pcsc-lite 1.4.0
107
1081.4.4 - 12 August 2006, Ludovic ROUSSEAU
109    - add support of extended APDU
110
1111.4.3 - 16 May 2006, Ludovic ROUSSEAU
112    - update for Mac OS X Tiger
113
1141.4.2 - 6 August 2004, Ludovic ROUSSEAU
115    - allow to use SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1 as the protocol
116      this is used by gscriptor 1.4.0
117
1181.4.1 - 4 July 2004, Ludovic ROUSSEAU
119    - Card/Card.pm:
120     . ISO7816Error(): return an error if given $sw if not 5 chars long
121       "xx xx"
122     . Transmit(): return (undef) if the protocol is not defined. This
123       happens if you change a T=0 card with a T=1 (or vice versa) and
124       try to exchange an APDU without disconnecting first.
125    - PCSCperl.h: replace LPCSTR by LPCTSTR (pcsc-lite 1.2.9 beta4)
126
1271.4.0 - 20 May 2004, Ludovic ROUSSEAU
128    - use a new Control() API to reflect the change in SCardControl() in
129      pcsc-lite. We now have
130      $RecvData = $hCard->Control($control_code, \@SendData);
131    - load libpcsclite.so.1 instead of libpcsclite.so.0
132
1331.3.1 - 2 April 2004, Ludovic ROUSSEAU
134    - do not use PCSCLITE_MAX_CHANNELS anymor since it is no more
135      defined by pcsc-lite > 1.2.0 and is not defined under Windows
136    - test.pl: add demo code for GetStatusChange()
137    - PCSC.pod: document GetStatusChange()
138    - allow commands to be in the form "00A40100020100" instead of just
139      "00 A4 01 0 0 02 01 00"
140
1411.3.0 - 13 December 2003, Ludovic ROUSSEAU
142    - add support of SCardControl with $out = $hContext->Control (\@in);
143      Thanks to Andrew Kay.
144    - more support of Windows PC/SC and compiler.
145      Thanks to Andrew Kay and Troy Curtiss
146    - array_to_ascii() returns an empty string for an empty list
147    - add Makefile_win.PL for Windows
148    - Card.pm: by default use T=0 | T=1 protocols instead of just T=0
149
1501.2.2 - 27 May 2003, Ludovic ROUSSEAU
151    - add two constant definitions in PCSC.pm. Thanks to Ville Skyttä
152      for report and patch
153    - add a PL_FILES section in Makefile*.PL to avoid problem since we
154      have Makefile.PL and Makefile_OSX.PL. Again thanks goes to Ville
155      Skyttä
156    - Also thanks to Wolfgang Hommel for uploading the package to CPAN
157      and registering the official name Chipcard::PCSC (Wolfgang is
158      maintainer of the Chipcard::CTAPI wrapper)
159
1601.2.1 - 24 May 2003, Ludovic ROUSSEAU
161    - redesign the Makefile.PL to make the modules at least installable
162    - add Card/Makefile.PL to also install Chipcard::PCSC::Card
163    - modified test.pl to accept any SW in TransmitWithCheck
164
1651.2.0 - 9 May 2003, Ludovic ROUSSEAU
166    - naming scheme migration from PCSC to Chipcard::PCSC
167    - add TransmitWithCheck() and Chipcard::PCSC::Card::ISO7816Error()
168      functions
169
1701.1.3 - 7 Nov 2002, Ludovic ROUSSEAU
171    - small modifications to support Perl 5.8
172
1731.1.2 - 28 Aug 2002, Ludovic ROUSSEAU
174    - small modification to link against libpcsclite.so.0 instead of
175      libpcsclite.so since libpcsclite.so should only be available on
176      development platforms (-dev packages).
177
1781.1.1 - 7 Mar 2002, Ludovic ROUSSEAU
179    - small typesetting modifications od .pod files
180
1811.1.0 - 6 Mar 2002, Ludovic ROUSSEAU
182    - create this README file with the history
183    - complete reindentation of .pod files
184
1851.0.9 - 5 Mar 2002, Ludovic ROUSSEAU
186    - the minium APDU length is 4 bytes and not 5
187    - correctly test if a digit is hexa or not
188
1891.0.8 - 18 Oct 2001, Ludovic ROUSSEAU
190
191
192$Id: README,v 1.27 2015/11/19 16:21:23 rousseau Exp $
193
194