Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI is not working when pipying from pass #68

Open
dtrainych opened this issue Oct 24, 2022 · 1 comment
Open

CLI is not working when pipying from pass #68

dtrainych opened this issue Oct 24, 2022 · 1 comment

Comments

@dtrainych
Copy link

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: 
@whwright
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants