passcheck

command module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 9 Imported by: 0

README

passcheck

Securely check list of passwords against HIBP password database. Check is performed by sending 5 hex digits of password SHA-1 hash to HIBP servers and seeking match in retrieved list with requested hash prefix, leveraging K-anonymity approach.

Program accepts CSV (RFC 4180) with login,password pairs via STDIN. Outputs list of breached accounts via STDOUT and log via STDERR.

Installation

Binary download

Pre-built binaries are available on releases page.

From source

Alternatively, you may install passcheck from source. Run within source directory

make install

Synopsis

$ passcheck -h
Usage of passcheck:
  -expire duration
    	cache TTL (default 1h0m0s)
  -threads uint
    	number of threads for network requests (default 5)

Extras

scan-passwordstore.sh

Shell script which scans password saved in pass for breached passwords. It automatically pipes all passwords from password store into passcheck utility. All command-line options passed as is to the passcheck utility.

Usage:

./scan-passwordstore.sh

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL