Commit graph

7528 commits

Author SHA1 Message Date
iceman1001 037fd47673 fix #1151 - improved feedback text 2020-12-30 18:57:30 +01:00
Philippe Teuwen 8084b3141f
Merge pull request #1147 from tcprst/14a_cliparser
hf 14a cuids, sim - now use cliparser
2020-12-30 09:58:57 +01:00
Philippe Teuwen 055b439cb2
Merge pull request #1148 from tcprst/em_text
lf em 410x - textual
2020-12-30 09:58:03 +01:00
Philippe Teuwen 481f8a64a2
Merge pull request #1150 from aveao/emrtd-dumpdir
eMRTD dump: Allow specifying a custom dump directory
2020-12-30 09:54:31 +01:00
Ave 5d250339dd emrtd dump: Allow specifying a dump folder 2020-12-30 06:48:54 +03:00
Ave 9f29a839a7 emrtd info: Move EF_SOD print to a func, also add to online 2020-12-30 06:03:12 +03:00
Ave 80f035f7ab emrtd info: Improve EF_SOD wording 2020-12-30 05:57:11 +03:00
Ave 2679ea0980 emrtd info: Split EF_SOD into a separate section (only on offline) 2020-12-30 05:50:25 +03:00
tcprst 714470877a
lf em 410x - textual 2020-12-29 21:12:11 -05:00
tcprst 49990ab11d
hf 14a cuids, sim - now use cliparser 2020-12-29 20:58:13 -05:00
Philippe Teuwen a0e110941a make style 2020-12-30 01:31:40 +01:00
iceman1001 8c803edfd2 hf mfu dump - now uses cliparser 2020-12-29 23:36:38 +01:00
iceman1001 d8c8de3204 hf mfu rdbl - now uses cliparser 2020-12-29 22:47:50 +01:00
iceman1001 db43f55b98 hf mfu wrbl - now supports cliparser 2020-12-29 21:38:02 +01:00
Ave ff4acf7005 emrtd: Improve comment on USA quirk workaround 2020-12-29 20:05:50 +03:00
Ave ee87abd047 Merge remote-tracking branch 'origin/master' into emrtd 2020-12-29 19:30:27 +03:00
iceman1001 f3f47a66e9 hf mfu info - now supports cliparser, fixed magic detection output, fixed ntag counter output 2020-12-29 17:25:48 +01:00
Ave a14b5f7b5f emrtd: Employ a workaround for data length of 0x80
This is to make US passport hashes read properly.
https://wf.lavatech.top/ave-but-random/emrtd-data-quirks#EF_SOD
2020-12-29 19:24:44 +03:00
Ave d1ec96ed41 emrtd: Ensure that emrtd_parse_ef_sod_hash_algo returns -1 on errors too 2020-12-29 19:13:10 +03:00
Philippe Teuwen 03be720277
Merge pull request #1144 from aveao/emrtd
emrtd: Account for hash algo quirks
2020-12-29 16:49:30 +01:00
Ave 71ac6369d8 emrtd: Account for hash algo quirks 2020-12-29 18:42:29 +03:00
Philippe Teuwen 285448ec56
Merge pull request #1142 from aveao/emrtd
eMRTD support 3/?
2020-12-29 16:00:53 +01:00
Ave 040520d865 emrtd: Improve hashing logic, support SHA1 2020-12-29 17:56:29 +03:00
Iceman 62bef9b730
Merge pull request #1141 from ikarus23/apdufind
apdufind: added option to find Le=0 commands (case 2S)
2020-12-29 07:17:51 +01:00
tcprst 6d6f3d9f1a
hf 14a sniff, reader - now use cliparser 2020-12-28 23:00:10 -05:00
Ave 2c5c58d128 emrtd: Remove 'very very very very cursed' comment 2020-12-29 04:21:00 +03:00
Ave aae3426f8e emrtd: Adjust an include comment 2020-12-29 04:09:53 +03:00
Ave bc8c52931b emrtd: Split DG hash calc into emrtd_calc_dg_hash 2020-12-29 04:01:15 +03:00
Ave f47b617a58 emrtd: Check emrtd_parse_ef_sod_hash_algo output 2020-12-29 03:51:30 +03:00
Ave 637e017975 emrtd: Support SHA256 2020-12-29 03:39:01 +03:00
Ave 5a9d474765 emrtd: Better coverity bits for hash verif 2020-12-29 02:15:15 +03:00
Ave dbe5d9ac9a emrtd info (online): Add basic hash verification support 2020-12-29 02:08:30 +03:00
Ave 7e2b10d413 emrtd info (offline): Add basic hash verification support 2020-12-29 01:55:18 +03:00
ikarus 59e6658753 apdufind: added option to find Le=0 commands (case 2S) 2020-12-28 19:14:29 +01:00
Ave dc2d4bafaa Merge remote-tracking branch 'origin/master' into emrtd 2020-12-28 20:39:38 +03:00
ikarus 201e2506b2 apdufind: fixed bug which prevented a retry, if there was an error. 2020-12-28 15:38:35 +01:00
iceman1001 8233b2c914 script now supports Gen1a, Gen1b, Gen2 type of MIFARE Ultralight family uid changeable cards 2020-12-28 13:36:37 +01:00
ikarus 28df590fc8 apdufind: added option to skip instrcutions.
(This helps if a tag might be locked permanently with a certain instruction. You can just skip it.)
2020-12-27 20:20:19 +01:00
ikarus 9007629213 apdufind: filter reoccurring SWs & reset filed on tractive errors. 2020-12-27 15:44:59 +01:00
iceman1001 d801d2be0f lf/hf tune - color vs emoji... 2020-12-26 22:11:56 +01:00
Ave b2855d9514 Merge remote-tracking branch 'origin/master' into emrtd 2020-12-26 17:10:35 +03:00
iceman1001 3d76be2dbd coverity fix 2020-12-24 10:55:36 +01:00
iceman1001 902b6c9866 hf/lf tune - show Volt max. And use corect session support identification 2020-12-23 22:54:56 +01:00
Iceman 7a6d72fcd4
Merge pull request #1134 from tcprst/legic_lua_fix
hf_legic Lua - change method for temp file naming
2020-12-23 22:14:42 +01:00
tcprst b91bc9bb85
hf_legic Lua - change method for temp file naming 2020-12-23 16:01:50 -05:00
Ave 9e7d515c37 emrtd info: Don't print EF_SOD info 2020-12-23 23:52:31 +03:00
Ave a1762fa4a3 emrtd: Mark biometrics as EAC-only and introduce the concept 2020-12-23 23:21:54 +03:00
Ave 9987ebf534 emrtd: Use memcmp for JPEG headers 2020-12-23 23:08:34 +03:00
Ave e87e3816ba Merge remote-tracking branch 'aveao/patch-1' into emrtd 2020-12-23 23:00:09 +03:00
Ave 73dec1e072
ui: Load readline after stdio.h 2020-12-23 19:57:50 +00:00
Ave 4962cb84ec emrtd: Note that MRZ option is for passports (TD3) only 2020-12-23 22:37:51 +03:00
Ave fab5092c03 Merge remote-tracking branch 'origin/master' into emrtd 2020-12-23 22:29:21 +03:00
Ave 0272a3b63e emrtd: Move a lot of size values from int to size_t 2020-12-23 22:27:05 +03:00
Philippe Teuwen 8d4acbe3a6 make style 2020-12-23 19:51:10 +01:00
Philippe Teuwen 7bc3067fa4 Make print_progess scalable 2020-12-23 18:15:25 +01:00
tcprst 4c82cc4436
hf epa - now use cliparser 2020-12-22 20:52:18 -05:00
Iceman 0551f1b7c9
Merge pull request #1130 from tcprst/fido_cliparser
hf fido info - now use cliparser
2020-12-23 02:34:22 +01:00
tcprst dbf2ce6074
fix double import 2020-12-22 20:15:19 -05:00
tcprst 59e3c31e0f
hf fido info - now use cliparser 2020-12-22 20:09:19 -05:00
iceman1001 69e5f8daa5 update the readline to 8.1 and curses to 6.1. The later version 6.2 fails when cross compiling. Thanks @doegox for verifying cross compiling 2020-12-22 22:56:57 +01:00
Ave c3ed99e388 emrtd: Parse hashes on EF_SOD 2020-12-22 05:52:48 +03:00
Ave f1a8345fac emrtd: Add a skip feature to emrtd_lds_get_data_by_tag 2020-12-22 05:29:37 +03:00
Ave b505c5f4d8 emrtd: Read file hash data from EF_SOD 2020-12-22 05:01:42 +03:00
Philippe Teuwen 62f60dbfbf utf8 barmode when emoji mode is set 2020-12-22 00:35:17 +01:00
Ave 8c1e4168cf emrtd: make style pass 2020-12-22 02:30:26 +03:00
Ave a05bdecaaf emrtd: make top tag skipping on emrtd_lds_get_data_by_tag optional 2020-12-22 02:28:37 +03:00
Ave c3cc3b2a80 emrtd: split lds tag det to a different func and improve emrtd_lds_get_data_by_tag 2020-12-22 02:22:28 +03:00
Iceman 82362cc9e1
Merge pull request #1129 from tcprst/legic_cliparser
hf legic wipe, dump, restore, eload, esave - now use cliparser
2020-12-21 21:10:29 +01:00
tcprst fce36effb4
legic style 2020-12-21 15:01:30 -05:00
tcprst f1c4be446c
hf legic esave - now use cliparser 2020-12-21 15:00:02 -05:00
iceman1001 e25a99077e hf search - always turn off field 2020-12-21 20:50:47 +01:00
tcprst cd972adce5
hf legic eload - now use cliparser 2020-12-21 14:50:42 -05:00
iceman1001 d4c87945b8 style & text 2020-12-21 20:47:17 +01:00
tcprst ef2dfc8b3b
hf legic restore - now use cliparser 2020-12-21 12:50:12 -05:00
tcprst 2f1408d659
hf legic dump - now use cliparser 2020-12-21 12:41:14 -05:00
tcprst 85b1a833fc
hf legic wipe - now use cliparser 2020-12-21 12:17:05 -05:00
iceman1001 0ce10e18df textual 2020-12-21 12:55:36 +01:00
Iceman 4ac50615a9
Merge pull request #1128 from tcprst/legic_cliparser
hf legic crc, rdbl, wrbl, sim, info, reader - now use cliparser
2020-12-21 10:37:22 +01:00
tcprst 7f740c4e3d
hf legic reader - continuous mode and cliparser 2020-12-20 21:40:06 -05:00
tcprst a51c45168e
hf legic info - now use cliparser 2020-12-20 21:20:47 -05:00
tcprst 03edf439d2
hf legic wrbl - now use cliparser 2020-12-20 21:16:46 -05:00
tcprst b676efd992
hf legic sim - now use cliparser 2020-12-20 21:00:24 -05:00
tcprst b407d921a9
hf legic rdbl - now use cliparser 2020-12-20 20:52:49 -05:00
iceman1001 8bb7e4ed8b hf xxx - uses cliparser and textual 2020-12-21 02:40:04 +01:00
tcprst 640f9fcc02
Merge remote-tracking branch 'upstream/master' into legic_cliparser 2020-12-20 20:07:17 -05:00
iceman1001 246ee8b2d7 hf tune - now uses the barmode 2020-12-21 02:06:43 +01:00
tcprst 6221bb061f
Merge remote-tracking branch 'upstream/master' into legic_cliparser 2020-12-20 19:59:05 -05:00
iceman1001 feeb32b13f lf tune - added possiblity to get bar / mix / value (defaul) output of measurements. Also set in preferences 2020-12-21 01:45:03 +01:00
tcprst 08efedaa83
hf legic crc - now use cliparser 2020-12-20 17:19:26 -05:00
Iceman e85edbcef2
Merge pull request #1126 from tharexde/4x50_serial
4x50 serial
2020-12-20 13:39:23 +01:00
Philippe Teuwen 2385ea9bb7 fix issue #1127 2020-12-20 01:13:20 +01:00
Philippe Teuwen c828caff33 emrtd: add --mrz 2020-12-19 22:05:10 +01:00
tharexde a366b046c4 Merge branch 'master' into 4x50_serial
update 201219
2020-12-19 22:02:31 +01:00
tharexde ef8f47263a lf em 4x50 info: complete data is displayed only via additional verbose option (-v) 2020-12-19 22:00:48 +01:00
tharexde 2d54ec652c changed reading of "uid" to "serial" in function detect_4x50_block since output is always "serial" 2020-12-19 21:27:03 +01:00
Philippe Teuwen 3098f01dd9 emrtd: non-BAC: tested! remove debug print 2020-12-19 20:53:16 +01:00
Philippe Teuwen 669eea1f74 emrtd: hide SOD todo for now 2020-12-19 19:44:26 +01:00
Philippe Teuwen 415dd84a8d fix print_buffer out-of-boundaries bug 2020-12-19 19:32:30 +01:00
Philippe Teuwen 97eaab27a1 emrtd: remove few hardcoded filenames 2020-12-19 18:01:19 +01:00
Philippe Teuwen e16249252e emrtd: remove last defs and integrate SOD in com lists 2020-12-19 17:58:22 +01:00