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

Is the salt logic working? · Issue #120 · bcrypt-ruby/bcrypt-ruby · GitHub

Repository navigation

Is the salt logic working? #120

Description

I'm using Comeonin.Bcrypt in an Elixir app. I can compare hashes with salts generated by the bcrypt-ruby but bcrypt-ruby cant compare with those that was generated by Comeonin.Bcrypt.

Example:
"abcabc12345" => "$2b$10$li1IT3V0dEi4czS74rGL/.rObZhj6k5wAMtzWZVKZxgxVyKeXAMGC"
Only works with the Elixir lib.

If I use a salt generated by bcrypt-ruby everything works. What lib is wrong?

Activity

  1. tjschuck commented on Sep 22, 2015

    Collaborator

    The answer to "is bcrypt-ruby working?" is almost certainly "yes", or else there'd be a lot more issues being filed :) Please share your specific Ruby code of what you're trying to do so we can see if we can help.

  2. yoogeeks commented on Sep 8, 2016

    Apparently bcrypt-rubysupports only $2a$ prefix. Open PRs for $2b$ and $2y$ hash versions : #80, #91

  3. jeffdeville commented on Sep 13, 2016

    @tjschuck Can someone approve the PR's referenced by @yoogeeks? To the degree that bcrypt should be compatible with the current standards (2b, as I understand it, was released in 2014), it's definitely broken. If you're using it by itself, the problem won't be manifested. But if you're trying to interoperate, it's a problem. I fixed the same elixir compatibility issue by referencing glittershark's PR.

  4. duane commented on Jan 5, 2017

    @tjschuck Is there any hope to get $2b$ working? It's been out since 2014; the pull to upgrade the backend has been open since 2013(!).

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