Files
waste-go/cmd/anchor/main.go
Fredrik Johansson 697a7e614d
All checks were successful
Build / Build & release (push) Successful in 13m46s
fix: challenge nonce must be 32 bytes per YAW/2 §5.1
The anchor was sending a 16-byte nonce. The spec (yaw2.0-protocol.md §5.1
and yaw2-implementation.md §7.1) requires 32 bytes. Any spec-conformant
peer would fail join signature verification against this anchor, breaking
interop. Signature verification was already using the raw nonce bytes
(not hex), so only the allocation size needed changing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-02 18:35:57 +02:00

7.1 KiB