devise-encryptable
devise-encryptable copied to clipboard
Add rolling option
Legacy applications want to migrate from SHA1 to SHA512, for example.
Inspired in what Authlogic has with transition_from_crypto_providers.
It probably makes sense to have a BCrypt cryptor now to be able to migrate from sha1 or any encryptor from this gem to the "new encryptor" that Devises uses these days.
If we agree in this PR, I can do another one to be able to support that rolling or even include in this one.
Merging #20 we can rebase this to merge cleanly.
@sobrinho This is awesome. Any chance of this making it into a release? Would love to be able to roll from bcrypt to argon2id
ref: https://www.monterail.com/blog/more-secure-passwords-bcrypt
PR updated.
@carlosantoniodasilva thoughts?
@sobrinho This is great. Is there any interest in merging this one ? We would love to have this option to move from bcrypt.
PR rebased!
The build is broken for another reason on 3.0 rails main and 2.7 rails main.
@carlosantoniodasilva feel free to merge this one!