You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there are several password hashes supported in the SQLIdResolver which are more or less generated/verified with homegrown code.
We can remove most of the stuff and switch to passlib (which is already used in some cases).
Some hashes (drupal, SSHA512 and SSHA256) are currently not available in passlib but can be added.
The text was updated successfully, but these errors were encountered:
To simplify the code the password hash calculation (used in the
SQLIdResolver) is removed and replaced with the passlib module.
Unfortunately passlib does not provide all necessary password hashes, so
these are implemented as passlib handlers.
Fixes#1372
Use passlib for password hashes to streamline code
* Remove password hash calculation
To simplify the code the password hash calculation (used in the
SQLIdResolver) is removed and replaced with the passlib module.
Unfortunately passlib does not provide all necessary password hashes, so
these are implemented as passlib handlers.
* Fix documentation
Improve coverage by ignoring unused functionality
* Add check for unknown hash type
Also check if adding/updating a user with an unknown hash type throws an
exception.
Fixes#1372
Currently there are several password hashes supported in the
SQLIdResolver
which are more or less generated/verified with homegrown code.We can remove most of the stuff and switch to
passlib
(which is already used in some cases).Some hashes (drupal, SSHA512 and SSHA256) are currently not available in passlib but can be added.
The text was updated successfully, but these errors were encountered: