Skip to content

TheNorthEestern/nist-validator

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages