Skip to content

Commit 9d9bd9d

Browse files
committed
issue2551265 - deprecate SSHA password hash method
Users using SSHA passwords will have their passwords transprently upgraded to PBKDF2 derived hash on next login.
1 parent 5fb79b4 commit 9d9bd9d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ Features:
118118
like "[issue23] subject". (John Rouillard)
119119
- [doc]: add section on implementing CSP for Roundup to admin
120120
doc. (John Rouillard)
121+
- issue2551265 - deprecate SSHA password hash method. Users using SSHA
122+
passwords will have their passwords transprently upgraded to PBKDF2
123+
derived hash on next login. (John Rouillard)
121124

122125
2022-07-13 2.2.0
123126

roundup/password.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,9 @@ class Password(JournalPassword):
395395
1
396396
"""
397397

398-
deprecated_schemes = ["SHA", "MD5", "crypt", "plaintext"]
398+
deprecated_schemes = ["SSHA", "SHA", "MD5", "crypt", "plaintext"]
399399
experimental_schemes = ["PBKDF2S5"]
400-
known_schemes = ["PBKDF2", "SSHA"] + experimental_schemes + \
400+
known_schemes = ["PBKDF2"] + experimental_schemes + \
401401
deprecated_schemes
402402

403403
def __init__(self, plaintext=None, scheme=None, encrypted=None,

0 commit comments

Comments
 (0)