Supplying GPG key password into Pass command

Andrew Todd at at
Sat Feb 8 11:59:23 CET 2020

On Sat, Feb 8, 2020 at 3:45 AM Louis ProtonMail <louiscb at>

> The reason for doing this is so that I can run a script that will call the
> pass command on a remote server.

Depending on your use case, you may find it a better fit and more secure to

* Use GPG agent forwarding to avoid storing your GPG keys on the remote
server entirely:
* Pipe the output of the pass command on your local machine over SSH to the
remote machine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Password-Store mailing list