oepen
be448f9001
Merged CardContainer class with SAM.
...
Since part of the CardContainer functionallity was removed and the seperation
between both classes seemed kind of random, CardContainer was ditched in favor
of SAM.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@466 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 20:15:45 +00:00
oepen
60d8d5501b
Code style improvements
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@465 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 20:06:15 +00:00
oepen
dfe2ecba2a
Removed remaining call to CardContainer.getKey
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@464 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 19:44:50 +00:00
oepen
46619ae71d
Removed in-memory encryption of data. We didn't use it and it was probably
...
buggy anyway, so this is a good opportunity to get rid of some awkard code.
In memory encryption might be properly implemented lateron using the SAM.FSencrypt
and SAM.FSdecrypt functions, but I doubt it's worth the trouble.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@463 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 19:35:46 +00:00
oepen
9c7343ffd3
Code style improvements
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@462 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 18:49:03 +00:00
oepen
7ada4a0ca5
Bugfixing and code style improvements
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@461 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 18:25:30 +00:00
oepen
65a8acaae3
-Bugfix: Added missing import in PassportSAM
...
-Bugfix: Fixed constant names in SEutils
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@460 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 18:16:55 +00:00
oepen
97722f937d
Removing unused functions
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@459 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 18:03:35 +00:00
oepen
e23da2ba76
Removing unused functions
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@458 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 18:00:30 +00:00
oepen
87860758c8
Removing unused functions
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@457 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 17:52:20 +00:00
oepen
b8ed669d9f
Added convenience functions
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@456 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 17:49:40 +00:00
oepen
61e93395ba
Code style improvements
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@455 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 17:42:44 +00:00
oepen
56b0a57a2b
Code style improvements
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@454 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 17:29:02 +00:00
oepen
039da1c64a
Code style improvements and bugfixing in mutual_authenticate
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@453 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 16:32:58 +00:00
oepen
14c6690eb7
Code style improvements
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@452 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 16:20:57 +00:00
oepen
3acb3beb65
Code style improvements
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@451 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 16:13:25 +00:00
oepen
d89e77af59
Code style improvements
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@450 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 15:57:39 +00:00
oepen
0aae975fef
Bug hunting and beautifying with pylint
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@449 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 15:33:39 +00:00
oepen
dc040c7ab9
-Bugfix: Fixed incorrect indention
...
-Bugfix: Do not default to MD5 hashing
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@448 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 14:38:30 +00:00
oepen
48571a6f2b
Bugfix: adapted changed signature of the Security_Environment constructor
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@447 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 14:21:31 +00:00
oepen
d9f16f5a69
Even though there may be different Keys to protect CAPDUs and RAPDUs there is
...
only one Security Environment. Therefore, I merged the CAPDU_SE and RAPDU_SE
into current_SE. Works with the ePass Emulation, still need to test it with
the cryptoflex card.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@446 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 14:15:10 +00:00
oepen
47461a40ca
SmartcardSAM: Fixed syntax errors
...
SEutils: Now replying with error RAPDU when we do not support a referenced algorithm
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@445 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 09:36:30 +00:00
oepen
6cd71ddd55
Various Bugfixes with regard to parsing a MSE:SetAT.
...
The whole SE and SAM system should really be rewritten.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@444 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 09:08:46 +00:00
oepen
43df314a5e
-Moved MAX_LE defines to ConstantDefinitions
...
-Added a parameter to control whether or not an ISO card supports extended length APDUs
-Correctly indicating extended length support in the ATR
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@439 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-26 12:30:18 +00:00
oepen
3fe52398ed
Imported minor bugfix from upstream
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@437 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-26 11:16:59 +00:00
oepen
25635cb025
-Removed unused code from utils.py
...
-Added a unit test for case 2 extended length APDUs
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@436 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-26 11:10:06 +00:00
oepen
3447849133
-Bugfix: The Le of the Command APDU was used when sending out an error R_APDU
...
-Enhancement: Using correct effective Le for R_APDUs
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@435 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-26 09:46:49 +00:00
oepen
a98c1f84e7
-Bugfix: Erroneously set Lc and not Le for case 2 APDUs
...
-Added new property effective_Le
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@434 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-25 21:59:34 +00:00
oepen
394ff534ed
Fixed typo
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@430 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-25 14:52:23 +00:00
oepen
6e6dd7cfa7
Preliminary extended length APDU support
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@429 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-25 11:48:25 +00:00
oepen
d248e5ae40
Bugfix: wrong parameters were set in a call for formatResult
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@428 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-25 10:10:25 +00:00
frankmorgner
a7dbff3c62
silent build rules
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@427 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-23 22:24:45 +00:00
frankmorgner
1676f73d06
clearification on requirements for compliance to IFDHandler API version 3
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@426 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-23 14:08:01 +00:00
frankmorgner
29a713904a
released 0.4, which was mistakenly tagged 0.3
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@416 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-09 08:54:43 +00:00
frankmorgner
6cb6e6a633
released 0.3
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@412 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-08 21:31:45 +00:00
oepen
7f935fd9a6
Reverting bad commit
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@401 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-01 13:53:31 +00:00
oepen
af3d8fe0bb
Shut up autotools
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@400 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-01 13:47:53 +00:00
frankmorgner
8ab0ea2eb3
fixed generation of ePass file system (fixes 3164830)
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@393 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-25 12:53:26 +00:00
frankmorgner
2cd4899a42
fixed path walking (fixes 3164775)
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@392 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-24 15:30:11 +00:00
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