frankmorgner
837d952bb9
using strtol instead of sscanf
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@296 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-04 13:54:58 +00:00
frankmorgner
35ce942354
- added command line parameter for USB iInterface, use it to fool AusweisApp
...
- fixed population of event notification status
- dont initialize serial number, when given in input
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@295 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-04 12:04:06 +00:00
frankmorgner
523ce83c7b
added README as link to doxygen file
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@294 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-04 05:53:49 +00:00
frankmorgner
8e9557d97b
only using doxygen description as readme
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@293 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-04 05:52:10 +00:00
frankmorgner
4dc715f33c
changed to a more simplistic generation of documentation
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@292 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-02 20:35:34 +00:00
frankmorgner
84679e5b5a
added documentation
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@291 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-01 20:46:40 +00:00
frankmorgner
f080a22d8a
sending description about the running configuration via usb descriptor
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@290 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-30 20:45:16 +00:00
frankmorgner
fff32978ce
added documentation
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@289 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-30 11:16:12 +00:00
frankmorgner
5437b3d61a
added documentation
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@288 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-29 21:01:24 +00:00
frankmorgner
972575f84a
adapted to the latest changes of OpenPACE
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@287 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-29 12:57:16 +00:00
frankmorgner
e9aa0077fd
postpone patch update for higher versions of ccid
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@286 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-28 09:11:37 +00:00
frankmorgner
ba1e110d8d
forgot writeback to RxBuffer in ccid driver
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@285 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-28 09:10:20 +00:00
frankmorgner
ae83880a16
added support for dynamic pace result generation to be transmitted to the pc/sc client. note that other ccid patches are not up to date
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@284 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-27 20:48:43 +00:00
frankmorgner
6f46d10136
corrected indent and title of CHAT and certificate description
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@283 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-27 10:58:33 +00:00
frankmorgner
3d5e8af4f3
added support for printing and transmitting chat
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@282 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-27 09:04:09 +00:00
frankmorgner
37c27c4afe
print certificate description
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@281 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-27 08:35:19 +00:00
frankmorgner
e2f07e6a33
working on support for certificate description
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@280 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-27 05:18:32 +00:00
frankmorgner
e4bee2861e
deactivate emulators sm context, when host sends sm protected apdus
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@279 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-25 05:20:20 +00:00
frankmorgner
d195ea474a
- finished simulation of ta/ca
...
- fixed parsing case 4 extended apdu
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@278 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-24 14:07:47 +00:00
frankmorgner
32ce7352ef
- fixed pace input parameters of cats-tool
...
- fixed apdu of simulation of ta/ca (cats-tool)
- fixed padding removal (sm)
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@277 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-24 12:22:47 +00:00
frankmorgner
c3ac301b86
- updated patch to pcsclite trunk
...
- changed default ccid command buffer size to support sending extended apdus in a single transmit (only for ccid-1.3.11 necessary)
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@276 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-24 07:42:34 +00:00
frankmorgner
a87fd00b88
- added le/lc to apdu debugging
...
- fixed byte order problem for PC_to_RDR_XfrBlock
- cats-tool: added simulation of part of TA/CA
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@275 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-23 19:36:20 +00:00
frankmorgner
f6d92dfece
- fixed compiling errors
...
- adjusted secure messaging to support extended length apdus
- card has to support extended length, this is hardcoded at the moment, but should better be done in the appropriate card driver
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@274 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-23 12:56:34 +00:00
frankmorgner
6bfdafde8a
added debugging of invalid apdus
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@273 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-23 11:12:08 +00:00
frankmorgner
efd0ad70af
adatpted to the latest changes of OpenPACE. EstablishPACEChannel now fully functional
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@272 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-23 09:03:58 +00:00
frankmorgner
00148310ea
- fixed receive length
...
- added simulation of buergerclient/ausweisapp
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@271 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-21 08:17:04 +00:00
frankmorgner
acae5db31e
- removed unnecessary checks of NULL pointer before using free()
...
- fixed memory leak for buergerclient workaround
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@270 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-20 20:01:17 +00:00
frankmorgner
c0762d0466
fixed case 2 extended apdu parsing
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@269 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-19 12:00:26 +00:00
frankmorgner
eee134d9c0
- extended length fully functional. fixed last problems with lengths and ccid descriptor.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@268 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-18 12:42:52 +00:00
frankmorgner
593c0ce77a
bugfix: case 2 extended length apdu are now recognized
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@267 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-16 10:08:07 +00:00
frankmorgner
74f45f03fe
- Added capabilities to parse and send extended length APDUs. This does not
...
work proberly with libccid, so it is disabled at the moment
- unpower card only on PC_to_RDR_IccPowerOff
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@266 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-15 21:14:32 +00:00
frankmorgner
1a31d39d02
reset the card before disconnecting to unpower and reset the secure messaging status
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@265 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-15 09:49:10 +00:00
frankmorgner
8623c7fe6e
- some unneded functions are no longer available in header files
...
- cleaned memory leaks in pace-tool and ccid-emulator
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@264 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-14 20:37:43 +00:00
frankmorgner
4a7fc6c457
- fixed wrong PCSC-PACE-data
...
- fixed command line parsing
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@263 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-14 16:07:49 +00:00
frankmorgner
ed358e839b
added support for unambiguous PACE-channel selection (ID.icc and ID.pcd)
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@262 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-13 14:11:30 +00:00
frankmorgner
211dc10583
fixed memory corruption for too long _RDR_to_PC_DataBlock packages
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@261 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-13 09:24:19 +00:00
frankmorgner
2264fd2dab
bugfix: wrong format strings
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@260 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-09 10:04:22 +00:00
frankmorgner
e5d3c68e68
- renamed ccid-test to cats-tool, since it is suitable for all readers of type cat-s and cat-b
...
- cats-tool takes PIN as input parameter
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@259 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-09-01 05:49:26 +00:00
frankmorgner
aefe8018f2
- bugfix: pace output data now parsed correctly
...
- added time measurement
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@258 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-08-31 10:54:50 +00:00
frankmorgner
6a78233be7
removed PCSC_TLV_STRUCTURE since its the attributes are not always packed
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@257 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-08-31 10:26:53 +00:00
frankmorgner
cfa79d93b0
- bugfix: now converting pace io control to host byte order
...
- now parsing pace output data
- use pcsclite-capabilities, if possible
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@256 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-08-31 09:09:04 +00:00
frankmorgner
25a0981fbf
including reader.h, if possible
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@255 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-08-30 19:39:57 +00:00
frankmorgner
a6cd9c651c
added compatibility with windows
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@254 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-08-30 13:18:43 +00:00
frankmorgner
d4b42dc293
added missing file
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@253 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-08-25 17:13:31 +00:00
frankmorgner
94d72232db
added pace-tool can now break can, pin, puk with brute force
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@252 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-08-25 13:25:10 +00:00
frankmorgner
3227331f91
added workaround for current buergerclient to read efcardaccess
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@251 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-08-24 08:31:41 +00:00
frankmorgner
77e37a83b3
- made establishpacechannel output independant from any byte order conversion.
...
little endian handling is done by the ccid-part.
- pacelib exports PACE-functionality.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@223 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-07-15 18:53:27 +00:00
frankmorgner
68984ac0a2
- usb.c: fixed signal handling
...
- ccid.c: revised construction of RDR_to_PC_*-packages to make the code more readable
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@217 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-07-12 22:54:10 +00:00
frankmorgner
5c70cd3163
- made establishpacechannel output independant from any byte order conversion.
...
little endian handling is done by the ccid-part.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@215 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-07-12 21:27:35 +00:00
frankmorgner
deaf8a8096
bugfix: transform pace output buffer on usb from little endian to host byte order
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@211 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-07-12 12:18:04 +00:00