Check if a stored password hash should be upgraded to PBKDF2. Returns True for legacy MD5 hashes.
(hashed_password)
| 82 | |
| 83 | |
| 84 | def needs_password_upgrade(hashed_password): |
| 85 | """ |
| 86 | Check if a stored password hash should be upgraded to PBKDF2. |
| 87 | Returns True for legacy MD5 hashes. |
| 88 | """ |
| 89 | return _is_legacy_md5_hash(hashed_password) |
| 90 | |
| 91 | |
| 92 | def group_by(list_source: List, key): |
no test coverage detected