Mining/pkg/ueps
Claude 21b7eb9a93
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
ax(ueps): test errMissingHMAC path in ReadAndVerify Ugly case
TestReader_ReadAndVerify_Ugly previously tested wrong-secret (errIntegrityViolation),
duplicating the Bad case. Replaced with a hand-crafted frame that omits the HMAC TLV,
exercising the errMissingHMAC sentinel that was entirely untested.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 09:41:48 +01:00
..
packet.go ax(ueps): replace prose IntentID comment with usage example 2026-04-02 09:37:52 +01:00
packet_test.go ax(ueps): rename frame1/frame2 to frameWithSecretA/frameWithSecretB 2026-04-02 09:29:58 +01:00
reader.go ax(ueps): remove superfluous payloadBytes intermediate variable 2026-04-02 09:35:35 +01:00
reader_test.go ax(ueps): test errMissingHMAC path in ReadAndVerify Ugly case 2026-04-02 09:41:48 +01:00