Supplying GPG key password into Pass command

Daniel Long Sockwell daniel at
Fri Feb 7 20:02:42 CET 2020

Hi Louis,

I tend to agree with Anne that you *generally* shouldn't need pipe in
the password for the GPG key.  However, if you still want to, you can do
so by setting the `PASSWORD_STORE_GPG_OPTS` environmental variable to
`--yes --batch --passphrase=YOUR_PASSWORD` (with `YOUR_PASSWORD`
replaced by your actual password, of course).

Best regards,

More information about the Password-Store mailing list