FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Gem is broken on Fedora 30 · Issue #197 · bcrypt-ruby/bcrypt-ruby · GitHub

Repository navigation

Gem is broken on Fedora 30 #197

Description

After update to Fedora 30, here is the error message:
BCrypt::Errors::InvalidSalt

Activity

  1. dennmart commented on May 4, 2019

    I ran into this same issue when upgrading from Fedora 29 to Fedora 30 a few days ago. I managed to find a way to fix it on my dev environment.

    Since a similar issue happened when Fedora 28 was released (see #164), I was checking to see if there were changes done to libxcrypt for this release. The only thing I found was that in Fedora 30 some deprecated and unsafe functions were scheduled to be removed. Their suggestion was to install the libxcrypt-compat package, which I did but I still had the same errors.

    I then uninstalled and reinstalled the version of Ruby I was using (2.6.3, installed using rbenv) and the gem now works as before. I'm not entirely sure if the libxcrypt-compat package was needed here, but my guess is that it is so when Ruby is rebuilt it'll have the libraries it needs for the bcrypt gem to work.

    This is just a workaround to get things running again. Hopefully there's something that can be fixed on the gem itself.

  2. thooams commented on May 6, 2019

    Author

    Thank you,
    After a rvm reinstall 2.6.2 everything works correctly.
    👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL