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.
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-kamalfor 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
-javaplatform gem for bcrypt_pbkdf that avoids building the C extension.