Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.08 KB

README.md

File metadata and controls

29 lines (20 loc) · 1.08 KB

NIST Password Validator

This module is a NIST compliant password validator for use anywhere you need to check the validity of a password.

Getting Started

This project is only compatible with Python 3, so you'll need to make sure you have it installed before proceeding.

Once you have that out of the way, install the dependencies for this project. Feel free to use your favorite environment manager, but do note that this package was built and tested with virtualenv. The instructions below make use of virtualenvwrapper, so you'll need to install that as well to follow along.

Usage

$ cat <input_passwords> | ./password_validator.py <password_list>

Example

$ mkvirtualenv password_validator --python=$(which python3)
$ pip install -r requirements.txt
$ chmod +x password_validator.py
$ cat input_passwords.txt | ./password_validator.py weak_password_list.txt

Running Tests

$ pytest tests.py