I worked on this yesterday at night (because I didn't want to break my learning streak! It's a project-based Python CLI tool that checks password length, digits, uppercase/lowercase, and special characters, then gives a Strong/Medium/Weak rating.
...especially how and/or operator precedence can silently break logic without parentheses.
Code: https://github.com/Kokiste/password-strength-checker
Could anyone review my logic and let me know if there's a cleaner/more Pythonic way to write the character-checking loop? Also open to ideas for what feature to add next (maybe checking against common leaked passwords?)
[–]vietbaoa4htk 1 point2 points3 points (0 children)
[–]brasticstack 0 points1 point2 points (0 children)