Commit Graph

1553 Commits

Author SHA1 Message Date
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
frankmorgner
938d09730b fixed problems for workaround of pcscd bug 312749
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@314 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-10 16:20:09 +00:00
frankmorgner
04f2ee8020 added workaround for pcscd bug #312749
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@313 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-10 15:45:33 +00:00
frankmorgner
e8d4026d23 added length check on rapdu buffer.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@312 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-10 14:38:20 +00:00
frankmorgner
305c94a666 modified error messages
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@311 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-09 20:42:16 +00:00
frankmorgner
5262f5a813 now reading the port to open from reader.conf
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@310 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-09 20:32:53 +00:00
frankmorgner
8efb2f81a2 - added more error handling to RelayOS
- vicc in relay mode terminates when card is removed
- created cleanup routines to use with atexit.register


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@309 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-09 13:33:32 +00:00
frankmorgner
ae713f5b24 - added workaround for "Error resetting card." in pcscd. it is propably a bug in pcscd
- added more debug information


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@308 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-08 20:14:22 +00:00
frankmorgner
9df0a14194 added better inheritance to smartcard os's
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@307 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-08 20:12:09 +00:00
frankmorgner
1cf7024455 - exception handling on power up and power down
- added workaround for pyscard bugs #3083586 and #3083254


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@306 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-08 08:44:35 +00:00
frankmorgner
212bbf0959 added debug information
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@305 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-08 08:11:00 +00:00
frankmorgner
e9c53a09c3 - fixed invalid memory read
- added more input checking


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@304 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-08 07:51:40 +00:00