Skip to content

Password (re)hashing behavior and algorith verification #49834

Closed Answered by valorin
jnoordsij asked this question in General
Discussion options

You must be logged in to vote

Good question - that's definitely a use case we'd want to support. There needs to be a way to migrate between hashing algorithms.

My understanding is the hash verify flag is there to stop hashes from different algorithms from being verified - which would occur as part of the rehashing process.

If you set this to false, does it stop the error and allow rehashing to occur into the new algorithm?

It would make sense to me that to initiate a migration between algorithms, you'd need to set verify=false to allow it to support both algorithms and then update the algorithm config to the new one and the system would then migrate the passwords during login.
Is this possible, or am I missing something?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jnoordsij
Comment options

Answer selected by jnoordsij
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants