Skip to content

fix: default hash method for Werkzeug < 3.0.0#2365

Closed
potiuk wants to merge 1 commit intodpgaspar:masterfrom
potiuk:fix-default-value-of-password-hash-algorithm
Closed

fix: default hash method for Werkzeug < 3.0.0#2365
potiuk wants to merge 1 commit intodpgaspar:masterfrom
potiuk:fix-default-value-of-password-hash-algorithm

Conversation

@potiuk
Copy link
Copy Markdown
Contributor

@potiuk potiuk commented Jun 17, 2025

Follow up after #2306. Later configuration was added in #2332 that added default configuration for hash method and also there scrypt was set as default, however Werkzeug < 3.0.0 does not support it.

This PR retrieves the default method properly, depending on installed Werkzeug version.

Description

ADDITIONAL INFORMATION

  • Has associated issue:
  • Is CRUD MVC related.
  • Is Auth, RBAC security related.
  • Changes the security db schema.
  • Introduces new feature
  • Removes existing feature

@potiuk potiuk force-pushed the fix-default-value-of-password-hash-algorithm branch from c24a2b5 to 31d814f Compare June 17, 2025 20:57
@potiuk potiuk changed the title Fix default hash method for Werkzeug < 3.0.0 fix: default hash method for Werkzeug < 3.0.0 Jun 17, 2025
@potiuk potiuk force-pushed the fix-default-value-of-password-hash-algorithm branch 2 times, most recently from bdec46a to 8282a18 Compare June 17, 2025 21:00
Follow up after dpgaspar#2306. Later configuration was added in dpgaspar#2332 that
added default configuration for hash method and also there
scrypt was set as default, however Werkzeug < 3.0.0 does not
support it.

This PR retrieves the default method properly, depending on
installed Werkzeug version.
@potiuk potiuk force-pushed the fix-default-value-of-password-hash-algorithm branch from 8282a18 to 74dc3f4 Compare June 17, 2025 21:04
@potiuk potiuk closed this Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant