Skip to content

Commit

Permalink
Update rules/python/lang/weak_password_hash_argon2.yml
Browse files Browse the repository at this point in the history
Co-authored-by: David Roe <[email protected]>
  • Loading branch information
elsapet and didroe authored May 30, 2024
1 parent d5256f6 commit 8f59349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/python/lang/weak_password_hash_argon2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ metadata:
- **Do not** override the Argon2 type when implementing the argon2-cffi hashing library.
```python
ph = PasswordHasher(Type.I) // unsafe
ph = PasswordHasher(Type.I) # unsafe
hash = ph.hash(user.password)
```
- **Do** rely on the default Argon2 type (Argon2id) as it is the most secure. This ensures the highest level of security for password storage.
Expand Down

0 comments on commit 8f59349

Please sign in to comment.