Commit Graph

47 Commits

Author SHA1 Message Date
iceman1001 65607fc727 added Ultralight-C simulation. hf mfu sim -t 13. Use eload first. Also added support to upload UL-C dictionaries and UL-AES to spiffs memory. A lot of textual reworked across client. Unifiy texts and a bit more color ;) 2025-06-19 17:26:20 +02:00
iceman1001 875b3c44b4 unify text - step 1 2025-03-25 10:12:16 +01:00
Philippe Teuwen c37ca881e6 a few calloc checks, still many to go 2025-03-24 11:17:40 +01:00
iceman1001 12f94a921a text and cpp warning for hitagu fix suggested by jump 2025-03-24 09:13:21 +01:00
iceman1001 17a8f0f9c2 text 2025-03-20 12:17:37 +01:00
Piotr Rzeszut 4b5d532c9a Revert to strcpy instead of strcpy_s for compatibility. 2024-12-26 04:13:03 +01:00
Piotr Rzeszut 5ed4804044 Fix missing header file for strcpy_s 2024-12-26 04:10:10 +01:00
Piotr Rzeszut 470536f0fd Upload also iClass and T55XX keys to spiffs files 2024-12-26 02:10:49 +01:00
Piotr Rzeszut d9a3e4f050 Refactor keys in flash statistics to check for files 2024-12-26 01:11:46 +01:00
Piotr Rzeszut 5af815f271 Mifare dictionary uploaded to spiffs using legacy function 2024-12-25 21:08:44 +01:00
ANTodorov 51a94d6d51 restore config page (the last page) protection from wiping 2024-11-17 23:56:40 +02:00
ANTodorov 597bfd6d19 fix signature offset in a log message too
hopefully last one (tm)
2024-11-17 22:38:59 +02:00
ANTodorov 48ec109a1e use all spi flash v0.1
* introduced a new communication command CMD_FLASHMEM_PAGES64K to get the number of 64k pages
* "the last page" is a special, holding the dicts and some other stuff, relocated to there
* raised timeout when wiping a mem page (W25Q16 looks a bit slower than W25X20BV)
* loop all pages in Flash_WipeMemory()
2024-11-17 19:03:15 +02:00
iceman1001 aee02cd523 style 2024-03-19 11:16:02 +01:00
iceman1001 d1d9d00d99 minor parsing issue 2024-03-19 11:11:33 +01:00
iceman1001 6b5d5951bb unify text, improving mfu info output, and fixed some bugs with card uid not used in the fingerprinting 2024-02-04 23:19:43 +01:00
iceman1001 fb23d2047f reworked the JSON format for 14a, 14b, 15, cryptorf, lto, NDEF.\nDeprecated EML format. Pm3 client do not save EML files any more.nPm3 client will continue to load EML files. 2023-10-02 20:11:23 +02:00
iceman1001 944af6be95 fixed the missing erasing of flash memory bank. 2023-07-27 22:55:58 +02:00
iceman1001 4807fae885 in private case we calloc, need to free that memory 2023-02-21 04:42:24 +01:00
iceman1001 b24d7736c5 fix coverity #322661 2023-01-29 18:14:49 +01:00
Jean-Michel Picod 1adec4dfb2 Fix overflow in SPI memory when writing default key dictionnaries.
Boundaries were defined in the memory layout but weren't enforced
by the client, causing an overflow when trying to load a
dictionnary that was too big.
It's too hard to enforce it on the ARM side as the command is a
generic write.
Now that limits are defined, also outputs them as part of the
`hw status` command.
2022-11-24 03:16:58 +01:00
iceman1001 2671795b8b textual 2022-02-26 17:15:32 +01:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
iceman1001 77f49c8efc text - unified 2022-01-01 09:39:05 +01:00
Philippe Teuwen 7a5786b9e4 fix a number of strx usages 2022-01-01 02:39:10 +01:00
Philippe Teuwen 88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen 6a2f2b3979 rename global conn 2021-08-21 20:21:08 +02:00
iceman1001 3d8b165033 fix coverity CID 344398 2021-05-19 09:06:35 +02:00
iceman1001 e4f55556ba style 2021-05-05 21:04:48 +02:00
iceman1001 788876538d convert from OLD to NG 2021-05-01 19:01:15 +02:00
iceman1001 007b916643 style 2021-04-08 11:08:39 +02:00
iceman1001 d19da982f0 looping for smart card, inverted the silent to verbose, updated cardhelper stuff 2021-04-04 17:01:43 +02:00
iceman1001 e35ebf6b69 mem info , now supports loading PEM with private key 2021-03-31 15:52:57 +02:00
iceman1001 8dddb0b3bc mem dump - optional columns 2021-03-09 21:16:51 +01:00
iceman1001 ba79bb7b06 fix some missing command when printing helps/markdown 2021-03-09 16:09:36 +01:00
iceman1001 e4753011d8 text 2021-03-07 10:19:52 +01:00
iceman1001 dff732840f mem info - now accepts input id to facility easy testing. Signature offset also triggers erase before to enable easy updates 2021-03-07 08:56:36 +01:00
iceman1001 e5b879cbe9 rdv4 device detection added 2021-02-17 11:52:23 +01:00
iceman1001 64f9bb5e01 style 2020-10-06 18:00:00 +02:00
iceman1001 537a21b2fa coverity 303199 2020-10-05 13:39:10 +02:00
iceman1001 8e1546b012 textual 2020-10-03 17:14:57 +02:00
iceman1001 cc245016ea mem * - now uses cliparser 2020-10-03 17:12:58 +02:00
Philippe Teuwen 72acec5806 Makefile & CMake rework 2020-05-25 02:15:06 +02:00
iceman1001 8c22ef076b expanded from u16 -> u32 for keys to be loaded 2020-05-20 08:58:28 +02:00
Philippe Teuwen cb8d589fc4 armsrc: clarify static vars vs global vars, part 3 2020-05-19 18:12:40 +02:00
Philippe Teuwen 8bdda55115 Fix prompt colors in log -> spurious space in color macros -> adjust lots of files... 2020-04-22 02:22:55 +02:00
Bjoern Kerler 81bc0bc2b9 Reorder client src directories 2020-04-16 10:53:24 +02:00