How to make pass read input from Bash ENV variable?

Valera Rozuvan 2c7v7czk85j3 at protonmail.com
Thu Apr 1 18:48:50 UTC 2021


Hi Sándor,

You write:

> The command is wrong I think.
>
> Shouldn't it be 
> pass show my_pass

However, from the man page:

"If  no COMMAND is specified, COMMAND defaults to either show or ls, depending on the type of specifier in ARGS."

----------

For my original question, I got help elsewhere and the solution is to include the `-m` option, like so:

$ echo "Hello, world!" | pass insert -m my_pass
$ pass my_pass
Hello, world!

----------

Regards,
Valera Rozuvan


More information about the Password-Store mailing list