Mining/pkg/ueps
Claude 11cbfd5107
Some checks failed
Test / test (push) Waiting to run
Security Scan / security (push) Has been cancelled
ax(ueps): replace prose claim with usage-example comment in MarshalAndSign_Ugly
TestPacket_MarshalAndSign_Ugly commented "modifying any byte breaks HMAC
verification" (prose description) but never called ReadAndVerify to prove it.
Replaced with a usage-example comment and an actual ReadAndVerify call that
asserts errIntegrityViolation is returned — AX Principle 2.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 09:07:22 +01:00
..
packet.go ax(ueps): use full variable name in TagHMAC and TagPayload comments 2026-04-02 08:58:53 +01:00
packet_test.go ax(ueps): replace prose claim with usage-example comment in MarshalAndSign_Ugly 2026-04-02 09:07:22 +01:00
reader.go ax(ueps): replace errors.Is usage examples with direct sentinel comparison 2026-04-02 09:05:29 +01:00
reader_test.go ax(ueps): strip 11 prose test comments that restate function names 2026-04-02 08:48:01 +01:00