zxcvbn-python
zxcvbn-python copied to clipboard
CLI is not working when pipying from pass
I want to pipe password from passwordstore to zxcvbn, but zxcvbn keeps asking for input a password as is there is no stdout
➜ zxcvbn-python git:(master) ✗ pass test
x3]`@;t*K`R^!"4qVsR"wbO&^
➜ zxcvbn-python git:(master) ✗ pass test | zxcvbn | jq
Password:
I am not familiar with pass. Is it possible it is outputting your password to stderr
instead of stdout
? Does pass test 2>&1 | zxcvbn | jq
work?
It works fine for me with echo "password" | zxcvbn | jq