Commit Graph

518 Commits

Author SHA1 Message Date
frankmorgner
326904b2de fixed bug stating insufficient buffer
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@518 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-02 14:15:26 +00:00
frankmorgner
59b8a9b0da fixed bugs due to new version of opensc
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@517 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-02 13:48:17 +00:00
oepen
a0cc017ae6 -Fixed indention
-Improved a comment


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@516 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-01 15:06:44 +00:00
oepen
45e453796f Removed duplicate code
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@515 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-01 15:04:31 +00:00
oepen
2e2ad5e47b Added some documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@514 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-01 14:42:34 +00:00
oepen
fe6c2c7f31 Make pylint happy
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@513 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-01 14:30:21 +00:00
oepen
373bf41ff3 - Remember the password when loading a card from disk and reuse it when saving the card.
- Added a bit of documentation


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@512 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-01 14:04:36 +00:00
frankmorgner
495022b38a - added openssl debug code to ccid emulator
- fixed some bugs due to changes in recent opensc version
- added support for changing pin via standard leser


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@511 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-30 15:55:40 +00:00
oepen
9aa24f9e4a Slight improvements to generate_public_key. Unfortunately the function is still broken
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@510 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-24 13:15:28 +00:00
oepen
159dd0920a More cleanup
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@509 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 15:06:50 +00:00
oepen
d467c204c5 Cleanup
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@508 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 14:09:39 +00:00
oepen
67f9e654c7 Added documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@507 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 13:43:24 +00:00
oepen
0a308c078e Reduced overlap between ePass_SE and PassportSAM
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@506 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 13:39:23 +00:00
oepen
63f3f3809c Code cleanup
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@505 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 13:18:52 +00:00
oepen
b8306d2a40 -Added some documentation
-Partially fixed format string usage in the logger


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@504 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 12:28:16 +00:00
oepen
596b43a038 - Removed MF reference from Security Environment (only needed for cryptoflex card)
- General code cleanup


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@503 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 12:11:52 +00:00
oepen
841069364c Code cleanup
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@502 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 11:48:42 +00:00
oepen
f04529b1f1 - Move CryptoflexMF to cards.cryptoflex
- A little bit of code cleanup in SmartcardFilesystem.py


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@501 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 10:49:35 +00:00
oepen
4694e1fd1a Fixed broken imports
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@500 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 10:17:27 +00:00
oepen
ad398b5d64 Refactoring: Moving card specific stuff to separate package
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@499 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 10:10:15 +00:00
oepen
fd7b98d65b Added a bit of documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@498 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-17 15:10:39 +00:00
oepen
d4b54a9410 Moved Security_Environment code to the SEutils file
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@497 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-17 14:59:57 +00:00
oepen
8d14525349 Code cleanup
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@496 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-17 14:36:45 +00:00
oepen
ee7aff5293 -Bugfix: Selection from current DF
-Replaced print by logging


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@495 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-17 14:18:55 +00:00
oepen
9558f4ffb7 -Updated copyright date
-Added a little bit of documentation


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@494 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-17 11:15:22 +00:00
oepen
6e73b5961e Removed incorrect sanity check
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@493 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-17 11:06:05 +00:00
oepen
dcfc185389 Removed incorrect sanity check
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@492 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-17 11:02:08 +00:00
oepen
7a810ebece Fixed urandom() usage
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@491 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-17 10:43:34 +00:00
oepen
d98a889133 Fixed urandom() usage
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@490 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-17 10:41:19 +00:00
oepen
ffeb5ef066 Refactoring: Merged Secure_Messaging and Security_Environment classes
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@489 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-17 10:31:18 +00:00
frankmorgner
4af89d967f patch to newest version of libccid
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@488 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-09 11:20:29 +00:00
oepen
23dfd8c62b Fixed some typos
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@487 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-08 15:24:28 +00:00
oepen
90bffcf039 Fix storage and retrieval of Security Environments
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@486 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-08 15:17:06 +00:00
oepen
414903481c Removed duplicate method
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@485 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-08 12:43:57 +00:00
oepen
23e323ff42 Forgot to return SW[NORMAL] in case an MSE command actually succeeds :-)
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@484 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-08 12:27:58 +00:00
oepen
d8a1703c6d The __replace_tag function was completely broken. It is now somewhat fixed, but
should still be replaced by a more elegant solution.


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@483 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-08 12:20:31 +00:00
oepen
227b684db8 Added some documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@482 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-08 11:17:05 +00:00
frankmorgner
0fdb1004eb returning default strings on selection of wrong language
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@481 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-08 10:52:45 +00:00
frankmorgner
be145f6d06 reusing socket on reconnect
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@480 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-08 10:52:02 +00:00
oepen
ce87ed1e8c Added a SAM reference to the Secure_Messaging class in order to resolve an error.
The classes in SmartcardSAM are way too entangled and definitively need to be
refactored.


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@479 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-05 14:43:06 +00:00
frankmorgner
1144b8de3d checking attribute existance before referencing it
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@478 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-02 13:55:29 +00:00
frankmorgner
9022092c18 fixed bogus import
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@477 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-02 09:16:51 +00:00
frankmorgner
8176a7fdf0 fixed potential buffer overflow when parsing input
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@476 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-02 09:04:29 +00:00
oepen
2c78e4ff64 Bugfixes: Fixed import error and incorrect method call
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@475 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-01 14:32:04 +00:00
oepen
e33544452f Bugfixes: Wrong number of arguments for function call and missing import
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@474 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-01 12:59:25 +00:00
oepen
25cf21afb2 Replaced print calls by actual logging
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@473 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-01 12:39:57 +00:00
oepen
168f4fd434 Bugfix: Missing self. before reference to content dictionary
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@472 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-01 10:52:37 +00:00
oepen
ae54cf5e18 Better exception handling
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@471 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-30 13:13:46 +00:00
oepen
c908fa9436 Code style improvements
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@470 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-30 12:23:23 +00:00
oepen
24c858eba6 Code style improvements
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@469 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-29 22:07:03 +00:00