Skip to content
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

Support of BCrypt version 2b #192

Closed
antonakospanos opened this issue Jan 24, 2019 · 1 comment
Closed

Support of BCrypt version 2b #192

antonakospanos opened this issue Jan 24, 2019 · 1 comment

Comments

@antonakospanos
Copy link

@tjschuck we are using the bcrypt gem and we need to upgrade to 2b hashes.

I found out that the effort is already done and merged into master in the context of PR-182 and PR-132.

The latest version, at the moment, though, is still version-3.1.12 since May 2018. Could we please tag the latest master so that we can use 2b hashes?

@tjschuck
Copy link
Collaborator

@antonakospanos You're right that it hasn't been put into a formal release yet. In the meantime, you can point your Gemfile at the master branch and it should work:

gem 'bcrypt', git: 'https://github.com/codahale/bcrypt-ruby.git'

If you don't want to bundle an unbounded master, you can peg it to a SHA as well:

gem 'bcrypt', git: 'https://github.com/codahale/bcrypt-ruby.git', ref: "84c8d7b"

A formal release is on my list, but I can't promise a date.

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

No branches or pull requests

2 participants