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
Philippe Teuwen
34cc523546
emrtd: add helper fcts to search the table
2020-12-19 17:37:28 +01:00
Philippe Teuwen
019f4a7e94
emrtd table: pace flag
2020-12-19 17:12:08 +01:00
Philippe Teuwen
e277eaaab2
emrtd: add COM description, add big DG table
2020-12-19 16:48:37 +01: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
Philippe Teuwen
bdcf84f90d
fix emrtd info offline bug
2020-12-19 00:59:27 +01:00
Philippe Teuwen
7a9e129ad9
hf emrtd info: add option to load from files
2020-12-19 00:19:11 +01: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
iceman1001
72f868e2a0
hf 14a info - now aidsearch is interuptable with <enter> press
2020-12-18 22:10:30 +01:00
iceman1001
372da13e7b
Merge branch 'master' of github.com:RfidResearchGroup/proxmark3
2020-12-18 22:05:20 +01:00
iceman1001
15e171b09d
hf 14b info - now supports aidsearch
2020-12-18 22:05:16 +01: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
Iceman
dd1c0dc045
Merge pull request #1119 from aveao/emrtd
...
eMRTD additions
2020-12-18 09:00:00 +01: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
iceman1001
e0e478c90d
text
2020-12-18 02:39:32 +01:00
Philippe Teuwen
43dc10e7f0
hf trace list: fix 14b CRC & accept 14a/14b crcs in 7816
2020-12-18 02:37:31 +01: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
Philippe Teuwen
975034854d
rework 14b apdu timeout computations
2020-12-18 02:15:42 +01:00
Philippe Teuwen
ffb1b662ac
allowing user timeouts in 14b apdus
2020-12-18 02:15:42 +01: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
iceman1001
ef7a6bb166
text
2020-12-17 22:54:23 +01:00
iceman1001
09c9f85206
Merge branch 'master' of github.com:RfidResearchGroup/proxmark3
2020-12-17 22:20:17 +01:00
iceman1001
f0d3cdec67
fix 308197 coverity
2020-12-17 22:20:07 +01:00
iceman1001
814e7c2536
fix 308198 coverity
2020-12-17 22:15:33 +01:00
Philippe Teuwen
254235237e
emrtd: fix emrtd_read_binary params
2020-12-17 22:06:44 +01:00
iceman1001
f48f85469e
fix 308195 coverity
2020-12-17 21:56:56 +01:00
tharexde
78cb9df465
Merge branch 'master' into 4x50_eview
...
update 201217 2
2020-12-17 21:30:32 +01: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
tharexde
c37b74a721
Merge branch 'master' into 4x50_eview
...
update 201217
2020-12-17 20:42:41 +01: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
iceman1001
b3c7dd64c6
fix auth logic, and compiler warning
2020-12-17 14:46:57 +01:00
iceman1001
646b0eefb7
Merge branch 'master' of github.com:RfidResearchGroup/proxmark3
2020-12-17 08:40:03 +01: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
iceman1001
76da4ce427
change 14b apdu - longer timeout, emrt now autopad too short document numbers
2020-12-17 02:09:26 +03:00
iceman1001
4b9ffef63a
change 14b apdu - longer timeout, emrt now autopad too short document numbers
2020-12-17 00:00:26 +01: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
iceman1001
c7e5648164
maur default key
2020-12-15 21:35:21 +01:00
Christian Molson
60f36b468d
em4x70: Add write key convenience function. Use real values in writekey/auth help text so people with blank tags can program a test key and test authentication.
2020-12-15 12:32:30 -05:00
Christian Molson
dc35f79bd2
em4x70: Add write pin convenience function to write and verify a new pin
2020-12-15 11:22:43 -05:00
Iceman
7f6bad4eae
Merge pull request #1105 from aveao/emrtd
...
eMRTD: Bugfixes & basic cleanup
2020-12-15 10:20:28 +01:00
Ave
fbfe1d051c
emrtd: loads of renames
2020-12-15 02:55:23 +03:00
Iceman
2bc36d5716
Merge pull request #1103 from ikarus23/apdufind
...
APDU finder: Reset the tag every x seconds (default is 5 minutes).
2020-12-15 00:30:40 +01:00
Ave
4969a0bca3
emrtd: Fix a crash
2020-12-15 02:19:42 +03:00
ikarus
b9b92c6bc3
APDU finder: Prevent reactivating the field (speedup).
2020-12-14 23:27:47 +01:00
ikarus
006e5d2be0
APDU finder: Reset the tag every x seconds (default is 5 minutes).
2020-12-14 21:48:02 +01:00
Christian Molson
5f8612cf92
em4x70: Improve client print out of tag information
2020-12-14 14:30:43 -05:00
Iceman
c683071901
Merge pull request #1101 from aveao/emrtd
...
eMRTD support 1/?
2020-12-14 18:34:55 +01:00
Ave
3339ba110f
emrtd: Split BAC into its own function
2020-12-14 20:09:20 +03:00
Ave
bc00e92af0
emrtd: Switch from size_t to int to make CI happy
2020-12-14 19:08:03 +03:00
Ave
457311ffd9
emrtd: make clean pass
2020-12-14 18:25:49 +03:00
Ave
d197d5df34
emrtd: Complete non-BAC support
2020-12-14 18:24:24 +03:00
Ave
0bca61aa99
emrtd: Continue work on supporting non-BAC passports
2020-12-14 18:05:45 +03:00
Ave
eaea632eb3
emrtd: Join secure and insecure reads
2020-12-14 17:45:53 +03:00
Ave
19922e1d23
emrtd: Clean up includes, further document used files
2020-12-14 17:30:58 +03:00
Ave
8ed358e3be
emrtd: Mark DESKey as const
2020-12-14 17:28:54 +03:00
Ave
1e16b2d2d9
emrtd: Code cleanup, impl PRNG
2020-12-14 17:26:47 +03:00
Ave
a5aed0dffd
emrtd: Force dumping EF_SOD
2020-12-14 02:42:37 +03:00
Ave
41a7bdef1c
emrtd: Detect file list on card and dump what is available
2020-12-14 02:11:39 +03:00
Ave
a85e8a40d4
emrtd: Get file list from ef_com (but not parse yet)
2020-12-14 01:30:11 +03:00
Ave
d5d5cc1fe6
emrtd: Add further checks to secure_select and secure_read
2020-12-14 00:21:10 +03:00
iceman1001
9db2a04449
fix: rem - now handles cliparse and strings correct
2020-12-13 01:44:03 +01:00
ikarus
81981a73fe
APDU finder: increment P1/P2 alternating & add Changelog entry.
2020-12-13 01:25:55 +01:00
iceman1001
a9713bbe61
fix #1094 - add Le
2020-12-13 01:17:41 +01:00
ikarus
baa86de247
Fixed merge conflict (make style).
2020-12-13 00:16:56 +01:00
ikarus
9300b8b65c
Merge branch 'master' into apdufuzz
2020-12-13 00:14:34 +01:00
ikarus
cd625ca759
Reworked hf 14a apdufuzz (now apdufind).
...
* Renamed to apdufind. Fuzzing is something different than this simple enumeration.
* Removed Le as parameter. This is just the maximum response bytes expected. Not much to find here with this simple tool.
* Sweep through all values, even if a start value was given (don't stop at 0).
* Changed sweep oder to INS->P1->P2->CLA. This way instructions are more quickly found.
* Show response data, if there are any (hex & ascii).
* Retry command with Le = 0x0100 (extended length APDU) if there was a length error return code.
* Improved the output with general information.
* Fixed bug: It's now possible to run the command without parameters.
2020-12-12 23:59:09 +01:00
Ave
21fc1d634f
emrtd: Add 14b support and better presence detection
2020-12-13 01:49:17 +03:00
Ave
ac82a80afa
emrtd: Read more files, save read files
2020-12-12 22:10:40 +03:00
Ave
d1d5d8ee74
emrtd: account for larger file reads, read ef_dg2
2020-12-12 21:54:23 +03:00
Ave
c2531e7ed0
emrtd: Rename from hf emrtd info to dump, code cleanup
2020-12-12 21:19:51 +03:00
Ave
3dd4f580c8
emrtd: Have secure_select_file accept string filenames
2020-12-12 21:11:17 +03:00