-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
bcrypt is broken on canary version of deno #14700
Comments
Confirmed, 1.22.3 is the last working version |
This may be related to #14900 |
It is, looks like bcrypt 0.4.0 got it fixed JamesBroadberry/deno-bcrypt@fb6e55a#diff-1e6ca9cef64c48c0a1b40625392ef7400279ef9a23d3ccd80e933c5ee51f2e1dR1196 |
Hey, yeah we've had an issue tracking what happened with it and remedial action to be taken. Either use Deno < 1.23.0 or use bcrypt 0.4.0 for now or the entire cipher gets bypassed due to a change with how the code is transpiled. This issue has also been raised and fixed in the bcrypt repository. JamesBroadberry/deno-bcrypt#27 Fixed in v0.4.0 |
Use
deno upgrade --canary
and thebcrypt.compare(pw, hashed_pw)
function no longer works on accounts created before upgrading. Accounts created using canary DO work.If you downgrade back to 1.22
deno upgrade
(remove --canary flag) older accounts can now login but newer accoutns created on --canary can NOT login anymore.The text was updated successfully, but these errors were encountered: