-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around implicit null byte check added in bcrypt 3.1.18 by checki…
…ng password requirements before other password checks An undocumented change in bcrypt 3.1.18 causes it to raise ArgumentError for passwords with null bytes, due to a change to use StringValueCStr instead of StringValuePtr in the change to unlock the GVL while calculating the password hash. This works around the issue by performing Rodauth's checks on the password before passing the password to bcrypt.
- Loading branch information
1 parent
dd74d52
commit ee89ecb
Showing
3 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters