Commit Graph

  • 62a06241c0 API change: substitute new PURPOSE_GET_RESPONSE for PURPOSE_RETRY to match the actual semantics, add a different value for PURPOSE_RETRY to match the description Refactor READ BINARY functionality out of iso_7816_4 into a building block Implement READ BINARY (and "cat" command) for RFID storage cards using the new building block hploetz 2007-06-02 06:14:18 +0000
  • 85335da1b6 Implement comments for fingerprints.txt Add start of an implementation of rfid characteristics Update fingerprints after encounter with two real german passports hploetz 2007-06-01 20:42:45 +0000
  • 7819b38ec2 add rfid_card to project file hploetz 2007-06-01 20:41:49 +0000
  • a810933abc Add RFID_Card class. (I just discovered that section 3.2.2 of PC/SC 2.01 specifies handling of contactless storage cards such as mifare through an emulated APDU interface.) hploetz 2007-06-01 20:40:24 +0000
  • a1b12fe941 Allow arbitrary parameters for select_application hploetz 2007-06-01 20:37:41 +0000
  • 9647ffa302 Log ATR hploetz 2007-06-01 20:36:38 +0000
  • 89f7828412 Another fingerprinting characteristic: SELECT APPLICATION with P2=0 and no Le leads to 6700 Wrong Length (The LDS technical report Appendix 2 to Annex A only explicitly allows P2=0xc with no Le) hploetz 2007-05-31 19:33:35 +0000
  • 59adb05865 Added the ATR of a german passport I once saw a long time ago hploetz 2007-05-31 13:31:13 +0000
  • 7ff9b92d8d Use regular expressions Add Belgian passport from Ludovics list hploetz 2007-05-31 12:33:03 +0000
  • cec02fbb96 Functionality to match against 'database' hploetz 2007-05-31 02:51:02 +0000
  • b1bb99030d Functional fix for the hypothetical case that SHORT_SW_WIDTH*(number of data groups checked) is not divisible by 8 hploetz 2007-05-30 23:57:18 +0000
  • 50c9be2b50 copy'n'error hploetz 2007-05-30 18:25:34 +0000
  • 913e09a14e Play safe hploetz 2007-05-30 18:12:24 +0000
  • a05c6bf746 less verbose hploetz 2007-05-30 18:06:57 +0000
  • 92e16bef2c Add fingerpass for passport fingerprinting hploetz 2007-05-30 16:48:35 +0000
  • 10a9dab1ef Allow SELECT APPLICATION and READ BINARY with given Le Add resolve_symbolic_name convenience function Add get_atr function Implement STOP_ATRS functionality to stop ISO_7816_4_Card from accepting all cards, blacklist contactless storage cards hploetz 2007-05-30 16:47:43 +0000
  • 758223149b Make passport_application work with windows hploetz 2007-05-08 09:50:47 +0000
  • 47662ab48e Get working under Windows with http://cheeseshop.python.org/pypi/PyCSC/0.3 (with Python 2.5 for Windows) Note: you additionally need pycrypto, the source of which you'll get from http://cheeseshop.python.org/pypi/pycrypto/2.0.1 Compilation of pycrypto can work with cygwin in two steps: python setup.py build -c mingw32 and python setup.py install --skip-build hploetz 2007-05-08 09:23:25 +0000
  • a94d4d8a32 easier to type alias hploetz 2007-05-08 09:19:11 +0000
  • 47f7e768c1 Add config parameter to TCOS_Security_Environment._mac (was forgotten during refactoring) hploetz 2007-04-10 00:51:40 +0000
  • 98f1dbe110 API change: DRIVER_NAME now is a (merged) list hploetz 2007-03-18 23:38:24 +0000
  • 375705a6f1 print out which SW was not ok hploetz 2007-03-18 23:13:09 +0000
  • 8f5951ad23 Improve brutefid hploetz 2007-03-18 23:12:01 +0000
  • 6aaff0ef86 Fix length for passports hploetz 2007-02-15 21:19:18 +0000
  • e9a4d97dc8 decode_mrz override check_sw hploetz 2007-02-15 21:16:33 +0000
  • 09467b61a1 read_dg, read_sod and read_com commands hploetz 2007-02-13 13:47:40 +0000
  • f2f8a69d90 Add p2 parameter to open_file hploetz 2007-02-13 13:43:56 +0000
  • 4ac8a00868 Introduce DEFAULT_CONTEXT hploetz 2007-02-13 13:23:29 +0000
  • 085df9d25c Fix property overriding for subclasses. Might break things (possible regression point) hploetz 2007-02-13 13:22:42 +0000
  • 791c175eff Start parsing passport data hploetz 2007-02-13 02:37:55 +0000
  • d685765fa0 Big change: Replace SW_OK and SW1_RETRY with a more generic check_sw() that gets its data from STATUS_MAP Small improvements in brutefid, including the ability to brute subdirectories More fixes for passport secure messaging, using check_sw, can now decrypt error responses ("End of file reached before Le bytes read", etc.) Add support for tuples/lists in dictionaries in MERGE_DICTS_RECURSIVE in cards/__init__.py hploetz 2007-02-13 00:32:04 +0000
  • f01836762b TCOS_Security_Environment: Handle 0x98/0x99 SM object Passport_Application: Implement secure messaging hploetz 2007-02-12 20:09:48 +0000
  • 617a1693b6 Move parse_fancy_apdu from Cyberflex_Shell to utils.C_APDU Extract actual MAC computation from tcos_card.TCOS_Security_Environment for later overriding in passport_application.Passport_Security_Environment hploetz 2007-02-12 16:41:19 +0000
  • 52fb65dc5d crypto_utils: Add generalized operation_on_string passport_application: Completed BAC authentication and key derivation hploetz 2007-02-12 01:51:20 +0000
  • 82cddea7e7 Add support for aliases in application selection Add skeleton for support of application specific commands that can be dynamically loaded Pending addition of commands to work with passports hploetz 2007-02-10 21:52:06 +0000
  • a4efadb377 Do not make the __init__ method mandatory hploetz 2007-02-10 21:46:57 +0000
  • da08a97db7 Add support for detecting dynamic changes to an object's COMMANDS attribute hploetz 2007-02-10 21:46:20 +0000
  • a0ec31f0b7 Fixed transmit for 64bit systems hploetz 2007-02-10 02:08:31 +0000
  • 3c2a32efe4 UTF8 hploetz 2007-01-23 14:51:00 +0000
  • 48a204816c Simple tool to parse usbsnoop-logs hploetz 2007-01-17 09:15:37 +0000
  • a7a36c1dd2 New AIDs, name can be None now hploetz 2007-01-17 09:14:35 +0000
  • 42cc88fc9f Move select_application to 7816-4 Add vendor registry Some AIDs Simplify _decode_df_name hploetz 2007-01-16 17:14:37 +0000
  • 8a9b683d99 AIDs hploetz 2007-01-15 13:34:24 +0000
  • ba321e10ab Leave context when encountering a structure that is not application specific or universal hploetz 2007-01-14 14:41:43 +0000
  • c34c6a084c Fix size determination in building blocks Create tcos 3.0 class hploetz 2007-01-14 14:37:57 +0000
  • 0d21b554e5 Decode recognized AIDs as DF name (find a conceptual flaw en passant and work around it) hploetz 2007-01-14 14:25:57 +0000
  • 07de9a478d API change: more information in the APPLICATIONS dictionary hploetz 2007-01-14 13:46:30 +0000
  • b4a825c461 Fix read_record arguments hploetz 2007-01-13 02:25:09 +0000
  • 2eac1f6b44 Fix SFI handling hploetz 2007-01-13 02:24:24 +0000
  • 83ba3a1d73 Add SECCOS ATRs, no functionality yet hploetz 2007-01-12 11:28:43 +0000
  • c19a06d7f1 Factor out P2 parameter of SELECT Add TCOS 3.0 ATR hploetz 2007-01-12 11:28:16 +0000
  • ec3cb54a7f Ignore errors during decrypt/auth hploetz 2006-11-29 20:26:00 +0000
  • 050301e0a3 Ignore colons in fancy apdus hploetz 2006-11-29 09:40:23 +0000
  • 912c2d1d7c another ATR hploetz 2006-11-28 23:12:59 +0000
  • f79863986d silently ignore unknown algorithms in MSE (will raise an exception when trying to use in get_cipherspec anyways) and only warn upon unknown config elements hploetz 2006-11-28 08:22:28 +0000
  • b9fc4b4487 Implement response decryption and decapsulation hploetz 2006-11-27 04:17:09 +0000
  • 1cc1433cd0 Implement pin entry Note: DO NOT USE, seems to be broken hploetz 2006-11-27 04:16:45 +0000
  • 97387a1d30 slightly better hploetz 2006-11-26 18:24:29 +0000
  • 68b5e8673a small bug regarding filler bytes hploetz 2006-11-26 05:16:23 +0000
  • 98034cf1f7 somewhat more elegant implementation, allows 00 or ff filler bytes to be present hploetz 2006-11-26 05:10:04 +0000
  • 58505948ea allow 00 and ff filler bytes to be returned optionally hploetz 2006-11-26 05:09:30 +0000
  • c7a610d2af response authentication hploetz 2006-11-25 05:08:11 +0000
  • ed4230a5cc output which data is encrypted hploetz 2006-11-24 22:50:51 +0000
  • f45e4df652 make it possible to print an arbitrary offset hploetz 2006-11-24 22:50:17 +0000
  • 07ced57fcd secure messaging for command apdu seems to work hploetz 2006-11-24 21:54:55 +0000
  • 124c2c3b60 implement pack() hploetz 2006-11-23 15:02:23 +0000
  • aa56530279 implement unpack(data, with_marks) hploetz 2006-11-23 14:40:58 +0000
  • 37754ffc51 Make marks relative to data field of APDU hploetz 2006-11-23 14:38:53 +0000
  • bd03819002 minor typos hploetz 2006-11-23 14:34:00 +0000
  • 09560911b6 separate SE configs for mac and encrytion hploetz 2006-11-22 06:26:28 +0000
  • 7cba0484e8 Implemented logging Hint: Try something like log %(HOMEDIR)s/cyberflex-shell-%(ISOTIME)s.log in your ~/.cyberflex-shellrc hploetz 2006-11-22 06:25:48 +0000
  • 8534043036 some secure messaging and security environment infrastructure hploetz 2006-11-21 00:53:29 +0000
  • 3f8d22e4d5 after_send hook hploetz 2006-11-21 00:51:32 +0000
  • 3f9b79c511 Some useful options hploetz 2006-11-21 00:50:56 +0000
  • 586cc480b8 Separate rc file and main loop hploetz 2006-11-21 00:38:05 +0000
  • dddcdad519 At least shows the name now. hploetz 2006-11-20 22:54:57 +0000
  • c6537acc51 some postcard tool, probably not very useful, see http://www.parodie.com/monetique/explorer.htm hploetz 2006-11-20 05:30:54 +0000
  • 586a2049e2 should've tested that ... hploetz 2006-11-19 21:10:41 +0000
  • a0d78cf3a6 implement reading of ~/.basenamerc hploetz 2006-11-19 12:18:01 +0000
  • c21d63752f move cipher() to crypto_utils hploetz 2006-11-19 04:53:10 +0000
  • 3994578708 Minor beautification hploetz 2006-11-19 04:44:45 +0000
  • 15f7be1e4f Support syntax for marking parts of tlv structures in fancy APDUs hploetz 2006-11-19 03:31:54 +0000
  • 823bd7bedf prepare for new feature hploetz 2006-11-18 15:30:27 +0000
  • 753f3ef271 delete command hploetz 2006-11-15 08:16:35 +0000
  • 3bc5f0d3cf encryption fixes hploetz 2006-11-08 10:29:18 +0000
  • 1b26df986b some crypto functions hploetz 2006-11-08 06:39:54 +0000
  • db5f07df04 minor tweaks hploetz 2006-10-25 13:31:43 +0000
  • b3ea921b2f support for parsing of fancy commands without executing them hploetz 2006-10-25 11:19:28 +0000
  • 02e3988218 stupid typo hploetz 2006-10-19 23:39:22 +0000
  • 3969675691 save response command fancy apdu parsing hploetz 2006-10-19 10:21:50 +0000
  • bbbf53fad1 READ RECORD commands hploetz 2006-10-19 10:20:32 +0000
  • ace0e99477 Make it possible to ignore errors of a certain type when running a script hploetz 2006-09-26 13:05:18 +0000
  • a29922f84c CardOS status codes hploetz 2006-09-23 13:59:14 +0000
  • f67dd85279 Fix merge order hploetz 2006-09-23 13:59:00 +0000
  • 97af2bd2ed More comfortable interface to brutefid hploetz 2006-08-24 07:02:05 +0000
  • dce8c9f90f Need crypto module hploetz 2006-08-24 07:01:20 +0000
  • 6759203dbf Fix multi-byte tags in combination with multi-byte lengths hploetz 2006-08-06 03:47:58 +0000
  • bc89e9c262 better boolean decoding hploetz 2006-08-06 03:12:05 +0000
  • e4ea6545e8 ctrl-c fix hploetz 2006-07-26 12:08:33 +0000
  • ee71cb7289 decode asn.1 bit string and enumerated hploetz 2006-07-21 19:36:53 +0000