fix: [SOVEREIGNTY] Audit NostrIdentity for side-channel timing attacks #1190
Reference in New Issue
Block a user
Delete Branch "mimo/research/issue-801"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #801
Automated by mimo-v2-pro swarm.
Changes
Key Findings
point_mul()leaks private key via timingpoint_add()compounds the leaksign_schnorr()leaks nonce bitsRecommendation
Replace pure-Python implementation with
coincurve(libsecp256k1 binding) — 2 hours of work, eliminates all timing issues. Pure-Python constant-time rewrite is 8-12h alternative.Validation
Auto-approved. Diff validated.