Skip to content

Commit

Permalink
Updated authentication.md and linked MFA #1520 (#1576)
Browse files Browse the repository at this point in the history
* resolving issue no. 1520

* Update: Authentication_Cheat_Sheet.md #1520

* Re-Update: Authentication_Cheat_Sheet.md #1520

* updating authentication.md

* updating authentication.md issue #1520

* linking MFA with cheatsheet and updating authentication.sheet #1520

* Update cheatsheets/Authentication_Cheat_Sheet.md

Co-authored-by: Shlomo Zalman Heigh <[email protected]>

---------

Co-authored-by: mackowski <[email protected]>
Co-authored-by: Shlomo Zalman Heigh <[email protected]>
  • Loading branch information
3 people authored Jan 7, 2025
1 parent 4c7ac95 commit 56ce4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cheatsheets/Authentication_Cheat_Sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ A key concern when using passwords for authentication is password strength. A "s
- **Maximum** password length should be **at least 64 characters** to allow passphrases ([NIST SP800-63B](https://pages.nist.gov/800-63-3/sp800-63b.html)). Note that certain implementations of hashing algorithms may cause [long password denial of service](https://www.acunetix.com/vulnerabilities/web/long-password-denial-of-service/).
- Do not silently truncate passwords. The [Password Storage Cheat Sheet](Password_Storage_Cheat_Sheet.md#maximum-password-lengths) provides further guidance on how to handle passwords that are longer than the maximum length.
- Allow usage of **all** characters including unicode and whitespace. There should be no password composition rules limiting the type of characters permitted. There should be no requirement for upper or lower case or numbers or special characters.
- Ensure credential rotation when a password leak occurs, or at the time of compromise identification.
- Ensure credential rotation when a password leak occurs, at the time of compromise identification or when authenticator technology changes. Avoid requiring periodic password changes; instead, encourage users to pick strong passwords and enable [Multifactor Authentication Cheat Sheet (MFA)](Multifactor_Authentication_Cheat_Sheet.md). According to NIST guidelines, verifiers should not mandate arbitrary password changes (e.g., periodically).
- Include a password strength meter to help users create a more complex password and block common and previously breached passwords
- [zxcvbn-ts library](https://github.com/zxcvbn-ts/zxcvbn) can be used for this purpose.
- [Pwned Passwords](https://haveibeenpwned.com/Passwords) is a service where passwords can be checked against previously breached passwords. You can host it yourself or use the [API](https://haveibeenpwned.com/API/v3#PwnedPasswords).
Expand Down

0 comments on commit 56ce4e9

Please sign in to comment.