Files
proxmark3/client
Gabriele GristinaandClaude Opus 5.5 2bbaf340f4 hf gallagher test: fix the known vector and MES tests, run in make check
Two of the five tests failed on master. gallagher_decode_creds()
descrambled the caller's buffer in place, so test_known_vector_creds()
compared the encoding with its own input after the decode had changed
it. gallagher_construct_credential() never set csn_len, so test_MES()
encoded with an uninitialised CSN length and got 9C24CC5C instead of
4F36B74E, the formats/mes.md vector. The command printed no overall
result and make check did not run it, so no automated run showed the
failures.

gallagher_decode_creds() now decodes a copy, the constructor sets
csn_len, GallagherTest() prints "Tests ( ok )" or "Tests ( fail )" as
DesfireTest() does, and pm3_tests.sh runs hf gallagher test with the
other hf self-tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 18:49:27 +01:00
..
2026-11-11 10:15:07 -06:00
2026-11-09 12:32:20 +07:00
2025-09-02 16:16:29 +02:00