Iceman
0494cef65b
Merge pull request #3037 from kormax/improve-felica-read-block
...
Improve felica read block
2025-12-01 11:40:09 +01:00
kormax
9cf1576c88
Improve output format for hf felica scsvcode
2025-11-29 18:29:19 +02:00
kormax
53ee5d68e8
Improve output format of hf felica rdbl; fix wrong response struct format
2025-11-29 18:26:03 +02:00
Iceman
9b59204fb7
Merge pull request #3036 from kormax/felica-frame-len-crc-bandaid-fix
...
Band-aid fix to strip erroneous length byte and CRC from client payload
2025-11-29 16:35:50 +01:00
kormax
8c8bf54f4f
Remove wrong use of AddCrc in cmdhffelica
2025-11-29 13:56:34 +02:00
kormax
fe0a33ad51
Band-aid fix to strip erroneous length byte and CRC from client payload when sending FeliCa frames
2025-11-29 13:27:47 +02:00
Iceman
c16f3f4e46
Merge pull request #3035 from aaronjamt/patch-2
...
[hf seos] Fix wrapped command padding
2025-11-29 01:29:44 +01:00
Aaron Tulino (Aaronjamt)
a20856730c
[hf seos] Fix wrapped command padding
2025-11-28 16:45:48 -07:00
Iceman
ef82d5ba16
Merge pull request #3027 from aaronjamt/patch-1
...
[hf seos] Correct command padding size
2025-11-27 07:45:14 +01:00
Aaron Tulino (Aaronjamt)
7d198c9a9a
[hf seos] Correct command padding size
2025-11-26 19:59:56 -07:00
Iceman
4fa8f27b8a
Merge pull request #3015 from jwidess/patch-1
...
Add dialout fix instructions for WSL2
2025-11-26 05:17:32 +01:00
Iceman
9b2e3eeeb4
Merge pull request #3029 from aaronjamt/patch-3
...
[hf seos] Clean up and clarify "tag data"
2025-11-26 05:17:10 +01:00
Iceman
34adba543d
Merge pull request #3030 from aaronjamt/patch-5
...
[hf seos] Only allow read/write while Proxmark connected
2025-11-26 05:15:07 +01:00
Iceman
cbba121711
Merge pull request #3028 from aaronjamt/patch-2
...
[hf seos] Add keyslot parameter to `seos_mutual_auth`
2025-11-26 05:14:09 +01:00
Iceman
c613875c0d
Merge pull request #3033 from aaronjamt/patch-8
...
[hf seos] Fix cmac input length
2025-11-26 05:13:01 +01:00
Aaron Tulino (Aaronjamt)
89e6e9a7d0
[hf seos] Fix cmac input length
2025-11-21 22:58:03 -07:00
Aaron Tulino (Aaronjamt)
eaaa75957a
[hf seos] Only allow read/write while Proxmark connected
2025-11-19 19:09:32 -07:00
Aaron Tulino (Aaronjamt)
7df4361031
[hf seos] Clean up "tag data"
2025-11-19 16:49:20 -07:00
Aaron Tulino (Aaronjamt)
8f13add397
[hf seos] Add keyslot parameter to seos_mutual_auth
2025-11-18 14:48:04 -07:00
Henry Gabryjelski
7fd1179c9a
one more api ... even if silly...
2025-11-17 17:13:14 -08:00
Henry Gabryjelski
c0bc988e91
saflok - more self-test capabilities
2025-11-17 17:05:55 -08:00
Henry Gabryjelski
af7ec87092
fix typo
2025-11-17 15:42:20 -08:00
Henry Gabryjelski
35afc30e2f
saflok - remove trailing \n from calls to PrintAndLogEx()
2025-11-17 15:38:30 -08:00
Henry Gabryjelski
4c10238707
saflok - removal of assert() per iceman request
2025-11-17 14:35:30 -08:00
Henry Gabryjelski
559d63cc35
Fix regression in expiration date handling
2025-11-17 14:30:03 -08:00
Henry Gabryjelski
b95a9cf8b6
Saflok: Comment the two assert()s for why they are programmer errors that must cause client to exit.
2025-11-17 03:51:47 -08:00
Henry Gabryjelski
3560850e77
revert removal of waveshare
2025-11-17 03:23:55 -08:00
Henry Gabryjelski
4cb20bde5f
saflok selftest -- get_/set_bitfield
2025-11-17 03:18:03 -08:00
Henry Gabryjelski
c5cec7ba51
Implement significant portions of saflok selftest
2025-11-17 03:02:37 -08:00
Henry Gabryjelski
c98bf9ad3a
Fix a few bugs
...
Discovered by github copilot.
Verified actual bugs by a human.
Fixed by a human.
2025-11-17 02:34:28 -08:00
Henry Gabryjelski
87a144c46a
Comments, improved function names, use of common get_days_in_month() function.
2025-11-17 02:02:19 -08:00
Henry Gabryjelski
02056c9515
Saflok - creation year is limited to 7 bits
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
3bf51b1fd4
Migrate more fields to type-safe getter / setter routines
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
444e19212e
more use of type-safe routines for getting properties.
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
3d0fe23c17
improved messaging for cards w/o variable keys
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
700a109a8e
Saflok: remove redundant CLIParserFreE(ctx)
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
dcf7c2dd33
side-by-side check of new vs. old decoding
...
run `hf saflok decode` twice ... and it will run old decoder one time, and new decoder the other time. Makes it easy to compare side-by-side in this interrim build.
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
11eaa017d4
Saflok: Fix datetime math helpers
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
1cfeb79003
automated from make style
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
a535bdb0e7
list of needed self-test
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
cb4ba660ab
framework for saflok selftest
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
319339b4cd
UNTESTED: Add lots of helper functions to get data into / out of saflok formats
...
* Small, testable functions
* `set_` functions return boolean so they can indicate out-of-bounds values and similar failures.
* const-correctness for all helper functions
Note: The new functions are NOT used extensively yet ... they still need testing. But they should make the code more self-documenting / readable (if somewhat verbose).
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
4ce34c6c1e
More type and bufferlen safety, and validation in bit manipulation routines.
...
Again, these should have zero impact on resulting
instructions. At the same time, this will enable
static analysis to more accurately validate a buffer
(here `saflock_mfc_data_t`) points to sufficiently
large allocated memory.
Additional validation for `extract_bits()` and
`insert_bits()` will prevent accidental corruptions
(and assert, if assertions are enabled).
These changes also makes the code easier to follow.
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
c60c15e184
self-document expr --> expiration
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
5fc6f5275a
More type safety for encrypt/decrypt
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
72cf97c622
prevent buffer overrun ... assert with clear message instead.
2025-11-17 01:27:32 -08:00
Henry Gabryjelski
9579a2f4b9
change functions using UID and Key to use structs
...
This should have zero effect on an optimized build,
as there are effectively zero changes to the instructions.
Rather, this provides greater clarity as to the size of buffers
being passed to various functions, which improves the
long-term maintainability of code, especially when
maintained by someone other than the original author.
2025-11-17 01:27:32 -08:00
Iceman
d29d912fff
Merge pull request #3025 from aaronjamt/patch-3
...
[hf seos] Support variable length SIO
2025-11-15 09:50:13 +01:00
Iceman
d436e8edc3
Merge pull request #3024 from aaronjamt/patch-2
...
[hf seos] Fix buffer overflow
2025-11-15 09:49:12 +01:00
Aaron Tulino (Aaronjamt)
25140d9c8b
[hf seos] Support variable length SIO
2025-11-14 23:23:46 -07:00