Commit Graph

273 Commits

Author SHA1 Message Date
Henryk Plötz 7bc2017424 Implement InListPassiveTargets response parsing for ISO 14443 B
Implement PC/SC ATR generation for ISO 14443 B
2010-03-03 04:23:25 +01:00
Henryk Plötz 30828a01e8 Fix inheritance structure for Mifare DESfire 2010-03-03 03:13:02 +01:00
Henryk Plötz 6d38cdfbf0 Add quick and dirty fake ATR generation for T=CL tags 2010-03-03 02:01:59 +01:00
Henryk Plötz da261b1332 Move InListPassiveTarget response parsing to PN532_Response_InListPassiveTarget class 2010-03-03 01:38:53 +01:00
Henryk Plötz b27a1e034f Add class infrastructure for PN532 commands 2010-03-03 00:58:30 +01:00
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.)
2010-03-03 00:06:20 +01:00
Henryk Plötz 47485362af + Add parse_response_4B
+ Limit read binary response in PN532 case to 0xf8 bytes
2010-02-28 06:09:59 +01:00
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 2010-02-27 15:37:19 +01:00
Henryk Plötz f6f305317a There doesn't seem to be RC5/IDEA (any more? only in my copy?) 2010-02-26 02:27:26 +01:00
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 2010-02-26 02:27:26 +01:00
Henryk Plötz 8f5ec36f7a Move PN532 code to a separate class (I forgot how easy that is) 2010-02-26 02:27:26 +01:00
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!"
2010-02-26 02:27:26 +01:00
Henryk Plötz 63d7c9d0a8 sha is deprecated, move to hashlib (probably removes support for old python versions) 2010-02-26 02:27:17 +01:00
Henryk Plötz 303d3ffdaf Add code for PN532 in the ACS ACR reader, needs to go somehwere else though 2010-02-25 10:49:21 +01:00
Henryk Plötz 985941e16e Copy the CLA value for the GET RESPONSE command from the original APDU 2010-02-25 10:48:58 +01:00
Henryk Plötz c125823192 + Update E3 project file
+ Add ACOS6 SAM card, contained in ACS reader (tikitag/touchatag)
2010-02-24 02:59:13 +01:00
Henryk Plötz 86c7778022 Add VRS application and GUI (Public transport in Koeln and Bonn) 2010-02-24 02:57:44 +01:00
Henryk Plötz 2f244a2083 Add tons of OIDs from the BSI eID specs 2010-02-24 02:48:41 +01:00
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
2010-02-24 02:47:04 +01:00
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
2010-02-24 02:45:26 +01:00
Henryk Plötz 1b6509a0e7 Add AIDs for eID ("Neuer Personalausweis") and VRS ticket, fix RID for FSFE 2010-02-24 02:43:21 +01:00
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
2008-06-10 03:34:21 +00:00
hploetz 6ea70a8403 git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@260 f711b948-2313-0410-aaa9-d29f33439f0b 2008-06-10 03:31:30 +00:00
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
2008-06-10 03:17:06 +00:00
hploetz f6057495d1 Print found files in sorted order
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@258 f711b948-2313-0410-aaa9-d29f33439f0b
2008-05-25 23:22:15 +00:00
hploetz a236a21714 Add feature to optionally dump detected files (note: reading of record oriented files is not correct)
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@257 f711b948-2313-0410-aaa9-d29f33439f0b
2008-05-25 00:16:38 +00:00
hploetz 4cd1aa901c New ATRs
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@256 f711b948-2313-0410-aaa9-d29f33439f0b
2008-05-25 00:15:08 +00:00
hploetz 38ece15c32 Make it possible to select an application as top_level
Add options for min_fid, max_fid and with_dirs


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@255 f711b948-2313-0410-aaa9-d29f33439f0b
2008-05-24 20:45:54 +00:00
john 5540677e73 added lifecycle commands to CardOS
Passive Authentication for BAC MRTDs


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@254 f711b948-2313-0410-aaa9-d29f33439f0b
2008-03-10 22:54:53 +00:00
hploetz b12c6b643f Add mrz display field width
Process drawing events before entering the (blocking) smart card read code


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@253 f711b948-2313-0410-aaa9-d29f33439f0b
2007-11-15 07:44:54 +00:00
hploetz 7e809d1122 Restrict maximum image size
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@252 f711b948-2313-0410-aaa9-d29f33439f0b
2007-11-14 16:36:05 +00:00
hploetz 33b9f44354 Enhance GUI, can now enter MRZ information and read new passport from GUI
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@251 f711b948-2313-0410-aaa9-d29f33439f0b
2007-11-14 14:04:32 +00:00
hploetz 55a0b4d4a2 mifare desfire, miscellaneous
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@250 f711b948-2313-0410-aaa9-d29f33439f0b
2007-11-14 12:42:46 +00:00
hploetz c02f68c8cf fix for non-rfid
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@249 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-16 07:25:51 +00:00
hploetz fa0e0c888c fix get_atr
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@248 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-16 07:25:42 +00:00
hploetz c92a60fb10 Switch smartcard interface to pyscard from http://pyscard.sourceforge.net/
pycsc no longer supported
API change: utils doesn't export "pycsc" anymore
API change: utils.CommandLineArgumentHelper.connect now returns smartcard.CardService.CardService instance
API change: cards.generic_card.Card.__init__ and ...can_handle (and therefore cards.new_card_object) now expect CardService or CardConnection instance


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@247 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-16 06:56:57 +00:00
hploetz 326fd9a7be Consolidating connect to a single place
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@246 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-15 16:49:17 +00:00
hploetz dfb480db3a Prevent read_binary_file from falling into an infinite loop
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@244 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-12 17:44:16 +00:00
hploetz cc1e70d124 More oids
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@243 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-12 17:43:26 +00:00
hploetz 9d25ab83d2 .upper() for the mrz2 in used in bac
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@242 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-11 03:43:58 +00:00
hploetz 2a0caea3c7 Incorporate some information from tr-03110-eac-1.0.pdf
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@241 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-10 00:46:55 +00:00
hploetz ba1eb93e43 Better new zealandian fingerprint
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@240 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-10 00:46:04 +00:00
hploetz 56e9027ec8 More useful OID display for the case when the exact OID is not known
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@239 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-10 00:01:53 +00:00
hploetz 9a1a0ccdce sre is deprecated in python 2.5
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@238 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-09 19:31:05 +00:00
hploetz fd7bcf04a1 OID to cleartext
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@237 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-09 12:10:27 +00:00
hploetz 38bc6d9efc Can now display displayed portrait and displayed signature or usual mark
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@236 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-09 06:40:04 +00:00
hploetz da589e2c77 Regression: read_com and friends were broken
Make decode_tag_list output more educational


git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@235 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-09 05:17:30 +00:00
hploetz f5a1777099 fixes in mrz parsing for uncommon cases
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@234 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-09 05:01:08 +00:00
hploetz 49d912cbd8 Enter exit button
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@233 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-09 00:42:34 +00:00
hploetz c684d3632c Change in-memory format to bmp. (Conversion to png takes 0.8s which feels laggy, conversion to bmp takes 0.2s which is barely noticeable)
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@232 f711b948-2313-0410-aaa9-d29f33439f0b
2007-06-09 00:35:51 +00:00