Commit Graph

352 Commits

Author SHA1 Message Date
frankmorgner
72869a9dcd not building cats-test by default.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@360 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-15 09:21:10 +00:00
frankmorgner
915b2fe5f2 extracted libpace from ccid
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@359 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-14 20:34:52 +00:00
frankmorgner
d20122336c updated support information
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@347 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-28 10:00:59 +00:00
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
5f2a83b83a switched from automake to sed for substitution of automake variables
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@330 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-13 20:10:13 +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
8bd590ab42 added missing files
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@297 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-04 20:05:46 +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
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