flipperzero-firmware/applications/nfc
Kevin Wallace 4b45746b8e
Fix MiFare DESFire GetKeySettings response parsing (#1267)
Only the bottom nybble of buf[1] is the key ID; the top nybble contains flags.
Notably, the top bit is set for AES mode on EV1+ cards, and ORCA cards in the
Seattle area were just upgraded to include an app that uses AES.

Prior to this, cards with flags set could be read and saved just fine, but
loading them would fail due to missing keys.  After this, tags saved with the
old version will load fine, and when re-saved will have the flags separated
out into a new field.

Co-authored-by: Kevin Wallace <git+flipperzero@kevin.wallace.seattle.wa.us>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-05-24 17:05:46 +03:00
..
helpers [FL-2520] FW build with -Wextra (#1185) 2022-05-06 16:37:10 +03:00
scenes [FL-2245] Introduce Mifare Classic Emulation (#1242) 2022-05-24 17:00:15 +03:00
views [FL-2245] Introduce Mifare Classic Emulation (#1242) 2022-05-24 17:00:15 +03:00
nfc_cli.c [FL-2520] FW build with -Wextra (#1185) 2022-05-06 16:37:10 +03:00
nfc_device.c Fix MiFare DESFire GetKeySettings response parsing (#1267) 2022-05-24 17:05:46 +03:00
nfc_device.h [FL-2369] NFC refactoring (#1095) 2022-04-19 18:23:58 +03:00
nfc_i.h [FL-2369] NFC refactoring (#1095) 2022-04-19 18:23:58 +03:00
nfc_types.c [FL-2369] NFC refactoring (#1095) 2022-04-19 18:23:58 +03:00
nfc_types.h [FL-2369] NFC refactoring (#1095) 2022-04-19 18:23:58 +03:00
nfc_worker_i.h [FL-2369] NFC refactoring (#1095) 2022-04-19 18:23:58 +03:00
nfc_worker.c [FL-2245] Introduce Mifare Classic Emulation (#1242) 2022-05-24 17:00:15 +03:00
nfc_worker.h [FL-2245] Introduce Mifare Classic Emulation (#1242) 2022-05-24 17:00:15 +03:00
nfc.c [FL-2245] Introduce Mifare Classic Emulation (#1242) 2022-05-24 17:00:15 +03:00
nfc.h NFC: rename to Nfc 2020-10-20 14:12:34 +03:00