Commit Graph

336 Commits

Author SHA1 Message Date
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
frankmorgner
c2a0246ae4 implemented smart card class for relaying
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@303 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-07 21:04:03 +00:00
frankmorgner
ac90a9e422 added copyright and author
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@302 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-07 13:12:48 +00:00
frankmorgner
de2f9d7c82 rewrite and cleanup complete
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@301 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-07 13:00:20 +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
5651019177 svc fixed uninitialized value
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@298 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-06 13:48:31 +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