Fix: reset argon 2 options to previous default#10667
Conversation
📝 WalkthroughWalkthroughThis pull request refactors Argon2 password hashing configuration across the codebase. It removes dynamic Argon2 class instantiation from the common configuration file and replaces it with hardcoded values ('argon2' hash name and explicit option array). The hashing parameters are simultaneously adjusted across three files: memory cost reduced from 7168 to 2048, time cost from 5 to 4, and threads increased from 1 to 3. Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes The changes follow a consistent, homogeneous pattern applied across three files with no control-flow or logic modifications. However, review requires careful verification that all Argon2 parameter instances are updated correctly and consistently, as these are security-relevant hashing parameters. Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
⏰ 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). (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Security Scan Results for PRDocker Image Scan Results
Source Code Scan Results🎉 No vulnerabilities found! |
✨ Benchmark results
⚡ Benchmark Comparison
|
What does this PR do?
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Screenshots may also be helpful.)
Related PRs and Issues
Checklist