Commit Graph

91 Commits

Author SHA1 Message Date
RogueMaster
4b9f353c78 fmt 2022-11-12 08:37:29 -05:00
RogueMaster
7d67cd958b Update nfc_scene_mf_ultralight_emulate.c 2022-11-10 13:12:45 -05:00
RogueMaster
a411305a5f Update nfc_scene_mf_ultralight_emulate.c 2022-11-10 13:11:53 -05:00
RogueMaster
2ce7b4bdcc Merge branch 'ofwdev' into 420 2022-11-10 11:44:55 -05:00
Astra
e7c4b40dbe Force card types in extra actions (#1961)
* Mifare Classic forced read
* Add all the needed card types
* nfc: remove unused scene
* nfc: remove unused worker state
* nfc: fix read card type scene state usage
* nfc: move NfcReadMode to NfcDevData struct
* nfc: fix bank card reading and scene navigation
* nfc magic: fix magic deactifate function

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-11-11 01:29:57 +09:00
Astra
820afd2aec NFC Unit tests part 1.1 (#1927)
* Mifare Classic 1/4K, 4/7b uid, NFC-A: NFC-A is not complete yet, as there are no 4b uid tests. Also, Mifare Classic tests don't cover the key cache yet.
* NFC unit tests require access to the NFC app
* Made nfc_device_save accept full path as an argument
* Move from cstrs to furi strings and fix logic
* nfc tests: fix memory leak
* nfc: add mf_classic_get_total_blocks() to API
* nfc tests: simplify nfc tests
* nfc: fix memory leak in shadow file saving
* nfc: fix set uid scene
* nfc: fix saving files
* nfc: fix preload nfc file path
* nfc: remove comments

Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-11-11 01:20:35 +09:00
RogueMaster
30dbaea2e8 Merge branch 'ofwdev' into 420 2022-11-05 14:23:42 -04:00
あく
e8913f2e33 Code cleanup: srand, PVS warnings (#1974)
* Remove srand invocation

* PVS High priority fixes

* PVS High errors part 2

* Furi: heap tracing inheritance

* Furi add __builtin_unreachable to furi_thread_catch
2022-11-05 18:07:24 +03:00
RogueMaster
2cc4dadf19 Merge branch 'pr/401' into 420 2022-11-04 13:18:52 -04:00
RogueMaster
5c219ee7e9 fmt 2022-10-28 23:06:17 -04:00
RogueMaster
f18e7725b4 Merge branch 'UNLEASHED' into 420 2022-10-28 13:09:03 -04:00
MX
4da3f9cf15 Merge branch 'fz-dev' into dev 2022-10-28 19:43:22 +03:00
gornekich
93a6e17ce5 [FL-2933] Mf Classic initial write, update, detect reader (#1941)
* nfc: introduce nfc write
* nfc: add write logic
* nfc worker: add write state
* nfc: add mfc update logic
* nfc: add update success logic
* nfc: add custom card for detect reader
* nfc: update write logic
* nfc: add halt command, add notifications
* nfc: add write fail scene
* nfc: fixes and clean up
* nfc: fix navigation ad notifications
* nfc: fix detect reader nfc data setter

Co-authored-by: あく <alleteam@gmail.com>
2022-10-29 01:10:16 +09:00
MX
4c0c70ff64 Merge branch 'fz-dev' into dev 2022-10-28 14:39:14 +03:00
Chris van Marle
0a044d6416 MRTD Select auth&read after load 2022-10-28 11:25:59 +02:00
Chris van Marle
131578ab42 MRTD Use u2f icon in load params 2022-10-28 10:17:13 +02:00
RogueMaster
51286c21dd Merge branch 'ofwdev' into 420 2022-10-28 04:06:11 -04:00
Georgii Surkov
f11df49468 [FL-2828] Dolphin score update take 2 (#1929)
* Move DolphinDeedNfcRead
* Move DolphinDeedNfcReadSuccess
* Move DolphinDeedNfcSave
* Move DolphinDeedNfcDetectReader
* Move DolphinDeedNfcEmulate
* Count DolphinDeedNfcEmulate when launched from file browser
* Implement most of the score accounting for NFC
* Fully update Nfc icounter handling
* Move DolphinDeedSubGhzFrequencyAnalyzer
* Update the rest of icounter in SubGHz
* Adjust SubGHz icounter handling
* Adjust LFRFID icounter handling
* Adjust Infrared icounter handling
* Don't count renaming RFID tags as saving
* Don't count renaming SubGHz signals as saving
* Don't count renaming NFC tags as saving
* Adjust iButton icounter handling
* Minor code refactoring
* Correct formatting
* Account for emulating iButton keys from file manager/rpc

Co-authored-by: あく <alleteam@gmail.com>
2022-10-28 16:18:41 +09:00
Chris van Marle
fc31ddc447 MRTD Load params as menu option 2022-10-28 08:22:35 +02:00
Chris van Marle
16ed3cb7c6 MRTD reset auth on retry 2022-10-27 16:33:38 +02:00
Chris van Marle
ab3c74bbf0 Merge remote-tracking branch 'upstream/dev' into mrtd 2022-10-27 15:54:40 +02:00
Chris van Marle
5119eaf2f7 MRTD remove auth failed TODO 2022-10-27 15:33:07 +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
RogueMaster
e5c35e6b26 Merge pull request #376 from qistoph/mrtd
MRTD Support NFC-B documents
2022-10-24 02:43:25 -04:00
RogueMaster
b7e039c6f3 Merge branch 'UNLEASHED' into 420 2022-10-21 15:22:11 -04:00
MX
6189511a87 allow uid emulation of emv 2022-10-21 22:00:54 +03:00
MX
12bbe3e68e return saving of emv 2022-10-21 21:58:59 +03:00
Chris van Marle
49ab1f99d1 MRTD Support NFC-B documents 2022-10-21 11:23:11 +02:00
RogueMaster
d676282b55 fbt format 2022-10-19 18:15:55 -04:00
RogueMaster
39f8fd50c1 Merge branch 'pr/371' into 420 2022-10-18 02:52:53 -04:00
RogueMaster
4d350eda4e Merge pull request #369 from qistoph/mrtd
Mrtd TEST PR
2022-10-18 02:32:57 -04:00
Zeus Ricote
a7c897a09f nfc related changes 2022-10-18 05:46:20 +02:00
RogueMaster
b09d84e876 Merge branch 'DarkFlippers:dev' into 420 2022-10-17 14:28:28 -04:00
MX
4f7ca617cc Merge branch 'fz-dev' into dev 2022-10-17 21:20:28 +03:00
Astra
5e35e51c57 [FL-2907] Remove the back button from MFC keys list #1878
Co-authored-by: あく <alleteam@gmail.com>
2022-10-18 02:49:00 +09:00
Chris van Marle
13d32f62a9 MRTD remove testing values 2022-10-12 07:30:25 +02:00
Chris van Marle
76ef36e62c MRTD minor format string fixes 2022-10-12 07:28:45 +02:00
Chris van Marle
033f7f6a0b MRTD fix string_t -> FuriString* 2022-10-12 07:26:29 +02:00
RogueMaster
f6baf82b84 fmt 2022-10-12 00:18:37 -04:00
MX
aa9f958f07 Merge branch 'fz-dev' into dev 2022-10-12 04:37:59 +03:00
RogueMaster
0286a175b7 Merge branch 'ofwdev' into 420 2022-10-11 20:07:00 -04: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
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
c221c8947e MRTD scene for auth. read 2022-10-11 22:13:26 +02:00
Chris van Marle
6abd967966 MRTD set auth method + cleanup nfc_worker 2022-10-11 22:13:24 +02:00