Commit Graph

80 Commits

Author SHA1 Message Date
hploetz 9c614ae526 TLV_utils.decode as external tool
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@84 f711b948-2313-0410-aaa9-d29f33439f0b
2006-06-14 09:11:46 +00:00
hploetz 2a18e3482f Some GSM specific code
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@83 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-26 04:51:31 +00:00
hploetz dc18f0dda2 abstract retry handling for upcoming GSM code
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@82 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-26 04:51:06 +00:00
hploetz 3d25618a66 A first step to proper merging
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@81 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-26 04:50:42 +00:00
hploetz 0acf90679d forgot 'nother one
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@80 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-26 04:37:29 +00:00
hploetz f75a882699 a first stab at dynamically loading and unloading drivers. doesn't work properly yet
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@79 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-25 14:13:10 +00:00
hploetz 1c971aa745 forgot one instance
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@78 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-25 13:37:16 +00:00
hploetz 23a33b56b5 close/open_card -> disconnect/connect
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@77 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-25 13:36:48 +00:00
hploetz efcd0f0cfd sorting
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@76 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-25 13:36:25 +00:00
hploetz b1f2a56881 ls -l (still ugly)
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@75 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-24 07:58:55 +00:00
hploetz c100297855 make the wait for a card abortable by ctrl-c
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@74 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-22 05:20:11 +00:00
hploetz 4f99f3a507 subclass cyberflex-shell from shell, enable disconnecting and reconnecting with cards
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@73 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-22 04:14:19 +00:00
hploetz 8e845292bb card close command
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@72 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-22 03:26:13 +00:00
hploetz ef5ff028a5 typo
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@71 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-22 03:24:15 +00:00
hploetz c3890cf8fb brutefid now can bruteforce fids below a DF and also gives nicer progress output with ETA
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@70 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-22 03:04:01 +00:00
hploetz ac08ac1ff8 fix decoding of multi-byte tags
move parse_tlv to generic card


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@69 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-22 01:04:32 +00:00
hploetz b3b052df7f FID brute forcer
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@68 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-21 20:27:06 +00:00
hploetz 77659befd1 generalize file operations, specialise for starcos
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@67 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-21 13:04:48 +00:00
hploetz 1d3b76657f parsing advances
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@66 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-21 12:14:12 +00:00
hploetz 0f9a390305 more BER decoding
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@65 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-20 10:07:59 +00:00
hploetz 6105e82733 cat and open for tcos
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@64 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-20 05:13:02 +00:00
hploetz 64414ee037 better parsing of unknown TLV structures
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@63 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-20 04:38:04 +00:00
hploetz ac02f8445b ls and cd commands for tcos
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@62 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-20 03:53:11 +00:00
hploetz ba185c175a git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@61 f711b948-2313-0410-aaa9-d29f33439f0b 2006-05-20 03:52:53 +00:00
hploetz 81dc0e7eb9 fancy tlv fixes
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@60 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-19 18:28:35 +00:00
hploetz 60c80e35c7 nicer TLV parsing, (more ugly code)
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@59 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-19 02:24:48 +00:00
hploetz 80c19becfa a readme
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@58 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-19 00:30:59 +00:00
hploetz 455428f0cd ATR reorganisation and extension
initial TCOS code


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@57 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-19 00:19:08 +00:00
hploetz 0701d2612d some code for ISO cards
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@56 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-18 20:22:15 +00:00
hploetz 53742b2705 TLV utilities
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@55 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-18 20:21:51 +00:00
hploetz f2bb9004cb more bugfixes. open_secure_channel does now work
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@54 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-18 16:26:21 +00:00
hploetz c68e8bba2e Transitioning to new APDU code
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@53 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-18 15:45:07 +00:00
hploetz f5e42ca71b New APDUs basically feature complete
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@52 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-18 06:37:06 +00:00
hploetz 95ccd90742 further advances in APDU handling
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@51 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-18 06:24:24 +00:00
hploetz 861b8da00c initial problem fixed
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@50 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-18 05:37:52 +00:00
hploetz 2ec6001376 experimental next generation code, still broken
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@49 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-18 05:00:19 +00:00
hploetz 036218d632 some more T=0 vs. T=1 fixes
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@48 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-18 02:16:15 +00:00
hploetz 7d3953d48d nicer status word printing
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@47 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-17 18:50:18 +00:00
hploetz a2d6c6a624 better handling of non-T=0 APDUs. may still be buggy
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@46 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-17 18:40:12 +00:00
henryk df4e90ea9e Implemented option to select reader
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@44 f711b948-2313-0410-aaa9-d29f33439f0b
2006-05-04 23:58:28 +00:00
henryk 31225977e2 Cardmultiplexer object. Should allow to dynamically bind and unbind classes from a card object.
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@43 f711b948-2313-0410-aaa9-d29f33439f0b
2005-10-12 02:09:15 +00:00
henryk 6003cc1fc0 Dynamically load all modules and their card classes from the cards directory
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@42 f711b948-2313-0410-aaa9-d29f33439f0b
2005-10-10 23:38:29 +00:00
henryk 32b0e21507 Add shell.py to the project file
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@41 f711b948-2313-0410-aaa9-d29f33439f0b
2005-10-10 23:37:57 +00:00
henryk 5e5b85b28e Now using the shell class in cyberflex-shell
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@40 f711b948-2313-0410-aaa9-d29f33439f0b
2005-10-09 02:06:32 +00:00
henryk c584dad0b0 post_hook execution moved to after command execution
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@39 f711b948-2313-0410-aaa9-d29f33439f0b
2005-10-09 02:05:19 +00:00
henryk 0f4f8db895 Make it possible to use *args in commands
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@38 f711b948-2313-0410-aaa9-d29f33439f0b
2005-10-09 01:38:06 +00:00
henryk 31fa1046f1 set_completer_delims("") so that the whole line will be passed for completion
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@37 f711b948-2313-0410-aaa9-d29f33439f0b
2005-10-08 23:34:10 +00:00
henryk 59a311e450 Append a space when there is only one command that matches
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@36 f711b948-2313-0410-aaa9-d29f33439f0b
2005-10-07 13:11:57 +00:00
henryk d8a2d52eaf Unset command.
Fallback command


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@35 f711b948-2313-0410-aaa9-d29f33439f0b
2005-10-07 12:35:06 +00:00
henryk 4b9dc9ab53 Some LC_AUTO that were forgotten
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@34 f711b948-2313-0410-aaa9-d29f33439f0b
2005-10-07 01:50:34 +00:00