Skip to content

JRuby support needed for Rails (via Kamal) #29

Description

@headius

This gem is a dependency of kamal, which is used by default in new Rails applications 8.0 and higher (possibly others). Because bcrypt_pbkdf has its own native extension, this prevents bundling a fresh Rails app.

The workaround is to specify --skip-kamal for now, but we would like to see JRuby support for bcrypt_pbkdf and are here to help make that happen!

If I'm understanding things correctly, it looks like PBKDF2 is included in standard Java crypto features, as described here:

https://mojoauth.com/hashing/pbkdf2-in-java#advantages-and-disadvantages-of-pbkdf2

This means we can either have a very small JRuby extension or just call these classes from a piece of Ruby code. We would still need a -java platform gem for bcrypt_pbkdf that avoids building the C extension.

Activity

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