fix(cli): use attack-specific recovery failure reasons#27
fix(cli): use attack-specific recovery failure reasons#27
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🧰 Additional context used📓 Path-based instructions (3)src/main.rs📄 CodeRabbit inference engine (AGENTS.md)
Files:
src/**/*.rs📄 CodeRabbit inference engine (AGENTS.md)
Files:
src/{math,main}.rs📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (5)📓 Common learnings📚 Learning: 2026-01-15T17:42:59.187ZApplied to files:
📚 Learning: 2026-01-15T18:08:47.413ZApplied to files:
📚 Learning: 2026-01-15T17:42:59.187ZApplied to files:
📚 Learning: 2026-01-15T18:08:47.413ZApplied to files:
🔇 Additional comments (1)
📝 WalkthroughWalkthroughError messages on recovery failure now map to attack type instead of hardcoding the nonce-reuse message for all attacks. Uses pattern matching on Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
✨ Simplify code
📝 Coding Plan
Comment |
Recovery failure always reported "all pairs have s1 == s2" regardless of which attack was running. That message only makes sense for nonce-reuse - for polynonce or biased-nonce it's actively misleading.
Now each attack type gets its own reason string when recovery fails.
Closes #21