Commit Graph
163 Commits
Author SHA1 Message Date
Philippe Teuwen 149236d8b3 make style 2021-06-04 21:58:38 +02:00
Philippe Teuwen 61d5a87c4f Use Iso7816ExchangeEx in eMRTD 2021-06-04 21:58:38 +02:00
Philippe Teuwen 11334f9440 Isolate ISO7816 select & exchange from EMVcore 2021-06-04 21:58:38 +02:00
iceman1001 5fdd9ac392 fix cppchecker warnings 2021-05-15 15:23:32 +02:00
iceman1001 70be8d774d coverity CID 322672 2021-05-14 07:44:25 +02:00
iceman1001 e4f55556ba style 2021-05-05 21:04:48 +02:00
iceman1001 550fa5aa8f 14a exchange apdu now uses defined return codes 2021-04-30 08:51:38 +02:00
Ave but on a massive iMac a20f3afad2 emrtd: Fix problem with certain reads being incorrect 2021-04-26 12:02:50 +03:00
Ave but on a massive iMac 20ca241816 emrtd: Fix bug with certain file reads 2021-04-26 11:04:33 +03:00
iceman1001 2119c4e7bd hf 14b got some love 2021-04-23 22:25:58 +02:00
iceman1001 b267ee8ef5 convert 14b raw to use NG 2021-04-21 18:36:21 +02:00
Philippe Teuwen 1d69cabd54 change fido/emrtd/st fct names to match other functions 2021-04-19 21:56:49 +02:00
Philippe Teuwen dc54dd305b Use CmdTraceListAlias everywhere 2021-04-19 21:43:32 +02:00
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