How to make pass read input from Bash ENV variable?

Max Görner max+passwordstore at familie-goerner.eu
Fri Apr 2 07:43:31 UTC 2021


>$ PASS="1234567890"
>$ echo $PASS | pass insert my_pass
Your problem is that pass expects the password two times but you provide it
only once.

A solution would be to be `yes`:

     $ PASS="super-secure"
     $ yes "${PASS}" | pass insert my_pass

I hope this helps.


Regards

Max Görner


More information about the Password-Store mailing list