-
Notifications
You must be signed in to change notification settings - Fork 4
Update for BCrypt wrap bug detected #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
mo7ty
commented
Sep 28, 2025
- Refer to BCrypt wrap bug detected #18
* Use declared `IDENT_*`'s in corresponding checks
* Refer to [BCrypt wrap bug detected notypecheck#18](notypecheck#18)
|
Hey, thanks for the PR! Do you have time to finish it (since you've set it as "draft") or can I pick it up from there? |
|
Hi @notypecheck! |
|
No, not really, I'll just fix formatting and other things that linters may complain about, but you don't have to worry about that |
* Wrap `known_correct_hashes` if handler `_fails_on_wraparound_bug` * This updates used data for `<tests.test_handlers_bcrypt.bcrypt_bcrypt_test testMethod=test_70_hashes>`
…r `truncate_error` * Set used handler `truncate_error = _fails_on_wraparound_bug` * This updates flag for `<tests.test_handlers_bcrypt.bcrypt_bcrypt_test testMethod=test_77_fuzz_input>`
|
Hi @notypecheck!
Can you please help here? |
|
I think for now it would be better to release a new version, pinning |
|
Wouldn't it be simpler to just skip the check when using new enough |
|
@mgorny I think majority of the existing checks can be disabled, passlib at the time supported multiple bcrypt implementations (like |
|
Hi @notypecheck and @mgorny, |