From 994b400221efa2c31f925c2d3f11ce026784418f Mon Sep 17 00:00:00 2001 From: k1nq Date: Fri, 28 Nov 2025 14:33:51 +0500 Subject: [PATCH] feat: update password hashing algorithm to pbkdf2_sha256 for improved security --- app/core/security.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/security.py b/app/core/security.py index 26d105d..2a6b46d 100644 --- a/app/core/security.py +++ b/app/core/security.py @@ -14,7 +14,7 @@ class PasswordHasher: """Wraps passlib context to hash and verify secrets.""" def __init__(self) -> None: - self._context = CryptContext(schemes=["bcrypt"], deprecated="auto") + self._context = CryptContext(schemes=["pbkdf2_sha256"], deprecated="auto") def hash(self, password: str) -> str: return self._context.hash(password)