Skip to content

Constant compare#282

Merged
tenderlove merged 2 commits intobcrypt-ruby:masterfrom
tenderlove:constant-compare
Oct 29, 2024
Merged

Constant compare#282
tenderlove merged 2 commits intobcrypt-ruby:masterfrom
tenderlove:constant-compare

Conversation

@tenderlove
Copy link
Collaborator

Adding stuff for #119

Griffin Smith and others added 2 commits October 29, 2024 16:00
Use a constant-time byte-by-byte secure comparison to compare potential
password hashes rather than `String#==`, which uses strcmp under the
hood and stops as soon as there's an unmatched byte.
@tenderlove tenderlove merged commit 2d23548 into bcrypt-ruby:master Oct 29, 2024
@tenderlove tenderlove deleted the constant-compare branch October 29, 2024 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant