Harald Welte
976ac45ff8
Add new "GRCard" module for the (HZCOS based?) grcard.cn SIM
...
This sim is re-programmable and we add commands for setting Ki, PIN,
A3/A8 algorithm, ...
12 years ago
Harald Welte
8483d8a7ec
Extend the GSM card module with lots of SIM card commands
...
including STATUS, TERMINAL PROFILE, TERMINAL RESPONSE, UPDATE BINARY,...
12 years ago
Henryk Plötz
14819e9661
Fix for new german passports
12 years ago
Henryk Plötz
9a3af066b0
Decode compact access bitmap
12 years ago
Henryk Plötz
c5b4a68c26
Further decode access rule
12 years ago
Henryk Plötz
699e655ed8
Somewhat fix tcos 3.0 fci 0x85 parsing, involves an ugly hack though
12 years ago
Henryk Plötz
a5ee60f35e
Fix TCOS ATR regex for current cards
12 years ago
Henryk Plötz
144efe1cf7
Abstract out command class
12 years ago
Henryk Plötz
e343352675
Rename parse_fancy_apdu to parse_fancy
12 years ago
Henryk Plötz
20b8d8167e
Add generic response chaining capability
12 years ago
Henryk Plötz
2cc37817d7
Move iso specific get response code to iso class
12 years ago
Henryk Plötz
367b41a061
Merge branch 'desfire-native'
12 years ago
Henryk Plötz
c53914f1ae
Refactor, move apdu SW handling from generic card class to iso card class
12 years ago
Henryk Plötz
9e8b7b0a82
Refactor: rename APDU_GET_RESPONSE to COMMAND_GET_RESPONSE
12 years ago
Henryk Plötz
04af868a4c
Refactor generic code out of APDU class into a generic Transmission_Frame class
12 years ago
Henryk Plötz
eb61017dab
Add unit tests for ADPU class
12 years ago
Henryk Plötz
a8d72543e9
Separate out generic "Card" functionality from ISO specific functionality in preparation of DESfire native semantics
...
FIXME: send machinery in Card is still broken, need some generalisation on request/response, then specialisation in ISO_Card
12 years ago
Henryk Plötz
06a899f8e6
Add unit tests for ADPU class
12 years ago
Henryk Plötz
9d5528a470
Add raw command.
...
* Fix indentation
* API CHANGE: do_raw_apdu() is now do_normal_apdu()
* New do_raw_apdu() function to use the Raw_APDU() class, exported as "raw" command
13 years ago
Henryk Plötz
59917271dd
Add Raw_APDU class for unparsed and nonjudgmental data transmission
13 years ago
Henryk Plötz
5baedf1e8e
FIX get_ATR for ISO 14443-3 B
13 years ago
Henryk Plötz
6eaa66f534
Add printing of time spent for APDU transactions
13 years ago
Henryk Plötz
0270bcf9c9
Implement PC/SC GET DATA command
13 years ago
Henryk Plötz
5035969f8d
Fix command inheritance for Mifare DESfire
13 years ago
Henryk Plötz
9fbc745bd0
Change behavior of defaults, possible API CHANGE, hope it's not too intrusive
...
+ Change R_APDU parser and data default to allow construction of empty R_APDUs
+ Default unspecified C_APDU fields to None instead of 0, makes distinction of Le=0 vs. Le not present externally visible
13 years ago
Henryk Plötz
41bb2396b6
Use proper target number
13 years ago
Henryk Plötz
7bc2017424
Implement InListPassiveTargets response parsing for ISO 14443 B
...
Implement PC/SC ATR generation for ISO 14443 B
13 years ago
Henryk Plötz
30828a01e8
Fix inheritance structure for Mifare DESfire
13 years ago
Henryk Plötz
6d38cdfbf0
Add quick and dirty fake ATR generation for T=CL tags
13 years ago
Henryk Plötz
da261b1332
Move InListPassiveTarget response parsing to PN532_Response_InListPassiveTarget class
13 years ago
Henryk Plötz
b27a1e034f
Add class infrastructure for PN532 commands
13 years ago
Henryk Plötz
bc07262d80
API CHANGE: Move CommandLineArgumentHelper to readers module to allow proper import order.
...
(CommandLineArgumentHelper references the readers module, which references the utils module, so having CLAH in utils would create a circular reference.)
13 years ago
Henryk Plötz
47485362af
+ Add parse_response_4B
...
+ Limit read binary response in PN532 case to 0xf8 bytes
13 years ago
Henryk Plötz
d073fc662e
Implement the card request loop in connect() in the Smartcard_Reader base class and move all the gory details into _internal_connect to be implemented in the subclasses
13 years ago
Henryk Plötz
f6f305317a
There doesn't seem to be RC5/IDEA (any more? only in my copy?)
13 years ago
Henryk Plötz
e960c92fbd
Initial and very minimal support for ISO 14443-4 over PN532 over ISO 7816-3 T=0 on the ACR122 firmware 1.x
13 years ago
Henryk Plötz
8f5ec36f7a
Move PN532 code to a separate class (I forgot how easy that is)
13 years ago
Henryk Plötz
331bfc4d47
Move all PC/SC specific stuff to a separate class structure for readers (thus preparing the way for non-PC/SC-readers)
...
This commit should be known as "Holy excessive layering, batman!"
13 years ago
Henryk Plötz
63d7c9d0a8
sha is deprecated, move to hashlib (probably removes support for old python versions)
13 years ago
Henryk Plötz
303d3ffdaf
Add code for PN532 in the ACS ACR reader, needs to go somehwere else though
13 years ago
Henryk Plötz
985941e16e
Copy the CLA value for the GET RESPONSE command from the original APDU
13 years ago
Henryk Plötz
c125823192
+ Update E3 project file
...
+ Add ACOS6 SAM card, contained in ACS reader (tikitag/touchatag)
13 years ago
Henryk Plötz
86c7778022
Add VRS application and GUI (Public transport in Koeln and Bonn)
13 years ago
Henryk Plötz
2f244a2083
Add tons of OIDs from the BSI eID specs
13 years ago
Henryk Plötz
c857bc8863
+ Make brutefid more gracefully accept card errors (common with my RFID reader)
...
+ Have brutefid print out the files/dirs discovered so far
+ Have brutefid print out a directory structure, if applicable
13 years ago
Henryk Plötz
42d2278cf8
+ Make it possible for cards/applications to set Le for SELECT operations, use this in the passport application
...
+ Add code for nice tree formatting of EF/DF structures
13 years ago
Henryk Plötz
1b6509a0e7
Add AIDs for eID ("Neuer Personalausweis") and VRS ticket, fix RID for FSFE
13 years ago
hploetz
424a3c14c5
Make it possible for a card/application class to specify the P1 used for SELECT in the file case
...
Add an Application class (and AID) for NFC Forum Tag Type 4
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@261 f711b948-2313-0410-aaa9-d29f33439f0b
15 years ago
hploetz
6ea70a8403
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@260 f711b948-2313-0410-aaa9-d29f33439f0b
15 years ago
hploetz
b35e0859ff
Move contents from __init__ to PassportGUI
...
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@259 f711b948-2313-0410-aaa9-d29f33439f0b
15 years ago