Commit graph

11774 commits

Author SHA1 Message Date
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
Iceman
859f0b4d84
Merge pull request #1099 from ikarus23/apdufind
APDU finder: increment P1/P2 alternating & add Changelog entry.
2020-12-13 01:30:11 +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
Iceman
f9411d55e8
Merge pull request #1098 from ikarus23/apdufuzz
Reworked hf 14a apdufuzz (now apdufind).
2020-12-13 00:18:11 +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
Ave
42e6763ea1 emrtd: Improve and clean asn1datalength and asn1fieldlength 2020-12-12 20:55:16 +03:00
Ave
a895fbd3c6 emrtd: Implement secure_read_file 2020-12-12 20:26:54 +03:00
Iceman
a36b6ad255
Merge pull request #1097 from cmolson/em4x70-auth
EM4x70 Authentication Support
2020-12-12 17:41:55 +01:00
Christian Molson
89099cf1a1 EM4x70 remove short command options from authentication. 2020-12-12 10:31:00 -05:00
Christian Molson
701914430f em4x70 makestyle 2020-12-12 10:02:43 -05:00
Christian Molson
13268df9c3 Merge remote-tracking branch 'upstream/master' into em4x70-auth 2020-12-12 10:00:22 -05:00
Christian Molson
a6024a8622 EM4x70 Authentication support 2020-12-12 09:59:30 -05:00
Philippe Teuwen
7cd80611d3 #makestyleday 2020-12-12 14:46:40 +01:00
Iceman
6ee3a5fa10
Merge pull request #1096 from cmolson/em4x70-unlock
EM4x70 Unlock support
2020-12-12 14:41:26 +01:00
Christian Molson
7b7698843f EM4x70 fix info text, update parity options to use long options only 2020-12-12 08:29:33 -05:00
Philippe Teuwen
aaa4c7ac4f magic doc 2020-12-12 13:37:21 +01:00
Christian Molson
ed8c63a4f4 EM4x70 Unlock support. Send pin code to unlock tag. 2020-12-12 01:20:26 -05:00
Iceman
5ca0281c03
Merge pull request #1095 from cmolson/em4x710-write
EM4x70 write support
2020-12-12 06:35:21 +01:00
Christian Molson
4c52fac9e1 EM4x70 write support 2020-12-11 23:26:17 -05:00
Ave
cf3b0bcbe1 emrtd: Impl check_cc 2020-12-12 04:34:16 +03:00
Ave
3e2e0299ff emrtd: Impl secure read binary 2020-12-12 01:50:54 +03:00
Ave
e93a258f88 emrtd: make style pass 2020-12-11 21:17:15 +03:00
Ave
831672be20 emrtd: Clean up secure select file 2020-12-11 21:14:47 +03:00
Ave
2f42b875e1 emrtd: Impl secure file select 2020-12-11 21:07:52 +03:00
Philippe Teuwen
ac1081fdfb recover_pk: some more 2020-12-11 14:34:14 +01:00
iceman1001
c281895e8f textual 2020-12-11 07:59:33 +01:00
Iceman
9eabdf85e6
Merge pull request #1093 from cyberpunk-re/rawdemod_parser
Rawdemod parsing fixes
2020-12-11 07:19:50 +01:00
Ave
ca3471ffdf emrtd: calculate session keys 2020-12-11 06:52:26 +03:00
Ave
70ecfdf502 emrtd: Verify rnd_ifd 2020-12-11 06:27:47 +03:00
Ave
332b67655c emrtd: Improve logging 2020-12-11 05:38:27 +03:00
Ave
ca04c44384 emrtd: Implement retail_mac and external authentication 2020-12-11 04:53:17 +03:00
Ave
6086ede2ed emrtd: split 3des encryption to its own func 2020-12-11 04:53:17 +03:00
Ave
69be5f8b25 emrtd: calculate S and e_ifd 2020-12-11 04:53:17 +03:00
Ave
a7478443b3 emrtd: calc kenc and kmac 2020-12-11 04:53:17 +03:00