Conversation
Move input validation into ecdsa_verify() for both secp256k1 and P-256, and restrict _unchecked constructors to pub(crate). Addresses the security footgun documented in PR #1391.
|
@claude analyze |
|
Claude finished @0xAndoroid's task in 5m 23s —— View job Spec Analysis: ECDSA Inputs Sanitation
StrengthsThe spec correctly identifies the security footgun and proposes the right high-level fix: move validation into Issues Found1. Critical:
|
Summary
ecdsa_verify()for both secp256k1 and P-256_uncheckedconstructors topub(crate)visibilityecdsa_verifyfunctions forsecp256k1andP256#1391Test plan
@claude analyzeon the PR for second-opinion analysis