bcrypt_pbkdf is a ruby gem implementing bcrypt_pbkdf from OpenBSD. This is currently used by net-ssh to read password encrypted Ed25519 keys.
This Ruby 3.4 compatible version is available from a private gem server.
Add to your Gemfile:
source 'https://gem.fury.io/reforge/' do
gem 'bcrypt_pbkdf', '~> 1.1.4'
endThen run:
bundle installInstall directly from the gem server:
gem install bcrypt_pbkdf --version 1.1.4 --source https://gem.fury.io/reforge/- The gut of the code is based on OpenBSD's bcrypt_pbkdf.c implementation
- Some ideas/code were taken adopted bcrypt-ruby: https://github.com/codahale/bcrypt-ruby
- http://www.tedunangst.com/flak/post/bcrypt-pbkdf
- http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libutil/bcrypt_pbkdf.c?rev=1.13&content-type=text/x-cvsweb-markup
For windows and osx cross build make sure you checked out the gem source under the home directory and have docker installed.
gem install rake-compiler-dockbundle exec rake compile
bundle exec rake test
bundle exec rake clean clobber
bundle exec rake gem:all
bundle exec rake release
bundle exec rake gem:release