You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading today I cannot use this gem anymore. The cause seems to be fixed in some local patches when installed using the package manager, however, I cannot get it to be used by my Rails projects. Would be great if you could include these fixes in the gem. More info at https://bugzilla.redhat.com/show_bug.cgi?id=1537140
Thanks in advance!
Thank you tjschuck...just following "Rails Tutorial" by Michael Hartl that uses bcrypt 3.1.11 ; I was stuck with this "BCrypt::Errors::InvalidHash: invalid hash" issue ...and I've found the solution just an hour after you pushed 3.1.12.rc1 ; TNX!
It works!
Activity
frenkel commentedon May 2, 2018
The actual patch:
https://src.fedoraproject.org/rpms/rubygem-bcrypt/blob/0e1402a54a037fb78e7fd2fea9b3276e44aa9823/f/rubygem-bcrypt-3.1.11-libxcrypt.patch
frenkel commentedon May 2, 2018
Ah, this will be fixed by #164
duritong commentedon May 3, 2018
Fedora 28 was release 2 days ago and at the moment you can't use bcrypt on it. Can we get that fixed? Thanks!
psychoslave commentedon May 7, 2018
Hi, just run through this issue. Nice to see it was already reported. I made a little hack to circumvent that in the mid time.
tjschuck commentedon May 15, 2018
I have just pushed version 3.1.12.rc1 to RubyGems.org which should solve this problem.
Can someone please confirm that
gem install bcrypt --prereleasenow works on Fedora 28? If so, I'll push out the final version.ozmullins commentedon May 15, 2018
Seems to have fixed it for me—on Fedora 28.
tolbier commentedon May 15, 2018
Thank you tjschuck...just following "Rails Tutorial" by Michael Hartl that uses bcrypt 3.1.11 ; I was stuck with this "BCrypt::Errors::InvalidHash: invalid hash" issue ...and I've found the solution just an hour after you pushed 3.1.12.rc1 ; TNX!
It works!
tjschuck commentedon May 16, 2018
Version 3.1.12 of the bcrypt gem, which should fix this issue, was just pushed to RubyGems.
You should now be able to
gem install bcrypton Fedora with none of the above workarounds.Thanks, everyone!
frenkel commentedon May 17, 2018
Great, thank you!