Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance: DeprecationWarning: passing settings to sha256_crypt.hash #3375

Closed
pcrespov opened this issue Sep 20, 2022 · 2 comments
Closed
Assignees
Labels
a:webserver issue related to the webserver service

Comments

@pcrespov
Copy link
Member

see security_api submodule. Make sure to add tests first on encrypt_password/check_password with pass from some old database to be sure it is backwards compatible!

DeprecationWarning: passing settings to sha256_crypt.hash() is deprecated, and won't be supported in Passlib 2.0; use 'sha256_crypt.using(**settings).hash(secret)' instead
    warn("passing settings to %(handler)s.hash() is deprecated, and won't be supported in Passlib 2.0; "
@pcrespov pcrespov added the a:webserver issue related to the webserver service label Sep 20, 2022
@pcrespov pcrespov self-assigned this Sep 20, 2022
@pcrespov pcrespov changed the title DeprecationWarning: passing settings to sha256_crypt.hash Maintenance: DeprecationWarning: passing settings to sha256_crypt.hash Dec 8, 2022
@pcrespov
Copy link
Member Author

pcrespov commented Dec 8, 2022

# TODO: add settings sha256_crypt.using(**settings).hash(secret)
# see https://passlib.readthedocs.io/en/stable/lib/passlib.hash.sha256_crypt.html
#

@pcrespov pcrespov closed this as completed Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:webserver issue related to the webserver service
Projects
None yet
Development

No branches or pull requests

1 participant