Add Mfkey32 application (#2517)

* Add Mfkey32 application
* Fine tune RAM requirements, use FZ notification service API
* Fix PVS security warnings, fix issue with cracking keys on the FZ
* Prefer on-device or Flipper mobile app (seamless)
* Mfkey32: change app category to NFC
* Mfkey32: set target to f7 only
* Silence PVS false positives
* Correct PVS codes

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Nathan Nye 2023-05-08 21:45:59 -04:00 committed by GitHub
parent e1c6e78b2e
commit d5403a089c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 1368 additions and 2 deletions

View file

@ -0,0 +1,17 @@
App(
appid="mfkey32",
name="Mfkey32",
apptype=FlipperAppType.EXTERNAL,
targets=["f7"],
entry_point="mfkey32_main",
requires=[
"gui",
"storage",
],
stack_size=1 * 1024,
fap_icon="mfkey.png",
fap_category="Nfc",
fap_author="noproto",
fap_icon_assets="images",
fap_weburl="https://github.com/noproto/FlipperMfkey",
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

BIN
applications/external/mfkey32/mfkey.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

1349
applications/external/mfkey32/mfkey32.c vendored Normal file

File diff suppressed because it is too large Load diff

View file

@ -18,7 +18,7 @@ void nfc_scene_mfkey_complete_on_enter(void* context) {
AlignCenter, AlignCenter,
AlignCenter, AlignCenter,
FontSecondary, FontSecondary,
"Now use mfkey32v2\nto extract keys"); "Now use Mfkey32\nto extract keys");
widget_add_button_element( widget_add_button_element(
nfc->widget, GuiButtonTypeCenter, "OK", nfc_scene_mfkey_complete_callback, nfc); nfc->widget, GuiButtonTypeCenter, "OK", nfc_scene_mfkey_complete_callback, nfc);