Commit Graph

421 Commits

Author SHA1 Message Date
Chris van Marle 7778904a39 MRTD move mrtd_helpers to nfc/helpers/ 2022-10-27 15:33:11 +02:00
Chris van Marle 496c059e39 MRTD save/load BAC params 2022-10-27 15:19:20 +02:00
Chris van Marle 46878d1526 MRTD show auth method used 2022-10-26 13:04:53 +02:00
Chris van Marle c3d7417c25 MRTD show auth failure message 2022-10-25 10:33:36 +02:00
Chris van Marle fe2b5fa21e MRTD recognize MRTDs properly 2022-10-25 10:05:59 +02:00
Chris van Marle 49ab1f99d1 MRTD Support NFC-B documents 2022-10-21 11:23:11 +02:00
Chris van Marle 5d0025dae3 Merge remote-tracking branch 'upstream/dev' into mrtd 2022-10-11 22:14:40 +02:00
Chris van Marle 6003f85601 MRTD Show month as text 2022-10-11 22:13:42 +02:00
Chris van Marle d1a1cbff82 MRTD Read DG1 + small changes 2022-10-11 22:13:41 +02:00
Chris van Marle 0ab7d91fb4 MRTD proper parse DO87 multi byte length 2022-10-11 22:13:39 +02:00
Chris van Marle d3d9b67544 MRTD remove some logs. Read DG1, try DG2 2022-10-11 22:13:38 +02:00
Chris van Marle 74faab36d9 MRTD display AIDs and DGs after auth 2022-10-11 22:13:37 +02:00
Chris van Marle 89d0c315b1 MRTD multiple changes 2022-10-11 22:13:36 +02:00
Chris van Marle 2ae8e97077 MRTD add file lookup by tag and EF.COM format 2022-10-11 22:13:35 +02:00
Chris van Marle 00d674f222 Fix indention 2022-10-11 22:13:33 +02:00
Chris van Marle 69ff30e86a MRTD TLV parsing (and select) 2022-10-11 22:13:32 +02:00
Chris van Marle b5e420c11b MRTD handle BAC decrypt+unpad 2022-10-11 22:13:31 +02:00
Chris van Marle 374f2acb62 MRTD decrypt RX APDU 2022-10-11 22:13:29 +02:00
Chris van Marle eaeb887d6f MRTD Secure Messaging added 2022-10-11 22:13:28 +02:00
Chris van Marle ab5e564410 MRTD WIP secure messaging 2022-10-11 22:13:27 +02:00
Chris van Marle c221c8947e MRTD scene for auth. read 2022-10-11 22:13:26 +02:00
Chris van Marle 8796195a63 Revert "MRTD add worker method for auhtenticated read"
This reverts commit 3458ded128a3c13ddd18484c2e1be2945e951a28.
2022-10-11 22:13:25 +02:00
Chris van Marle 6abd967966 MRTD set auth method + cleanup nfc_worker 2022-10-11 22:13:24 +02:00
Chris van Marle 0f242984fb MRTD fix KMRZ for BAC 2022-10-11 22:13:22 +02:00
Chris van Marle d9399c6559 fixup! MRTD use reader_analyzer instead of deprecated debug_pcap_worker
Clean up reader_analyzer after usage
2022-10-11 22:13:21 +02:00
Chris van Marle 6b968f7fea MRTD reread with auth 2022-10-11 22:13:20 +02:00
Chris van Marle b1f95c5c54 MRTD add worker method for auhtenticated read 2022-10-11 22:13:17 +02:00
Chris van Marle 2e586338a1 MRTD use reader_analyzer instead of deprecated debug_pcap_worker 2022-10-11 22:13:15 +02:00
Chris van Marle 59efc2701d Merge branch 'dev' into mrtd 2022-10-11 22:13:13 +02:00
Chris van Marle 0b8a0c705c Minor warning fix in MRTD 2022-10-11 22:13:11 +02:00
Chris van Marle b412843566 MRTD BAC support and some other improvements 2022-10-11 22:13:10 +02:00
Chris van Marle 66a507ba53 Add ISO7816 tester 2022-10-11 22:13:08 +02:00
Chris van Marle ea4762d068 Merge branch 'dev' into mrtd 2022-10-11 22:13:08 +02:00
Chris van Marle 27a74c4b87 MRTD generalize app selection 2022-10-11 22:13:07 +02:00
Chris van Marle c4499e221f MRTD add mrtd_bac_keys 2022-10-11 22:13:06 +02:00
Chris van Marle 44c2299b70 MRTD use smaller data type of lengths, add sha1 test 2022-10-11 22:13:04 +02:00
Chris van Marle 0871d274eb MRTD add helper functions:
- Check digit
- KMRZ
2022-10-11 22:13:02 +02:00
Chris van Marle 08afd7c883 MRTD select and read file basics 2022-10-11 22:13:01 +02:00
Chris van Marle 315294f2cf MRTD work on reading EF.DIR and EF.CardAccess 2022-10-11 22:13:00 +02:00
Chris van Marle c82b55575a Make MRTD work along with EMV 2022-10-11 22:12:57 +02:00
Chris van Marle 82352705dd MRTD rename mrtd_data.auth.bac to mrtd_data.auth 2022-10-11 22:12:54 +02:00
Chris van Marle 3eb0c43756 [NFC] Recognize MRTD + initial menus 2022-10-11 22:12:13 +02:00
Sergey Gavrilov 981f7ff8b0 Elf loader: do not load .ARM.* sections (#1850)
* Elf loader: do not load .ARM sections
* Fix section name
2022-10-09 00:51:51 +09:00
Sergey Gavrilov 37b5e58a60 More correct elf loader (#1839)
* ELF File: more robust section loader
* ELF File: faster and smaller preinit, init and fini arrays handling
* ELF File: load sections on preload stage
* ELF File: naming
* Furi: fix use after free in thread join

Co-authored-by: あく <alleteam@gmail.com>
2022-10-08 02:06:29 +09:00
Sergey Gavrilov 4000f0cac5 [FL-2870] Printf function attributes (#1841)
* Furi strings: printf attribute
* Logs: printf attribute
* Plugins: adapt
* Plugins: accommodate
* Unit tests: accommodate

Co-authored-by: あく <alleteam@gmail.com>
2022-10-07 22:35:15 +09:00
Sergey Gavrilov 38a82a1907 [FL-2839] Furi stream buffer (#1834)
* Core: stream buffer
* stream buffer: API and usage
* stream buffer: documentation
* stream buffer: more documentation
* Furi: fix spelling

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-07 21:27:11 +09:00
Astra eaa3adf98a [FL-2868] Remove string_push_uint64 (#1832)
* Remove string_pust_uint64
* Oops, furi strings now
* Remove dead code
* Remove unneeded import

Co-authored-by: あく <alleteam@gmail.com>
2022-10-07 03:51:30 +09:00
Astra 6dde5586af [FL-2803] Mifare Classic read improvements Part 1 (#1822)
* Reuse found keys when reading a card
* Fix keys not being read if no newline at the end of the file
* Actually read all keys from the dictionary
* Support for furi_string
* Check only for re-used key after the current sector
* Declare the key attack function as static
* nfc: change logs, check worker state

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-10-07 02:07:56 +09:00
gornekich 5de2c32c81 [FL-2864] NFC update detect reader (#1820)
* nfc: update detect reader view
* nfc: make detect reader more interractive
* nfc: update icons
* nfc: fix detect reader gui
* nfc: fix gui, fix worker events
* nfc: fix notifications
* nfc: add nfc_worker NULL assert

Co-authored-by: あく <alleteam@gmail.com>
2022-10-07 01:58:17 +09:00
Georgii Surkov 61189c3c82 [FL-2847] FFF trailing space fix (#1811)
* Improve whitespace handlilng in FFF
* Add tests for odd fff user input
* Adjust formatting

Co-authored-by: あく <alleteam@gmail.com>
2022-10-06 23:18:20 +09:00