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 |
|
Ave
|
278ba103ce
|
ntag_getsig: Introduce ntag_getsig
|
2021-02-28 12:55:33 +03:00 |
|
Ave
|
23f831d6a9
|
emrtd: fix segfaults when debug print is enabled
|
2021-02-25 20:21:10 +03:00 |
|
Ave
|
3a6c06e998
|
changelog: Add hf emrtd info changes
|
2021-02-21 00:27:18 +00: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
|
4a738963b3
|
lf t55: Fix typos
|
2021-02-20 22:35:31 +00: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 |
|
Ave
|
4a6b2d4390
|
github actions: Introduce build variants for macos too
|
2021-01-04 04:27:08 +03:00 |
|
Ave
|
96127e0da3
|
github actions: don't upgrade packages
|
2021-01-04 04:17:58 +03:00 |
|
Ave
|
3dfc068a28
|
github actions: macos bugfix
|
2021-01-04 04:15:54 +03:00 |
|
Ave
|
7db332a6de
|
gh actions: Add ubuntu with make w/ btaddon and cmake
|
2021-01-04 04:13:27 +03:00 |
|
Ave
|
fdb28dd95e
|
github actions: add macos action
|
2021-01-04 04:05:19 +03:00 |
|
Ave
|
2d6119b5cd
|
Add tests to ubuntu CI
|
2021-01-04 00:57:05 +00:00 |
|
Ave
|
37791bbbf8
|
Update and upgrade before installing deps
|
2021-01-04 00:46:28 +00:00 |
|
Ave
|
cc9b809151
|
sudo
|
2021-01-04 00:44:41 +00:00 |
|
Ave
|
e3119abd98
|
Install deps on ubuntu builder
Stolen from https://gitlab.com/mirrorbuilds/ci-configs/-/blob/master/iceman-pm3/.gitlab-ci.yml by @linuxgemini
|
2021-01-04 00:38:58 +00:00 |
|
Ave
|
4daf4a8d53
|
Create ubuntu-build-and-test.yml
|
2021-01-04 00:32:59 +00: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
|
ee87abd047
|
Merge remote-tracking branch 'origin/master' into emrtd
|
2020-12-29 19:30:27 +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
|
dc2d4bafaa
|
Merge remote-tracking branch 'origin/master' into emrtd
|
2020-12-28 20:39:38 +03:00 |
|
Ave
|
b2855d9514
|
Merge remote-tracking branch 'origin/master' into emrtd
|
2020-12-26 17:10:35 +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
|
f26e027e23
|
gitignore: Ignore emrtd dumps
|
2020-12-23 23:13:13 +03:00 |
|
Ave
|
9987ebf534
|
emrtd: Use memcmp for JPEG headers
|
2020-12-23 23:08:34 +03:00 |
|
Ave
|
27094b70eb
|
Merge remote-tracking branch 'origin/master' into emrtd
|
2020-12-23 23:06:48 +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 |
|
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 |
|
Ave
|
9bed791026
|
emrtd: Account for undocumented 5F85 tag
|
2020-12-19 16:25:09 +03:00 |
|
Ave
|
3e4a03ec33
|
emrtd: Implement a better fix for parsing empty tags
|
2020-12-19 16:17:44 +03:00 |
|
Ave
|
263eb57749
|
emrtd: fixes for some belgian passports
|
2020-12-19 16:14:27 +03:00 |
|
Ave
|
d23ebec93c
|
emrtd: Make emrtd_mrz_determine_separator less hacky
|
2020-12-19 07:25:28 +03:00 |
|
Ave
|
9945107016
|
hf emrtd info: Replace padding with spaces on names
|
2020-12-19 07:08:39 +03:00 |
|
Ave
|
013a8abcd8
|
hf emrtd info: Fix segfaults on mononyms
|
2020-12-19 07:01:03 +03:00 |
|
Ave
|
333afad302
|
hf emrtd info: Fixes for hungarian passports
|
2020-12-19 06:49:21 +03:00 |
|
Ave
|
88f0de3176
|
emrtd: Use .jp2 ext when saving JPG 2000 files
|
2020-12-19 05:28:21 +03:00 |
|
Ave
|
6ca472fc8f
|
emrtd: Dump image from EF_DG7 too
|
2020-12-19 03:27:48 +03:00 |
|
Ave
|
24b0e042cb
|
Resolve coverity 308206 and 308207
|
2020-12-19 01:41:04 +03:00 |
|
Ave
|
5a4e77d7af
|
hf emrtd info: Parse and print info about EF_DG12
|
2020-12-19 01:05:09 +03:00 |
|
Ave
|
fa21787531
|
hf emrtd info: Split EF_DG1 into its own func, read file list
|
2020-12-18 23:52:42 +03:00 |
|
Ave
|
8e89eb1206
|
hf emrtd info: fancier output for files
|
2020-12-18 22:33:13 +03:00 |
|
Ave Ozkal
|
27b7ecf1cd
|
emrtd: Complete EF_DG11 support on hf emrtd info
|
2020-12-18 21:25:46 +03:00 |
|
Ave Ozkal
|
36cf0be239
|
emrtd: Basic EF_DG11 support on hf emrtd info
|
2020-12-18 21:12:57 +03:00 |
|
Ave
|
4f3d3f8ac4
|
emrtd: Fix insecure read on emrtd_read_file
|
2020-12-18 05:03:06 +03:00 |
|
Ave
|
69a124762a
|
emrtd: Code cleanup on emrtd_bump_ssc
|
2020-12-18 04:44:11 +03:00 |
|
Ave
|
cd21765acc
|
emrtd: Move EF_CardAccess dump to before auth to ensure that it is dumped even without auth
|
2020-12-18 04:28:14 +03:00 |
|
Ave
|
9b4e0c212f
|
emrtd: Remove unnecessary memcpys from two dump functions
|
2020-12-18 04:26:39 +03:00 |
|
Ave
|
79e9875b43
|
emrtd: Validate date further
|
2020-12-18 03:29:21 +03:00 |
|
Ave
|
027f4e5adc
|
emrtd: Use toupper
|
2020-12-18 03:26:26 +03:00 |
|
Ave
|
3312230e80
|
emrtd: Remove debug line
|
2020-12-18 03:15:14 +03:00 |
|
Ave
|
45d55106c6
|
emrtd: Auto-convert document number to uppercase
|
2020-12-18 03:13:06 +03:00 |
|
Ave
|
ffb7111835
|
emrtd: Ensure that DOB and doc expiry lengths are correct
|
2020-12-18 03:06:42 +03:00 |
|
Ave
|
fbed338dce
|
emrtd: don't check for EF_CardAccess, and dump it on hf emrtd dump
|
2020-12-18 02:39:48 +03:00 |
|
Ave
|
a04d67e828
|
emrtd: Dump image when dumping EF_DG2
|
2020-12-17 23:23:31 +03:00 |
|
Ave
|
f3d5c60c10
|
emrtd: Dump cert when dumping EF_SOD
|
2020-12-17 22:45:41 +03:00 |
|
Ave
|
ae7090a47e
|
emrtd: Dump image when dumping EF_DG5
|
2020-12-17 22:22:41 +03:00 |
|
Ave
|
a9f28adabf
|
emrtd: Improve emrtd_lds_get_data_by_tag to account for variable data sizes
|
2020-12-17 22:22:26 +03:00 |
|
Ave
|
01ec2efc25
|
Show hints by default
|
2020-12-17 22:07:16 +03:00 |
|
Ave
|
205885cb15
|
emrtd: Improve card presence check logic
|
2020-12-17 18:18:25 +03:00 |
|
Ave
|
8cb25b742a
|
emrtd: Remove redundant padding code
|
2020-12-17 05:12:54 +03:00 |
|
Ave
|
b31a610566
|
emrtd: Fix passport composite + change print order
|
2020-12-17 05:08:56 +03:00 |
|
Ave
|
8e6736edd1
|
emrtd: Verify composite check digits
|
2020-12-17 04:28:26 +03:00 |
|
Ave
|
b362101b54
|
emrtd: Split emrtd_mrz_verify_check_digit into two funcs
|
2020-12-17 04:19:54 +03:00 |
|
Ave
|
8e72830686
|
emrtd: Merge two functions into emrtd_lds_get_data_by_tag
|
2020-12-17 04:15:00 +03:00 |
|
Ave
|
2e3e4835ed
|
emrtd: Support ID cards on hf emrtd info
|
2020-12-17 04:03:09 +03:00 |
|
Ave
|
9066aa1d26
|
emrtd: Support passports on hf emrtd info
|
2020-12-17 03:44:39 +03:00 |
|
Ave
|
503e48d409
|
emrtd: Start work on the hf emrtd info command
|
2020-12-16 23:53:40 +03:00 |
|
Ave
|
ac3392402f
|
emrtd: Split auth into a separate function
This is done to prepare for info command
|
2020-12-16 22:18:49 +03:00 |
|
Ave
|
84873aa3cf
|
emrtd: pad document number
|
2020-12-16 21:21:11 +03:00 |
|
Ave
|
fbfe1d051c
|
emrtd: loads of renames
|
2020-12-15 02:55:23 +03:00 |
|