command
module
Version:
v0.0.0-...-e884966
Opens a new window with list of versions in this module.
Published: Mar 11, 2018
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
HIBP (Have I Been Pwned)
A command-line password checker built on top of the
https://github.com/mattevans/pwned-passwords library.
Install with go get -u github.com/apiarian/hibp
.
See hibp -help
for usage information.
Have my pass
passwords been pwned?
A bash one-liner:
find $HOME/.password-store -name '*.gpg' | \
sed "sx${HOME}/\.password-store/xx" | \
sed s/.gpg// | \
xargs -n1 -I key sh -c \
'echo "key \c";
pass show key | head -n1 | hibp --stdin > /dev/null;
export OUT=$?;
if [ "$OUT" -eq "0" ];
then echo ok;
elif [ "$OUT" -eq "2" ];
then echo NOT OK;
else
echo error;
fi'
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.