Commit Graph

162 Commits

Author SHA1 Message Date
hploetz a0ec31f0b7 Fixed transmit for 64bit systems
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@170 f711b948-2313-0410-aaa9-d29f33439f0b
2007-02-10 02:08:31 +00:00
hploetz 3c2a32efe4 UTF8
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@169 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-23 14:51:00 +00:00
hploetz 48a204816c Simple tool to parse usbsnoop-logs
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@168 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-17 09:15:37 +00:00
hploetz a7a36c1dd2 New AIDs, name can be None now
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@167 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-17 09:14:35 +00:00
hploetz 42cc88fc9f Move select_application to 7816-4
Add vendor registry
Some AIDs
Simplify _decode_df_name


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@166 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-16 17:14:37 +00:00
hploetz 8a9b683d99 AIDs
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@165 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-15 13:34:24 +00:00
hploetz ba321e10ab Leave context when encountering a structure that is not application specific or universal
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@164 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-14 14:41:43 +00:00
hploetz c34c6a084c Fix size determination in building blocks
Create tcos 3.0 class


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@163 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-14 14:37:57 +00:00
hploetz 0d21b554e5 Decode recognized AIDs as DF name (find a conceptual flaw en passant and work around it)
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@162 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-14 14:25:57 +00:00
hploetz 07de9a478d API change: more information in the APPLICATIONS dictionary
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@161 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-14 13:46:30 +00:00
hploetz b4a825c461 Fix read_record arguments
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@160 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-13 02:25:09 +00:00
hploetz 2eac1f6b44 Fix SFI handling
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@159 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-13 02:24:24 +00:00
hploetz 83ba3a1d73 Add SECCOS ATRs, no functionality yet
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@158 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-12 11:28:43 +00:00
hploetz c19a06d7f1 Factor out P2 parameter of SELECT
Add TCOS 3.0 ATR


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@157 f711b948-2313-0410-aaa9-d29f33439f0b
2007-01-12 11:28:16 +00:00
hploetz ec3cb54a7f Ignore errors during decrypt/auth
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@156 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-29 20:26:00 +00:00
hploetz 050301e0a3 Ignore colons in fancy apdus
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@155 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-29 09:40:23 +00:00
hploetz 912c2d1d7c another ATR
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@154 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-28 23:12:59 +00:00
hploetz 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


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@153 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-28 08:22:28 +00:00
hploetz b9fc4b4487 Implement response decryption and decapsulation
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@152 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-27 04:17:09 +00:00
hploetz 1cc1433cd0 Implement pin entry
Note: DO NOT USE, seems to be broken


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@151 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-27 04:16:45 +00:00
hploetz 97387a1d30 slightly better
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@150 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-26 18:24:29 +00:00
hploetz 68b5e8673a small bug regarding filler bytes
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@149 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-26 05:16:23 +00:00
hploetz 98034cf1f7 somewhat more elegant implementation, allows 00 or ff filler bytes to be present
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@148 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-26 05:10:04 +00:00
hploetz 58505948ea allow 00 and ff filler bytes to be returned optionally
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@147 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-26 05:09:30 +00:00
hploetz c7a610d2af response authentication
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@146 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-25 05:08:11 +00:00
hploetz ed4230a5cc output which data is encrypted
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@145 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-24 22:50:51 +00:00
hploetz f45e4df652 make it possible to print an arbitrary offset
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@144 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-24 22:50:17 +00:00
hploetz 07ced57fcd secure messaging for command apdu seems to work
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@143 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-24 21:54:55 +00:00
hploetz 124c2c3b60 implement pack()
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@142 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-23 15:02:23 +00:00
hploetz aa56530279 implement unpack(data, with_marks)
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@141 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-23 14:40:58 +00:00
hploetz 37754ffc51 Make marks relative to data field of APDU
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@140 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-23 14:38:53 +00:00
hploetz bd03819002 minor typos
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@139 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-23 14:34:00 +00:00
hploetz 09560911b6 separate SE configs for mac and encrytion
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@138 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-22 06:26:28 +00:00
hploetz 7cba0484e8 Implemented logging
Hint: Try something like log %(HOMEDIR)s/cyberflex-shell-%(ISOTIME)s.log in your ~/.cyberflex-shellrc



git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@137 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-22 06:25:48 +00:00
hploetz 8534043036 some secure messaging and security environment infrastructure
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@136 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-21 00:53:29 +00:00
hploetz 3f8d22e4d5 after_send hook
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@135 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-21 00:51:32 +00:00
hploetz 3f9b79c511 Some useful options
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@134 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-21 00:50:56 +00:00
hploetz 586cc480b8 Separate rc file and main loop
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@133 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-21 00:38:05 +00:00
hploetz dddcdad519 At least shows the name now.
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@132 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-20 22:54:57 +00:00
hploetz c6537acc51 some postcard tool, probably not very useful, see http://www.parodie.com/monetique/explorer.htm
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@131 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-20 05:30:54 +00:00
hploetz 586a2049e2 should've tested that ...
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@130 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-19 21:10:41 +00:00
hploetz a0d78cf3a6 implement reading of ~/.basenamerc
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@129 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-19 12:18:01 +00:00
hploetz c21d63752f move cipher() to crypto_utils
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@128 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-19 04:53:10 +00:00
hploetz 3994578708 Minor beautification
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@127 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-19 04:44:45 +00:00
hploetz 15f7be1e4f Support syntax for marking parts of tlv structures in fancy APDUs
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@126 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-19 03:31:54 +00:00
hploetz 823bd7bedf prepare for new feature
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@125 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-18 15:30:27 +00:00
hploetz 753f3ef271 delete command
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@124 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-15 08:16:35 +00:00
hploetz 3bc5f0d3cf encryption fixes
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@123 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-08 10:29:18 +00:00
hploetz 1b26df986b some crypto functions
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@122 f711b948-2313-0410-aaa9-d29f33439f0b
2006-11-08 06:39:54 +00:00
hploetz db5f07df04 minor tweaks
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@120 f711b948-2313-0410-aaa9-d29f33439f0b
2006-10-25 13:31:43 +00:00