Commit graph

150 commits

Author SHA1 Message Date
iceman1001 007b916643 style 2021-04-08 11:08:39 +02:00
iceman1001 51ec7c2178 fix coverity #308283 2021-04-06 23:57:25 +02:00
iceman1001 501b31cf45 fix coverity #308236 2021-04-06 23:55:24 +02:00
iceman1001 2a9d064fd6 hf emrtd, maybe this makes coverity more calm 2021-04-05 12:24:54 +02:00
iceman1001 8da99277ff fix coverity CID 308278 2021-04-05 09:05:25 +02:00
iceman1001 cf287818f3 fix coverity 308279 2021-04-05 09:02:15 +02:00
Ave 23f831d6a9 emrtd: fix segfaults when debug print is enabled 2021-02-25 20:21:10 +03:00
Ave 8904162d7a emrtd: Add EF_CardAccess parsing to offline info 2021-02-21 03:15:26 +03:00
Ave dd62a9f8dd emrtd: Parse some other parts of EF_CardAccess 2021-02-21 02:18:10 +03:00
Ave 0f1ba33b69 emrtd: Add PACE algo detection 2021-02-21 01:43:59 +03:00
Ave 71b73cad0f emrtd: add a PACE display to hf emrtd info
Also reword things so that they don't misuse BAC in place of any form of
passive authentication
2021-02-20 22:28:03 +03:00
Ave 7947d2efb9 emrtd: Calculate document type from MRZ length
+ Add the German Aufenthaltstitel
2021-02-06 19:11:45 +03:00
Ave 8f8263ae59 emrtd: Fix EF_DG2 image dumping 2021-01-29 23:27:33 +03:00
iceman1001 11a95d7351 cppchecker fix 2021-01-28 14:16:42 +01:00
Gabriele Gristina 027ed5e558 Fixed build errors on osx 2020-12-31 00:33:42 +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
Ave ff4acf7005 emrtd: Improve comment on USA quirk workaround 2020-12-29 20:05:50 +03: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
Ave 71ac6369d8 emrtd: Account for hash algo quirks 2020-12-29 18:42:29 +03:00
Ave 040520d865 emrtd: Improve hashing logic, support SHA1 2020-12-29 17:56:29 +03: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
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 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
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
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
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
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