Commit Graph

451 Commits

Author SHA1 Message Date
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
65a63fac53 Fixed some compiler warnings
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@443 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-28 09:41:35 +00:00
oepen
6d10d6ecb7 Fixed some typos
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@442 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-28 09:37:20 +00:00
frankmorgner
d0d98f81d5 fixed configure with pace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@441 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-28 09:29:01 +00:00
frankmorgner
7bc4ad5701 git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@440 96b47cad-a561-4643-ad3b-153ac7d7599c 2011-07-27 22:25:15 +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
frankmorgner
14fb0aefe9 adjusted to changes of OpenPACE
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@438 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-26 11:17:20 +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
frankmorgner
d3b7dd4dac switched to opensc 0.12.1, where build_apdu has been accepted as sc_bytes2apdu
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@433 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-25 21:14:28 +00:00
frankmorgner
dea6b519ac added support for GetReaderInfo of BSI TR-03119
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@432 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-25 20:04:16 +00:00
frankmorgner
319e571cee - bugfix to be conform to OpenPACE API
- added consistency checks for lengths of APDUs


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@431 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-25 18:54:09 +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
843ea50985 released 0.3
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@425 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-05-20 09:28:48 +00:00
frankmorgner
e5a5be6eed updated changelog
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@424 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-05-20 09:23:30 +00:00
frankmorgner
8683459ebb fixed memory leaks
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@423 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-05-20 09:11:25 +00:00
frankmorgner
7e7f6ed570 updated documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@422 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-05-20 08:55:03 +00:00
frankmorgner
6fdd7bf560 - sm.c: added test for available memory
- npa.c: removed obsolete comments


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@421 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-05-20 08:44:20 +00:00
frankmorgner
e378d28e21 fixed segfault on cleanup
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@420 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-05-20 08:23:10 +00:00
frankmorgner
5cfe7d0443 fixed usage of PACE_SEC_clear_free
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@419 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-05-18 11:41:34 +00:00
frankmorgner
201f2f33b2 adapted to openpace 0.6
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@418 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-05-17 19:04:45 +00:00
frankmorgner
3c97fec911 - fixed references
- bitbake updated versions


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@417 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-19 07:37:13 +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
14e83a5e58 released 0.5
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@415 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-08 21:50:23 +00:00
frankmorgner
8e91433b98 fixed generation of distribution file
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@414 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-08 21:48:14 +00:00
frankmorgner
a1796eb535 adapted to the latest changes of libnpa
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@413 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-08 21:35:37 +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
frankmorgner
02b770e6b8 added mingw compatibility
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@411 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-08 14:03:38 +00:00
frankmorgner
37c008afea released 0.2
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@410 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-08 14:01:00 +00:00
frankmorgner
d36d8b7d2d git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@409 96b47cad-a561-4643-ad3b-153ac7d7599c 2011-02-07 12:15:49 +00:00
frankmorgner
3674c41f66 added compatibility to mingw
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@408 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-06 20:26:37 +00:00
frankmorgner
8bb7b592d6 avoiding problems due to uninitialized values
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@407 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-05 22:06:07 +00:00
frankmorgner
1edfcc941e - windows dependant include
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@406 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-05 15:11:55 +00:00
frankmorgner
da411362e9 - not exporting npa internal stuff anymore
- added sm_ctx_clear_free


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@405 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-03 22:09:22 +00:00
frankmorgner
24b13a0700 building clean distribution file
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@404 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-02 19:06:35 +00:00
frankmorgner
8cd77084cc renamed libpace to libnpa
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@403 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-02 18:49:14 +00:00
frankmorgner
ddbf72ee2e getting opensc only once
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@402 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-01 19:07:15 +00:00