frankmorgner
ecfc42e657
update information
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@382 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-13 08:51:18 +00:00
frankmorgner
f0a63365b8
releasing 0.3
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@372 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-08 12:27:18 +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
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
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
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
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
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
96c59928af
releasing 0.2
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@185 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-07-01 11:13:58 +00:00
frankmorgner
aa539552b7
removed the last references of references to ifdhandler functions v1.0
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@167 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-23 07:10:34 +00:00
oepen
a1766913a3
-Fixed two unhandled exceptions
...
-Removed some trailing whitespaces
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@164 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-22 18:16:07 +00:00
frankmorgner
0b03fced4a
- changed vpcd driver to use ifdhandler api v 3.0, since
...
support for v 1.0 has been dropped as of pcsc-lite 1.6
- fixed initialization error of vpcd due to uninitialized value
- changed virtual smartcard to use todays python syntax
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@163 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-22 14:06:07 +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
a86e0f3922
added missing files for distribution packages. fixed installation when no serialdropdir is given.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@142 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-09 15:36:36 +00:00
oepen
1259db1584
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@137 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-08 08:59:39 +00:00
frankmorgner
0eb3279e58
updated checksums, install files for recipes. updated log files for 0.6.1
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@132 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-05 22:10:45 +00:00
frankmorgner
1c53096603
bugfix: using libtool for installation
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@112 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-26 22:51:19 +00:00
frankmorgner
496cc54c6f
be less restrictive in ./configure. better output of configuration details
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@105 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-09 08:34:16 +00:00
frankmorgner
6ee4b9d8db
added missing files
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@104 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-08 21:03:17 +00:00
frankmorgner
0b60b64cb5
switched to autotools
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@103 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-08 20:58:58 +00:00
frankmorgner
1dcb95b3c3
updated file references of install target
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@97 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-07 19:13:30 +00:00
frankmorgner
0a06537cee
moved operations for opening sockets into separate functions
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@39 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-02-02 14:29:12 +00:00
oepen
5e9a299eaa
- Object orientated refactoring of CardGenerator
...
- PassportOS class in VirtualSmartcard.py is no longer needed, because all the functionallity is now in CardGenerator
- Removed hard coded image
- Added version number and type to file format
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@38 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-02-01 16:40:27 +00:00
oepen
e500aa3382
Refactoring and Bugfixing:
...
- CryptoUtils:
- removing hard coded keylength from append_padding in CryptoUtils
- rewrote append_padding, slightly modified strip_padding in CryptoUtils
- added get_cipher_keylen and get_cipher_blocklen to CryptoUtils
- Updated UnitTest in CryptoUtils. Note: PBKDF2.self_test() fails!!!
- added new function protect_string to encrypt and authenticate a string
- Removed hard coded padding pattern
- VirtualICC:
- Added and integrated functions to load and save VirtualICC objects
- Added exception handling for opening of the socket
- SmartcardSAM:
- Removed all object persistance functionaliy from SmartcardSAM
- Changed the constructors of the *SAM classes
- Moved all the functionality to create cards (especially the pre-initialized filesystems for each card type) to the new file GenerateCards.py
- Added minimal command line based interface to GenerateCards.py to generate customized cards and store them in a file
- Removed default sam and mf files (testconfig.mf and testconfig.sam)
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@35 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-30 18:51:00 +00:00
oepen
5f92f876fb
Small Makefile fix: Added default target to virtualsmartcard/Makefile
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@30 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-25 17:18:20 +00:00
oepen
ca8e202b53
PassportSAM: MRZ for key derivation is now read from MF instead of hard-encoding it in the code
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@25 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-23 15:59:22 +00:00
oepen
6fb50633e6
Changed Passport testdata
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@24 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-23 15:06:40 +00:00
frankmorgner
b0f3ce24e5
- added functions for a smartcard reset
...
- changed communication protocol via socket, length is coded in network byteorder
- splitted vpcd.[h|c] into more files, added include-guards
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@18 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-13 21:33:13 +00:00
frankmorgner
e30640e43d
bugfix
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@15 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-10 22:53:34 +00:00
frankmorgner
c535710e13
added serial number to cryptoflex. opensc can read it.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@14 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-08 14:33:52 +00:00
frankmorgner
9dd84e5962
bugfix
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@13 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-01-08 00:07:56 +00:00