Commit Graph

81 Commits

Author SHA1 Message Date
CinderSocket 2d11e90d77 Format SAM and read-path updates 2026-03-07 00:31:31 -08:00
CinderSocket 4ffc656a23 Improve SAM read state handling and failure recovery 2026-03-07 00:27:56 -08:00
CinderSocket 29861150a2 Fix SAM read session state handling 2026-03-07 00:07:38 -08:00
CinderSocket 7e25fe7787 Revert "chore: narrow PR to ASN.1 skeleton introduction"
This reverts commit ef630e74de.
2026-03-03 18:20:14 -08:00
Eric Betts ddc56fe133 convert seader_process_success_response_i to use stack ref #29 2026-03-03 18:16:14 -08:00
Eric Betts 0d4cb54545 seader_worker_card_detect asn on the stack ref #29 2026-03-03 18:08:57 -08:00
Eric Betts c7e2bea0f2 update calloc ref #29 2026-03-03 17:23:05 -08:00
Eric Betts 8d7e1edd62 fix build
FAP: Build and lint / ufbt: Build for release branch (push) Failing after 0s
2026-03-02 08:48:38 -08:00
Eric Betts 1dae66fd7a longer version decoding 2026-01-15 20:33:42 -08:00
Eric Betts ba27cbb0e2 extended boolean for apdu generation 2026-01-15 20:33:42 -08:00
Eric Betts 1c428e46d8 better method name 2025-11-07 08:19:40 -08:00
Eric Betts 2910b13ded Process config card 2025-09-28 16:02:32 -07:00
Eric Betts 57a0488bc8 Use the commands the proxmark uses 2025-09-28 15:59:25 -07:00
Eric Betts ee4a5f673c Github Copilot: chunked log printing 2025-09-27 11:06:24 -07:00
Tiernan Messmer 5e02c73875 fix desfire sio sniffing on newer SAM firmware versions 2025-08-20 21:53:00 +10:00
Tiernan Messmer 1f71ff9162 conditionally handle EV2 inteception based on rAPDU from card 2025-08-20 21:26:51 +10:00
Tiernan Messmer 5f0549aaa9 reintroduce suppression of select seosapp for desfire 2025-08-20 20:08:04 +10:00
Tiernan Messmer af17050178 reconstruct the full ATS rather than just sending the historical bytes
rejig card type detection in seader_worker_card_detect
2025-08-20 18:21:16 +10:00
Tiernan Messmer 0575f85747 fix ATS handling for 14443a-4 cards
preivously the ATS was always filled with the ATQA which caused
some oddities with DESFire EV2 and newer cards

this change populates the ATS which removes the need for the EV2
workaround

for Seos cards however the ATS does not appear to be being returned
by the flipper firmware (perhaps an upstream bug?) but for Seos the
ATS doesn't matter as long as "something" is present, so we retain
the previous behaviour of filling in the ATQA for part4 cards
2025-08-18 22:34:41 +10:00
Eric Betts ef2f2fe62c Correct naming 2025-04-14 15:30:34 -07:00
Eric Betts dbbf07156d Add SIO parsing from iceman/evildaemond talk 2025-04-04 11:57:31 -07:00
Eric Betts 728ec921ea Give to/from/replyTo better names 2025-03-27 15:54:16 -07:00
Eric Betts e5599a87ba Make SIO sniffing (iClass) more dynamic 2025-01-25 15:40:41 -08:00
Eric Betts 465a92dc71 Print SIO even when pacs isn't printed 2025-01-24 19:53:05 -08:00
Eric Betts 1d9cf6c569 Prevent crash scanning an NTAG215 with the MFC choice 2024-10-21 16:52:39 -07:00
Eric Betts 664fbc3519 Re-disable asn1 debug 2024-08-14 20:58:28 -07:00
Eric Betts 9e21ad87a9 Fix bugs with 0.105.0 2024-08-14 20:55:38 -07:00
Eric Betts 55062f5374 Disable showing decoded ASN1 2024-08-14 13:31:05 -07:00
Eric Betts 227c6b84da Improve debug logging 2024-07-27 17:04:28 -07:00
Eric Betts b5c45a9349 more use of malloc 2024-07-27 13:07:41 -07:00
Eric Betts 0d677d5bea use malloc for seader_send_apdu 2024-07-27 12:52:08 -07:00
Eric Betts 29f36f5d26 T=1 support 2024-07-25 18:10:30 -07:00
Eric Betts df7bb05b82 Fix small memory leak switching back to ASN free 2024-07-25 16:38:30 -07:00
Eric Betts 3b721d37b8 move calloc after size check 2024-07-24 20:35:37 -07:00
Eric Betts ace1455918 Change seader_send_apdu to use seader param instead of seader_uart 2024-07-24 18:29:27 -07:00
Eric Betts 82300adb33 convert more methods to use seader param instead of seader_uart 2024-07-24 17:43:26 -07:00
Eric Betts 3b1e7215e8 0.104.0 format 2024-07-24 17:09:11 -07:00
Eric Betts 7e72e5f52e convert seader_send_nfc_rx to use seader param 2024-07-24 17:04:22 -07:00
Eric Betts b0597f975a Change seader_parse_nfc_off to accept seader parameter 2024-07-24 17:00:07 -07:00
Eric Betts b109adfff3 Add version to log 2024-06-24 17:09:08 -07:00
Eric Betts 0726f8e92e roll back a few free that are on decoded structs 2024-05-22 17:51:29 -07:00
Willy-JL a582863f8a Fix for TLSF allocator crashes
ASN_STRUCT_FREE() seems to be used to free nested structs
Here, structs are allocated in different functions and freed
individually
No need to use ASN_STRUCT_FREE(), it leads to double free()
2024-05-22 06:55:59 +01:00
Eric Betts 70548acc54 reads MFC SE 2024-04-22 10:17:07 -07:00
Eric Betts 3f83d81288 returns at message 2024-04-22 10:01:09 -07:00
Eric Betts be81164ccc gets response for encrypted MFC 2024-04-21 22:23:17 -07:00
Eric Betts 60440dd5c4 gets a couple messages in 2024-04-21 17:57:30 -07:00
Eric Betts 460ace1be3 MFC support 2024-04-18 20:22:06 -07:00
Eric Betts 57aba91b64 log incoming apdu 2024-03-28 17:02:04 -07:00
Eric Betts 533157142a Increase ASN1 debug buffer 2024-03-16 15:11:42 -07:00
Eric Betts b983749b2e better info logging 2024-03-16 14:54:54 -07:00