Commit Graph

31 Commits

Author SHA1 Message Date
Frank Morgner
29dfed5de9 Updated mail address 2015-12-15 16:58:28 +01:00
Frank Morgner
f92d750b39 fixed uninitialized value 2015-01-25 03:27:33 +01:00
Frank Morgner
28c8b3c719 fixed memory leak 2014-09-09 00:30:22 +02:00
Frank Morgner
70d10b9410 cleaned up scutils
- moved write/read_binary_rec to scutil.c
- removed unused handling of card driver
2013-06-13 08:25:11 +02:00
Frank Morgner
31247640b9 adapted to changed names of gadgetfs endpoints 2013-06-09 23:23:36 +02:00
Frank Morgner
e8fcbdeea5 updated ccid for new version of libnpa 2013-02-18 22:58:06 +01:00
frankmorgner
931f51e2f1 switched to command line handling with gengetopt
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@737 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-10 01:18:18 +00:00
frankmorgner
59b8a9b0da fixed bugs due to new version of opensc
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@517 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-02 13:48:17 +00:00
frankmorgner
0fdb1004eb returning default strings on selection of wrong language
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@481 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-08 10:52:45 +00:00
frankmorgner
8cd77084cc renamed libpace to libnpa
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@403 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-02 18:49:14 +00:00
frankmorgner
da44cd7f86 - fixed problem when powering the card
- removed unused code that had to do with slot-complexity


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@387 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-15 00:35:52 +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
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
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
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
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
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
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
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
b84e3fbdba - added information how many bytes were actually transmitted via usb
- split general authenticate into multiple functions, one for every step of
  PACE.
- including recent and previous car in output buffer of EstablishPACEChannel
- ccid-emulator initiates EstablishPACEChannel always with a new sm_ctx


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@192 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-07-04 11:35:17 +00:00
frankmorgner
3987f7acad - better (or at least some) signal handling
- always checking the existance of a card, when requested


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@168 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-23 12:20:54 +00:00
frankmorgner
7c98db04f6 - restructured handling of interrupt thread to kill the thread along with all
the others
- fixed error on input parameter parsing when interrupt is activated
- completed interrupt signaling for new/removed cards


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@166 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-22 21:29:43 +00:00
frankmorgner
34cbb09b80 forcing empty parameter list with function(void) instead of unspecified parameter list with function()
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@162 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-22 09:45:34 +00:00
frankmorgner
97e9cc2091 - added patch to distribution package
- changed debug_sc_result to be a define. this now gets the line of code correct
- added checking for input length to functions that parse the bulkin buffer
- fixed segfault for GetReadersPACECapabilities when no card is inserted
- added length checking of input for EstablishPACEChannel
- ccid-test: fixed pbSendBufferEstablish
- pcsclite_trunk.patch:
  - fixed parsing of lengthCertificateDescription
  - fixed wrong bPINOperation for pace capabilities and execute pace


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@156 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-19 16:19:51 +00:00
frankmorgner
e0cf5e270f fixed include in pace.c. switched to autotools
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@93 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-07 11:50:54 +00:00