frankmorgner
8743b5030b
- fixed: pace-tool dumped wrong apdu buffer
...
- updated documentation on opensc
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@346 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-28 09:10:38 +00:00
frankmorgner
c80c209a98
- cleaned (debug) output
...
- fixed error in interactive mode of pace-tool
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@345 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-27 19:05:14 +00:00
frankmorgner
c253da05b2
pace card supports extended lengths. note that we really need a card driver which covers that
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@344 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-27 14:50:38 +00:00
frankmorgner
702644778d
plaintext apdus to be sent via SM can now be read from a file
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@343 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-27 12:11:08 +00:00
frankmorgner
898fa7885a
unified usage of sizeof. found some potential memory corruptions with that.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@341 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-26 18:41:13 +00:00
frankmorgner
a233d19691
- fixed memory corruption on card initialization
...
- fixed compilation warning
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@340 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-26 13:47:23 +00:00
frankmorgner
1b34e5e66b
added workaround for ausweisapp
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@339 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-22 08:31:57 +00:00
frankmorgner
c7a33e9066
fixed formating of ReadersPACECapabilities result. errors were due to changes of r284
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@338 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-21 18:54:16 +00:00
frankmorgner
171bfe8a1a
- enable extended length apdu for all cards that have an ef.cardaccess
...
- set the bit for esign by default (for testing only)
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@337 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-21 12:45:13 +00:00
frankmorgner
13a2f7916f
- moved OpenSC-related functions to scutil
...
- added make-target for flawfinder (to be used with vim)
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@334 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-15 16:59:53 +00:00
frankmorgner
5f9aa5704e
added command line option for gadgetfs mountpoint
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@331 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-14 05:00:32 +00:00
frankmorgner
aca3559290
added argument checking
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@317 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-11 12:02:25 +00:00
frankmorgner
a552631872
reviewed files with flawfinder
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@316 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-11 11:56:18 +00:00
frankmorgner
480cf4d722
- cats-test and picc_to_pcsc are using the same pcsc abstraction. this reduces the code to maintain
...
- partial rewrite of picc_to_pcsc to reduce memory leaks and add fault tolerancy
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@300 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-07 10:41:45 +00:00
frankmorgner
320cca0731
prepare to merge with pcsc_to_picc
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@299 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-06 20:01:44 +00:00
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
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
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
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
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