Commit Graph

  • 5ab6ee7162 fixed error on using stdout as debug log frankmorgner 2011-09-30 15:42:11 +00:00
  • 1792046547 implemented ssl_error as macro frankmorgner 2011-09-30 15:41:37 +00:00
  • 7c2be6b93c implemented ssl_error as macro frankmorgner 2011-09-30 15:41:23 +00:00
  • c22199f623 - moved example apdus to npa-tool frankmorgner 2011-09-26 08:01:30 +00:00
  • c968af76f9 - fixed type of auxiliary data in c-apdu - parsing mse:set for ta - check terminals signature for ta frankmorgner 2011-09-23 15:35:47 +00:00
  • fd6a13263d - checking description against the certificate is now done internally in libnpa, removed hash of certificate description from pace output - importing terminal certificates to verify terminals signature - fixed hex dump without sc_context frankmorgner 2011-09-23 13:19:59 +00:00
  • 2a59a1806a - fixed corruption of certificate description - adjusted output parsing from certificate_description_print - fixed check for certificate description in terminal certificate frankmorgner 2011-09-22 13:48:59 +00:00
  • 62d8b637ab generating cv certificate from apdu data to perform check against certificate description frankmorgner 2011-09-21 22:08:52 +00:00
  • a75ae8a2bd handling certificate description and chat in libnpa instead of ccid-emulator frankmorgner 2011-09-20 21:22:32 +00:00
  • 85158c9ed9 checking certificate description on pso:verify certificate frankmorgner 2011-09-20 20:12:50 +00:00
  • 93d727841e dumping chat frankmorgner 2011-09-20 19:41:31 +00:00
  • d8e2eb9afc dumping certificate description frankmorgner 2011-09-20 19:36:32 +00:00
  • 3fc68b1682 fixed problems on initialization frankmorgner 2011-09-17 20:42:51 +00:00
  • dc3164422a added ugly hack to support changing the eID-PIN with AusweisApp frankmorgner 2011-09-14 14:24:30 +00:00
  • b66134e000 fixed parsing of modification input frankmorgner 2011-09-14 14:07:28 +00:00
  • bef62adbfc Lexically sorted the optparse options oepen 2011-09-07 09:06:18 +00:00
  • 74dbdbec98 Removed vim folding markers oepen 2011-09-06 12:45:47 +00:00
  • ade39a9ef8 Added documentation generation to build process oepen 2011-09-06 12:37:43 +00:00
  • be4fb180ca Fixed the documentation. epydoc still fails to build html files oepen 2011-09-05 09:31:57 +00:00
  • deebe7d050 Fixed grammar error oepen 2011-09-05 08:20:45 +00:00
  • cfc8691891 added error checking frankmorgner 2011-09-02 22:15:04 +00:00
  • 84d609ea51 - new pin was not included in apdu for pin modification (fixed) - added support for modification/verification apdus from the host that don't contain any data. the reader automatically allocates the correct number of bytes for the pin(s) and modifies apdu's case and lc. frankmorgner 2011-09-02 22:14:38 +00:00
  • 0f979c9563 fixed problems parsing pin modification data structure frankmorgner 2011-09-02 19:29:10 +00:00
  • e1e359b440 fixed bugs for pin modification frankmorgner 2011-09-02 15:38:01 +00:00
  • 326904b2de fixed bug stating insufficient buffer frankmorgner 2011-09-02 14:15:26 +00:00
  • 59b8a9b0da fixed bugs due to new version of opensc frankmorgner 2011-09-02 13:48:17 +00:00
  • a0cc017ae6 -Fixed indention -Improved a comment oepen 2011-09-01 15:06:44 +00:00
  • 45e453796f Removed duplicate code oepen 2011-09-01 15:04:31 +00:00
  • 2e2ad5e47b Added some documentation oepen 2011-09-01 14:42:34 +00:00
  • fe6c2c7f31 Make pylint happy oepen 2011-09-01 14:30:21 +00:00
  • 373bf41ff3 - Remember the password when loading a card from disk and reuse it when saving the card. - Added a bit of documentation oepen 2011-09-01 14:04:36 +00:00
  • 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 frankmorgner 2011-08-30 15:55:40 +00:00
  • 9aa24f9e4a Slight improvements to generate_public_key. Unfortunately the function is still broken oepen 2011-08-24 13:15:28 +00:00
  • 159dd0920a More cleanup oepen 2011-08-23 15:06:50 +00:00
  • d467c204c5 Cleanup oepen 2011-08-23 14:09:39 +00:00
  • 67f9e654c7 Added documentation oepen 2011-08-23 13:43:24 +00:00
  • 0a308c078e Reduced overlap between ePass_SE and PassportSAM oepen 2011-08-23 13:39:23 +00:00
  • 63f3f3809c Code cleanup oepen 2011-08-23 13:18:52 +00:00
  • b8306d2a40 -Added some documentation -Partially fixed format string usage in the logger oepen 2011-08-23 12:28:16 +00:00
  • 596b43a038 - Removed MF reference from Security Environment (only needed for cryptoflex card) - General code cleanup oepen 2011-08-23 12:11:52 +00:00
  • 841069364c Code cleanup oepen 2011-08-23 11:48:42 +00:00
  • f04529b1f1 - Move CryptoflexMF to cards.cryptoflex - A little bit of code cleanup in SmartcardFilesystem.py oepen 2011-08-23 10:49:35 +00:00
  • 4694e1fd1a Fixed broken imports oepen 2011-08-23 10:17:27 +00:00
  • ad398b5d64 Refactoring: Moving card specific stuff to separate package oepen 2011-08-23 10:10:15 +00:00
  • fd7b98d65b Added a bit of documentation oepen 2011-08-17 15:10:39 +00:00
  • d4b54a9410 Moved Security_Environment code to the SEutils file oepen 2011-08-17 14:59:57 +00:00
  • 8d14525349 Code cleanup oepen 2011-08-17 14:36:45 +00:00
  • ee7aff5293 -Bugfix: Selection from current DF -Replaced print by logging oepen 2011-08-17 14:18:55 +00:00
  • 9558f4ffb7 -Updated copyright date -Added a little bit of documentation oepen 2011-08-17 11:15:22 +00:00
  • 6e73b5961e Removed incorrect sanity check oepen 2011-08-17 11:06:05 +00:00
  • dcfc185389 Removed incorrect sanity check oepen 2011-08-17 11:02:08 +00:00
  • 7a810ebece Fixed urandom() usage oepen 2011-08-17 10:43:34 +00:00
  • d98a889133 Fixed urandom() usage oepen 2011-08-17 10:41:19 +00:00
  • ffeb5ef066 Refactoring: Merged Secure_Messaging and Security_Environment classes oepen 2011-08-17 10:31:18 +00:00
  • 4af89d967f patch to newest version of libccid frankmorgner 2011-08-09 11:20:29 +00:00
  • 23dfd8c62b Fixed some typos oepen 2011-08-08 15:24:28 +00:00
  • 90bffcf039 Fix storage and retrieval of Security Environments oepen 2011-08-08 15:17:06 +00:00
  • 414903481c Removed duplicate method oepen 2011-08-08 12:43:57 +00:00
  • 23e323ff42 Forgot to return SW[NORMAL] in case an MSE command actually succeeds :-) oepen 2011-08-08 12:27:58 +00:00
  • d8a1703c6d The __replace_tag function was completely broken. It is now somewhat fixed, but should still be replaced by a more elegant solution. oepen 2011-08-08 12:20:31 +00:00
  • 227b684db8 Added some documentation oepen 2011-08-08 11:17:05 +00:00
  • 0fdb1004eb returning default strings on selection of wrong language frankmorgner 2011-08-08 10:52:45 +00:00
  • be145f6d06 reusing socket on reconnect frankmorgner 2011-08-08 10:52:02 +00:00
  • 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. oepen 2011-08-05 14:43:06 +00:00
  • 1144b8de3d checking attribute existance before referencing it frankmorgner 2011-08-02 13:55:29 +00:00
  • 9022092c18 fixed bogus import frankmorgner 2011-08-02 09:16:51 +00:00
  • 8176a7fdf0 fixed potential buffer overflow when parsing input frankmorgner 2011-08-02 09:04:29 +00:00
  • 2c78e4ff64 Bugfixes: Fixed import error and incorrect method call oepen 2011-08-01 14:32:04 +00:00
  • e33544452f Bugfixes: Wrong number of arguments for function call and missing import oepen 2011-08-01 12:59:25 +00:00
  • 25cf21afb2 Replaced print calls by actual logging oepen 2011-08-01 12:39:57 +00:00
  • 168f4fd434 Bugfix: Missing self. before reference to content dictionary oepen 2011-08-01 10:52:37 +00:00
  • ae54cf5e18 Better exception handling oepen 2011-07-30 13:13:46 +00:00
  • c908fa9436 Code style improvements oepen 2011-07-30 12:23:23 +00:00
  • 24c858eba6 Code style improvements oepen 2011-07-29 22:07:03 +00:00
  • 03a4f8151e Code style improvements oepen 2011-07-29 20:44:15 +00:00
  • 28972ee5be Code style improvements oepen 2011-07-29 20:40:38 +00:00
  • be448f9001 Merged CardContainer class with SAM. oepen 2011-07-29 20:15:45 +00:00
  • 60d8d5501b Code style improvements oepen 2011-07-29 20:06:15 +00:00
  • dfe2ecba2a Removed remaining call to CardContainer.getKey oepen 2011-07-29 19:44:50 +00:00
  • 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. oepen 2011-07-29 19:35:46 +00:00
  • 9c7343ffd3 Code style improvements oepen 2011-07-29 18:49:03 +00:00
  • 7ada4a0ca5 Bugfixing and code style improvements oepen 2011-07-29 18:25:30 +00:00
  • 65a8acaae3 -Bugfix: Added missing import in PassportSAM -Bugfix: Fixed constant names in SEutils oepen 2011-07-29 18:16:55 +00:00
  • 97722f937d Removing unused functions oepen 2011-07-29 18:03:35 +00:00
  • e23da2ba76 Removing unused functions oepen 2011-07-29 18:00:30 +00:00
  • 87860758c8 Removing unused functions oepen 2011-07-29 17:52:20 +00:00
  • b8ed669d9f Added convenience functions oepen 2011-07-29 17:49:40 +00:00
  • 61e93395ba Code style improvements oepen 2011-07-29 17:42:44 +00:00
  • 56b0a57a2b Code style improvements oepen 2011-07-29 17:29:02 +00:00
  • 039da1c64a Code style improvements and bugfixing in mutual_authenticate oepen 2011-07-29 16:32:58 +00:00
  • 14c6690eb7 Code style improvements oepen 2011-07-29 16:20:57 +00:00
  • 3acb3beb65 Code style improvements oepen 2011-07-29 16:13:25 +00:00
  • d89e77af59 Code style improvements oepen 2011-07-29 15:57:39 +00:00
  • 0aae975fef Bug hunting and beautifying with pylint oepen 2011-07-29 15:33:39 +00:00
  • dc040c7ab9 -Bugfix: Fixed incorrect indention -Bugfix: Do not default to MD5 hashing oepen 2011-07-29 14:38:30 +00:00
  • 48571a6f2b Bugfix: adapted changed signature of the Security_Environment constructor oepen 2011-07-29 14:21:31 +00:00
  • 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. oepen 2011-07-29 14:15:10 +00:00
  • 47461a40ca SmartcardSAM: Fixed syntax errors SEutils: Now replying with error RAPDU when we do not support a referenced algorithm oepen 2011-07-29 09:36:30 +00:00
  • 6cd71ddd55 Various Bugfixes with regard to parsing a MSE:SetAT. The whole SE and SAM system should really be rewritten. oepen 2011-07-29 09:08:46 +00:00
  • 65a63fac53 Fixed some compiler warnings oepen 2011-07-28 09:41:35 +00:00