atproto utils for zig zat.dev
atproto sdk zig
Something went wrong. Try again.
fix integer overflow in ECDSA signature verification master
Reject high-S signatures before calling Signature.fromBytes, which does internal scalar arithmetic that overflows on out-of-range S values. The check was previously done after fromBytes using the parsed sig.s field, but the construction itself panicked on malformed signatures (e.g., high-S or DER-encoded test vectors from the interop fixtures). Now rejectHighS operates on the raw signature bytes directly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author jcalabro Co-author Claude Opus 4.6 (1M context) Date (Apr 3, 2026, 7:08 PM UTC) Commit 4522ce53 4522ce53ae07dac6a41a949054bae4c42cf9cc65 Parent 4ac00261 4ac00261e18442b8c4a171362b67d99b7a204f99