Commit Graph

1495 Commits

Author SHA1 Message Date
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 2c4e2b4aad MRTD rename scene Bac to Auth 2022-10-11 22:13:19 +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 e9bb94254f MRTD move scenes to new directory 2022-10-11 22:13:13 +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 fc9b37850d Minor improvements 2022-10-11 22:12:59 +02:00
Chris van Marle c82b55575a Make MRTD work along with EMV 2022-10-11 22:12:57 +02:00
Chris van Marle d585eec50e MRTD configure docnr for auth 2022-10-11 22:12:56 +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 9b861e2313 MRTD popup "PACE todo" 2022-10-11 22:12:52 +02:00
Chris van Marle 67eff89a09 Show set dates in MRTD auth menu 2022-10-11 22:12:46 +02:00
Chris van Marle 3eb0c43756 [NFC] Recognize MRTD + initial menus 2022-10-11 22:12:13 +02:00
Chris van Marle a286c7b1a7 Text input overwrite max size template
The TextInput would not allow another key press if the template that is
going to be overwritten is over the over the buffer size.

This change clears any default text, before checking the length of
entered input.
2022-10-11 22:12:01 +02:00
Georgii Surkov 12a6290e91 [FL-2853] Reorganise Universal A/C library (#1792)
* Reorganise A/C universal remote library file
* Refactor infrared brute force code
* Update UniversalRemotes.md

Co-authored-by: あく <alleteam@gmail.com>
2022-09-28 02:11:28 +09:00
Tom Samstag e6e1e7fe15 Add formatting to DESfire data dump (#1784)
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-09-28 02:02:18 +09:00
Sergey Gavrilov 5bb7cabea6 Applications loader: do not use view dispatcher queue #1788 2022-09-27 00:59:28 +09:00
phreakocious f201062819 Add Hisense A/C IR signals.. (#1773)
* add Hisense A/C IR signals.. note that using any will toggle the power and apply the settings
* re-order the entries to be grouped by function

Co-authored-by: あく <alleteam@gmail.com>
2022-09-27 00:42:29 +09:00
Shane Synan 9f501034c3 Power: Also ask charger if charge done (#1378)
* power: Also ask charger if charge done
* F7: bump API Symbols version
* Lib: remove double include in bq25896.c

Co-authored-by: あく <alleteam@gmail.com>
2022-09-27 00:34:59 +09:00
Georgii Surkov 3e3a167764 [FL-2852] Update Universal Remote documentation (#1786)
* Update Universal Remote documentation
* Change formatting
2022-09-26 22:49:18 +09:00
hedger efb09380bd [FL-2836] Fast flash programming mode (#1782)
* updater: lowered logging level for resources unpacking; hal: implemented fast flash write mode
* hal: reworked fast flash programming; clearing most error flags on flash init; changed some flash functions return type from bool to void; scripts: fixed malformed CRC values in update bundles in certain cases;
* hal: flash: larger critical section
* hal: flash: enabling fast write inside critical section
* api_symbols: bump minor version
2022-09-26 20:03:21 +09:00
David Coles a6b98ccbbe Preliminary Rust support (#1781)
* Add support for R_ARM_THM_MOVW_ABS_NC/THM_MOVT_ABS

These are sometimes emitted by the Rust LLVM compiler.

Ref: https://github.com/ARM-software/abi-aa/blob/main/aaelf32/aaelf32.rst#56relocation

* Discard LLVM bitcode from extension applications

LLVM-based compilers may include uncompressed bitcode in object files
to help with link-time optimization. However this can bloat binary sizes
from KB to MB.

* Expose alligned_malloc/free functions to applications

This is required to implement a global allocator in Rust.
2022-09-26 07:06:46 +10:00
Chris van Marle 2a2078d9b5 Text input overwrite max size template (#1687) 2022-09-26 01:17:09 +09:00
Kowalski Dragon f86eada292 Remove unused headers (#1751) 2022-09-25 23:39:06 +09:00
Skorpionm bc777b2eff SubGhz: fix config menu (#1748)
* SubGhz: fix config menu
* SubGhz: fix gui Magellen protocol
* SubGhz: fix gui Transmit SubGhz
* SubGhz: keeloq, new gen manufacture code
* SubGhz: Update keeloq_mfcodes

Co-authored-by: あく <alleteam@gmail.com>
2022-09-25 23:34:52 +09:00
Sergey Gavrilov e6d22ed147 ELF-Loader: C++ plugin support, loader overhaul. (#1744)
* fap-loader: load all code and data sections
* fap-loader: relocate all code and data sections
* fap-loader: remove old elf loader
* fap-loader: new jmp call relocation
* openocd: resume on detach
* fap-loader: trampoline for big jumps
* fap-loader: rename cache
* fap-loader: init_array support
* fap-loader: untangled flipper_application into separate entities
* fap-loader: fix debug
* fap-loader: optimize section container
* fap-loader: optimize key for section container
* fap-loader: disable debug log
* documentation
* F7: bump api symbols version
* Lib: cleanup elf_file.c

Co-authored-by: あく <alleteam@gmail.com>
2022-09-25 23:11:29 +09:00
Jauder Ho 7e2008095e Bump protobuf from 3.20.1 to 3.20.2 in /scripts (#1774) 2022-09-25 20:56:53 +09:00
Sergey Gavrilov 92e440c77d Core: simplify record container (#1776)
Co-authored-by: あく <alleteam@gmail.com>
2022-09-25 20:48:57 +09:00
ghettorce eadd7801af fbt: exclude user site-packages directory from sys.path (#1778)
* fbt: exclude user site-packages directory from sys.path
* fbt: python path fixes for *nix
* fbt: fixed cli target on Windows

Co-authored-by: hedger <hedger@users.noreply.github.com>
2022-09-24 15:30:19 +04:00
Yoanndp 6d2b0a3b6c Update ReadMe.md (#1766) 2022-09-24 19:36:11 +09:00
Andrea Sacchi 3846852f2b NFC Fix Mifare Classic (#1769)
* Fix Mifare Classic key str to int conversion: Wrong cast lead to unexpected behavior converting key from str to int.
* Nfc: fix type cast in mf_classic_dict and add basic unit tests

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-09-23 02:35:28 +09:00