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

Clarify SECURITY_DEPRECATED_HASHING_SCHEMES #1003

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,17 @@ Core - Passwords and Tokens
List of algorithms used for encrypting/hashing sensitive data within a token
(Such as is sent with confirmation or reset password).

Read the note below before removing the `hex_md5`.

Default: ``["sha256_crypt", "hex_md5"]``.

.. py:data:: SECURITY_DEPRECATED_HASHING_SCHEMES

List of deprecated algorithms used for creating and validating tokens.
List of algorithms considered "deprecated" by the `passlib.context`.

`["auto"]` deprecates all supported schemes except of the default one.

Must be changed to `["auto"]` or empty list `[]` if you remove `hex_md5` from the `SECURITY_HASHING_SCHEMES`.

Default: ``["hex_md5"]``.

Expand Down
Loading