Commit Graph
3901 Commits
Author SHA1 Message Date
Jakub Kramarz dfb5fa3de4 armsrc/sam_seos.c: add SoRootOID in sam_request_pacs
As described in 5326-903 OMNIKEY 5326 Software Developer Guide (https://www.hidglobal.com/documents/omnikey-5326-dfr-developers-guide). Seems like it should be here since the beginning, but worked fine without.
2025-01-07 00:05:41 +01:00
Jakub Kramarz c28ddd1d56 armsrc/sam_common.c: type cleanup 2025-01-07 00:05:41 +01:00
Jakub Kramarz d8ebec6baa armsrc/sam_seos.c: cleanup in sam_seos_copy_payload_nfc2sam 2025-01-07 00:05:41 +01:00
Jakub Kramarz 7b5ce7fbef armsrc/sam_seos.c: added support for cards with uid of length != 4 2025-01-07 00:05:41 +01:00
Jakub Kramarz 472d2e9330 armsrc/sam_common.c: fix sam_append_asn1_node 2025-01-07 00:05:41 +01:00
Jakub Kramarz c08e6c47c8 sam_seos: add suppport for HID SAM communication with SEOS cards, based on bettse/seader project 2025-01-07 00:05:33 +01:00
Jakub Kramarz 661b7bad22 armsrc/sam_picopass.c: extract common routines to sam_common.c 2025-01-07 00:04:48 +01:00
iceman1001 17338e2a5f style 2024-12-31 23:35:16 +01:00
Piotr Rzeszut b1ba5b3ea6 Merge branch 'master' into extend-spiffs-partition-last-page 2024-12-29 22:03:21 +01:00
Piotr Rzeszut 5261106098 Add spiffs operation checks, update changelog and documentation after moving t55xx configurations 2024-12-26 21:58:30 +01:00
Piotr Rzeszut dd17effaab Move T55XX config to spiffs file 2024-12-26 19:46:55 +01:00
Piotr Rzeszut d1db0aa799 Extending SPIFFS into last page of the SPI FLASH 2024-12-26 15:04:05 +01:00
Piotr Rzeszut 2fe0ba57b2 Change lf t55xx chk -m to read dictionary from spiffs file 2024-12-26 02:52:59 +01:00
Piotr Rzeszut dd646a64a6 Add additional file exists check to remove errors 2024-12-26 01:25:54 +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
Piotr Rzeszut d7ab949d1f Change hf mf fchk --mem to read dictionary from spiffs file 2024-12-25 19:14:05 +01:00
Piotr Rzeszut 0e0dcf4f4e Fix memory erase before writing keys dictionaries for SPI flash with different page number than 4 - always erase on the last page. 2024-12-07 16:48:59 +01:00
Piotr Rzeszut 88d9345bc7 Correct list of flash pages to be erased after extenging Mifare flash dictionary area 2024-12-07 13:12:01 +01:00
Lucifer Voeltner e416080ae8 make the help message even clearer, and fix a bug featuring me being unable to count 2024-12-03 10:23:41 +07:00
Lucifer Voeltner 4adf663300 Fix Gen 3 APDU block 0 SAK not being written correctly 2024-12-01 16:27:35 +07:00
Philippe Teuwen 830549b474 hf mf isen: add collect_fm11rf08s_without_backdoor option 2024-11-25 00:53:57 +01:00
Philippe Teuwen c4b8569d87 fix CmdHF14AMfISEN error handling 2024-11-24 12:26:07 +01:00
iceman1001 daff8228a2 Revert "Release v4.19552 - Orca"
This reverts commit a039ac18cc.
2024-11-22 12:15:19 +01:00
iceman1001 a039ac18cc Release v4.19552 - Orca 2024-11-22 12:15:19 +01:00
Iceman f66d5970be Merge branch 'master' into fix_spiffs_tree_linkname
Signed-off-by: Iceman <iceman@iuse.se>
2024-11-21 18:48:58 +01:00
ANTodorov 99d5a72879 fixed symlink name in mem spiffs tree
the used strtok(...,".")` is cutting the name to the first dot
linkname.txt.lnk -> linkname

with the fix it is
linkname.txt.lnk -> linkname.txt
2024-11-21 14:28:39 +02:00
ANTodorov 7b99bfa3d6 fix reported file/link names when mem spiffs wipe 2024-11-21 12:31:48 +02:00
iceman1001 ab676287d2 fix breaking builds 2024-11-20 23:48:14 +01:00
iceman1001 2ad635ce57 style 2024-11-20 23:32:02 +01:00
ANTodorov 76aaef96cc rework addressing the review comments
Reverted 'mfr_id' to 'manufacturer_id'
Moved devices table definition to flashmem.h
Single global variable 'spi_flash_pages64k'
The local structure holding the actual device data is used in firmware.c only

difference in code:
```
   text    data     bss     dec     hex filename
 223189  138560    6067  367816   59cc8 ./armsrc/obj/fullimage.elf <-- c9e751d darkside: fix backdoor support

 223437  138624    6075  368136   59e08 ./armsrc/obj/fullimage.elf <-- this commit
 ======================================
   +248     +64      +8    +320
```
2024-11-20 14:10:02 +02:00
ANTodorov f3fa732062 refactor spi flash detection 2024-11-19 09:35:26 +02:00
ANTodorov 861c7efd26 fix missing offsets
the data was written, but it should be readable too...
2024-11-17 22:16:35 +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 3a3ea75d12 style 2024-11-15 14:28:14 +01:00
iceman1001 d398576fc7 the 14a sim had a wrong size check of the irats pointer instead of actual size. Only way around it was to add the length at function call 2024-11-15 13:27:39 +01:00
Piotr Rzeszut a9c10c872e Changed max sector for AUTH to be executed only once and result cached in local variable 2024-11-15 13:13:48 +01:00
Piotr Rzeszut 18db45b00e mifare simulation: do not respond for authentication attempts for sectors out of range for selected mifare type
Resolves #2635
2024-11-15 02:32:20 +01:00
iceman1001 133fe505f6 remove debug 2024-11-14 22:14:41 +01:00
pingu2211 514fe677d6 rename all mifarehost functions to match style guide 2024-11-14 09:33:57 +11:00
Antiklesys 0b7d76d7cd Fixed keygen bug in legrec
Fixed legrec bug that was generating blank keys after misalignment in commit: 110dfab668
2024-11-07 19:20:50 +08:00
Antiklesys 110dfab668 Improved algorithm for hf iclass legrec
Improved algorithm for hf iclass legrec by taking in account the hash0 limitations for the ending bits distributions of each key bite, thus reducing the key entropy and number of required tries from 2^24 to almost 2^19
2024-11-06 16:52:48 +08:00
Philippe Teuwen 46813e0e50 hf mf isen: rewrite counters, add specific NONCE_SUPERSTATIC case (when first nt == nested nt) 2024-11-05 17:07:54 +01:00
Philippe Teuwen 6706bdb13f hf mf isen: detect special static nonce nt_first==nt_nested 2024-11-05 09:30:22 +01:00
iceman1001 b3285cce8a style 2024-11-02 15:13:40 +01:00
iceman1001 9ddd833cba fix string handling and styles 2024-11-02 14:50:31 +01:00
nvx ef0cf93a5d fix typos and regenerate command list 2024-11-02 23:34:38 +10:00
nvx 6d7fcc642a add gdm flag to hf mf c* commands
this enables the use of hf mf c* commands with gdm/uscuid cards when the alt wake up mode 20(7)/23 is enabled rather than gen1 wake up
2024-11-02 22:22:13 +10:00
nvx df5e2ce05b improve cardhopper to improve reliability when parts of the packet are buffered 2024-11-02 19:53:23 +10:00
Iceman 7c4fd9a46a Merge pull request #2595 from n0emis/hitags-sim-timing
hitagS sim: fix timing of receive
2024-10-28 01:26:02 +01:00