Supplying GPG key password into Pass command

Louis ProtonMail louiscb at
Fri Feb 7 19:44:02 CET 2020

Hi guys,

I’m trying to build my own custom extension to Pass and I’m wondering if there’s any guidance on piping (or equivalent) in the password to the associated GPG key so that you don’t have to use the pop-up GPG input box. An example of what I mean (that doesn’t work) would be something like:

>> echo my_password | pass email/gmail
>> password_for_my_gmail.

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Password-Store mailing list