6707 Commits

Author SHA1 Message Date
Iceman d9ed0b310f Merge pull request #3302 from kormax/calypso-improvements
Calypso improvements
2026-05-12 21:53:17 +02:00
kormax d0d562528d Recognize more command codes in 'hf calypso list' 2026-05-12 19:04:02 +03:00
kormax bd5cb11ee7 Add color codes to ansi.h 2026-05-12 18:22:15 +03:00
kormax 954cf2e392 Improve output formatting for 'hf calypso dump' 2026-05-11 21:03:17 +03:00
kormax 5621bd7340 Add Calypso data objects related to PKI 2026-05-11 20:50:33 +03:00
iceman1001 cbb572afad style 2026-05-11 14:36:17 +02:00
Antiklesys 7c1fa4de4b Update cmdhficlass.c
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2026-05-11 14:07:05 +08:00
Antiklesys f73ec7275c Fix formatting in command help text
Signed-off-by: Antiklesys <syselkitna@gmail.com>
2026-05-11 14:05:57 +08:00
Antiklesys abe54994d2 Implemented SC operations 2026-05-11 13:54:49 +08:00
Iceman 70516ce41d Merge pull request #3288 from suut/desfire-ev3c-support
DESFire EV3C support
2026-05-11 05:19:20 +02:00
suut 6661653316 Remove extra spaces 2026-05-10 23:34:41 +02:00
suut 6d458a9f49 Remove the --force argument from hf mfdes auth 2026-05-10 23:33:37 +02:00
suut b018054bce Fix linter error 2026-05-10 23:28:27 +02:00
suut cfb32e6951 Remove superfluous typing of defines 2026-05-10 23:27:27 +02:00
kormax 3da7e52c1a Implement 'hf calypso list' command 2026-05-10 21:18:04 +03:00
kormax 9399dfc16e Fix ISO7816 trace CRC status handling 2026-05-10 21:18:04 +03:00
kormax 80751a88c0 Add ISODEP trace annotation helpers 2026-05-10 21:17:56 +03:00
kormax 2529b16662 Annotate ECP in HF 14B traces 2026-05-09 18:33:45 +03:00
kormax eef3721357 Clear trace before HF 14B info 2026-05-09 18:33:45 +03:00
kormax 7ee697aa02 Add new hex print helper 2026-05-08 21:43:54 +03:00
kormax e96b6931e6 Skip attempting GET DATA if reported as unsupported 2026-05-08 19:46:21 +03:00
kormax b2f5ae43c6 Format big GET DATA object entries 2026-05-08 19:45:58 +03:00
kormax a1077d9f7d Retrieve GET DATA objects in 'hf calypso info' 2026-05-08 19:45:27 +03:00
kormax 3a0fdf1ddf Handle implicitly selected DF in 'hf calypso info' 2026-05-07 17:22:03 +03:00
Iceman a804c64d84 Merge pull request #3290 from sleepwalkera/fix/hitag-s-82xx-cloning
Fix Hitag S / 82xx cloning and compatibility
2026-05-06 22:43:24 +02:00
kormax e8f6649310 Improve EF candidate discovery in 'hf calypso dump' 2026-05-06 21:57:43 +03:00
sleepwalkera b95a24798f Fix Hitag S / 82xx cloning and compatibility
Fixes an issue where cloning EM410x to Hitag S / 82xx tags (like F8310) would fail on subsequent attempts with "Something went wrong in step 0".

Changes:
- Write sequence: Reordered to write data (Pages 4/5) before configuration (Page 1). The current logic enables TTF mode first, and the resulting broadcast likely interferes with the remaining write commands.
- Handshake: Switched from FADV to ADV1. Some 82xx clones don't seem to respond to FADV once they've been programmed, while ADV1 appears more reliable.
- Config header: Adjusted RES/auth bits to produce a 0xDA header instead of 0xCA. This matches the "standard" configuration used by most standalone 82xx duplicators and fixes issues where tags written by PM3 weren't recognized by other readers.

Tested with F8310 tags. They are now successfully rewritable and work across different 82xx devices.
2026-05-06 16:05:33 +00:00
suut 80b70a37f4 remove unused variable to make compiler happy 2026-05-05 18:27:53 +02:00
suut 106a9e61a3 refactor the MFC block parsing into a function parse_mfc_blocks 2026-05-05 18:18:03 +02:00
kormax a24fd5382a Remove 'hf mfdes leaf'; use 'hf mfdes verifycert leaf' instead 2026-05-05 18:48:03 +03:00
kormax 7abc9a1563 Use LEAF certificate instead of bare public key 2026-05-05 18:40:18 +03:00
kormax 1167bd9701 Decompose utils from duox-related code 2026-05-05 18:27:19 +03:00
Iceman 59edb4720e Merge branch 'master' into desfire-ev3c-support
Signed-off-by: Iceman <iceman@iuse.se>
2026-05-05 09:52:07 +02:00
suut 23fbdd2f52 Fix typo, check if raw blocks are given in ascending order 2026-05-04 23:23:54 +02:00
suut 0e679eaa17 Add the command hf mfdes makemfclicense 2026-05-04 23:16:16 +02:00
kormax fa414f3b65 Implement 'hf mfd verifycert' command 2026-05-04 22:07:33 +03:00
kormax 7484af6c87 Drop old 'hf 14b calypso' and 'hf 14b mobib' commands 2026-05-03 08:08:15 +03:00
kormax 89b729e06b Implement 'hf calypso dump' command 2026-05-02 22:03:09 +03:00
kormax 23326238fb Improvements to 'hf calypso info' 2026-05-02 12:40:59 +03:00
Iceman 3ea383afc7 Merge pull request #3280 from kormax/hf-calypso-info
Add `hf calypso info` command
2026-05-02 08:26:01 +07:00
kormax 6f29152140 Update CHANGELOG 2026-05-01 22:52:25 +03:00
kormax d06106b538 Add 'hf calypso info' command 2026-05-01 22:41:42 +03:00
Iceman 8d58c5b0aa Merge pull request #3279 from gentilkiwi/master
ICODE 3 & ICODE DNA detection in `hf 15 info` command
2026-05-01 09:23:13 +07:00
Benjamin DELPY d21e87eafe Update cmdhf15.c tu support ICODE DNA & ICODE 3 in hf 15 info command
including asking for signature

Signed-off-by: Benjamin DELPY <benjamin@gentilkiwi.com>
2026-04-30 22:56:38 +02:00
Benjamin DELPY c84170328c Update cmdhf15.c to add ICODE DNA & ICODE 3 to UID mapping
Signed-off-by: Benjamin DELPY <benjamin@gentilkiwi.com>
2026-04-30 22:52:16 +02:00
Benjamin DELPY 12bf5cc0f6 Update originality.c to add ICODE 3 in ICODE public key description
Signed-off-by: Benjamin DELPY <benjamin@gentilkiwi.com>
2026-04-30 22:50:26 +02:00
kormax dc73967dde Detect IC sub-type through ROM code in 'hf felica info' 2026-04-30 20:27:13 +03:00
Iceman b5e3fed77f Merge pull request #3276 from kormax/duox-cleanup
DUOX-related cleanup
2026-04-30 17:22:51 +07:00
kormax bf6458171a Add identification of known AID names for DESFire 2026-04-29 21:31:02 +03:00
kormax e8dcd666e2 Add MFD app selection helpers 2026-04-28 21:26:16 +03:00