Commit Graph

464 Commits

Author SHA1 Message Date
frankmorgner
b16a0b4d14 fixed problems with stupid tty-rewrites
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@364 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-16 12:24:43 +00:00
frankmorgner
a9be45febd fixed intialization issues of libnfc relay
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@363 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-16 09:47:49 +00:00
frankmorgner
6342c34f8d fixed some memory corruption
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@362 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-15 13:40:20 +00:00
frankmorgner
bad4d94312 removed/replaced remains of libpace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@361 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-15 09:27:05 +00:00
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
d6aff6c0d9 made some things better readable
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@358 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-13 16:03:29 +00:00
frankmorgner
c9d4c12a3b - driver data is now allocated and destroyed by drivers
- new type driver_data_t, driver data is not stored in struct rf_driver.
- added some comments and better debug messages


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@357 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-13 13:32:57 +00:00
frankmorgner
227f67d32d added handling of unknown command line options
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@356 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-11 10:43:54 +00:00
frankmorgner
c0f16a32a3 added more error debugging
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@355 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-11 09:51:48 +00:00
frankmorgner
a012c02caf - lnfc: capdu was not copied, fixed
- changed some output messages


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@354 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-10 20:44:34 +00:00
frankmorgner
44dc9f6c7d added option parsing and more error checking
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@353 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-10 20:14:19 +00:00
frankmorgner
daf88aafa7 changed default values for emulated target to match German identity card
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@352 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-10 18:42:16 +00:00
frankmorgner
1fda90aab4 added more error handling
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@351 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-10 14:30:38 +00:00
frankmorgner
265ee4f813 added function to extract historical bytes from atr
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@350 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-10 12:43:24 +00:00
frankmorgner
41dccee8eb completed renaming. fixed memory loss in openpicc driver. implemented libnfc driver.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@349 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-10 11:28:12 +00:00
frankmorgner
d4ee5d391f refactored picc_to_pcsc to support other drivers to send data via rfid. renamed to pcsc-relay.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@348 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-09 20:07:26 +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
5bba2b6044 unified usage of sizeof.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@342 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-26 20:21:04 +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
1dd164d9e5 - renamed ifd.c to ifd-vpcd.c to have more readable logging in pcscd
- updated support information


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@336 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-15 20:15:31 +00:00
frankmorgner
daa00689c9 updated support information
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@335 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-15 20:11:41 +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
oepen
2bfeff8b33 picc_to_pcsc now runs as a daemon if the parameters verbose or debug are not defined
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@333 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-14 12:34:40 +00:00
frankmorgner
4aedda5e1b - define PICCDEV at compile time via configure option
- fixed compile error due to missing semi colon


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@332 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-14 05:39:01 +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
dcb2507b2f - switched from perl to sed for substitution of autoconf variables
- changed from generating reader.conf to vpcd in /etc/reader.conf.d


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@329 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-13 19:18:40 +00:00
frankmorgner
8bab6479fe added missing file, deleted unused file
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@328 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-13 16:21:27 +00:00
oepen
b3b987d210 -Removed header file because we don't need to provide an interface
-Added forward function declarations to .c file


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@327 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-13 13:20:54 +00:00
frankmorgner
eb7ed3dcd3 merged with changes of r320
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@326 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-13 07:46:53 +00:00
frankmorgner
5ee49dae66 grouped virtual smartcard objects in virtualsmartcard package
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@325 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-13 07:40:57 +00:00
frankmorgner
5f54e4a780 added inconsistency check for the received apdu
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@324 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-12 12:33:57 +00:00
frankmorgner
7f37e22c9d let vicc recognize shutdown of vpcd
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@323 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-12 12:24:21 +00:00
frankmorgner
37421c11a1 added workaround for bug 312754 of pcsc-lite
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@322 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-11 18:43:07 +00:00
frankmorgner
aaffb4ad15 RelayOS: removed card observer (thread). a removed card is now handled by exceptions.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@321 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-11 17:30:35 +00:00
oepen
690caf4060 -pycrypto should now only be imported if an instance of the SAM class is created
-Removed deprecated unit tests
-fixed some bugs caused by incorrect naming


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@320 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-11 15:53:16 +00:00
frankmorgner
9517bcd8fa added status message
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@319 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-11 12:35:44 +00:00
frankmorgner
425e054916 activated ATR polling as workaround for pyscard bug #3084449. now when the real smartcard is removed, the relay process terminates
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@318 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-11 12:31: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
76cb2ee0c6 checked ifd.c and vpcd.c with flawfinder rats and pscan
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@315 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-11 10:59:07 +00:00