unleashed-firmware/lib/nfc_protocols
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
..
crypto1.c [FL-2245] Introduce Mifare Classic Emulation (#1242) 2022-05-24 17:00:15 +03:00
crypto1.h [FL-2245] Introduce Mifare Classic Emulation (#1242) 2022-05-24 17:00:15 +03:00
emv.c Rework NFC EMV response parsing. Split TLV and tags per EMV spec. (#1257) 2022-05-23 20:58:13 +03:00
emv.h [FL-2369] NFC refactoring (#1095) 2022-04-19 18:23:58 +03:00
mifare_classic.c [FL-2245] Introduce Mifare Classic Emulation (#1242) 2022-05-24 17:00:15 +03:00
mifare_classic.h [FL-2245] Introduce Mifare Classic Emulation (#1242) 2022-05-24 17:00:15 +03:00
mifare_common.c [FL-2369] NFC refactoring (#1095) 2022-04-19 18:23:58 +03:00
mifare_common.h [FL-2369] NFC refactoring (#1095) 2022-04-19 18:23:58 +03:00
mifare_desfire.c Fix MiFare DESFire GetKeySettings response parsing (#1267) 2022-05-24 17:05:46 +03:00
mifare_desfire.h Fix MiFare DESFire GetKeySettings response parsing (#1267) 2022-05-24 17:05:46 +03:00
mifare_ultralight.c [FL-2507] Fix NTAG21x emulation fix (#1179) 2022-04-28 19:09:52 +03:00
mifare_ultralight.h [FL-2520] FW build with -Wextra (#1185) 2022-05-06 16:37:10 +03:00
nfc_util.c [FL-2520] FW build with -Wextra (#1185) 2022-05-06 16:37:10 +03:00
nfc_util.h [FL-2520] FW build with -Wextra (#1185) 2022-05-06 16:37:10 +03:00
nfca.c [FL-2245] Introduce Mifare Classic Emulation (#1242) 2022-05-24 17:00:15 +03:00
nfca.h [FL-2245] Introduce Mifare Classic Emulation (#1242) 2022-05-24 17:00:15 +03:00