jcs / rubywarden

An unofficial, mostly Bitwarden-compatible API server written in Ruby (Sinatra and ActiveRecord)
ISC License
593 stars 49 forks source link

Allow change KDF iterations in tools/change_master_password.rb #90

Closed galaxy001 closed 5 years ago

galaxy001 commented 5 years ago

The offical account setting webpage allows user to set KDF iterations. But the client does not offer any options on master password.

I hope we can modify it here.

universal commented 5 years ago

If you want to change it, you could manually change the field in the database on the user record. Alternatively adding it as an additional option to the change password script doesn't look to be too complicated. If you need help on doing that, I'd be happy to provide some pointers :-)

On a side note: I am still working on web vault compatibility, but right now I'm sadly occupied with other stuff, so I will not get to it in the next two months.

jcs commented 5 years ago

tools/change_master_password.rb will now prompt for KDF iterations, defaulting to the new default of 100,000.