<html><head></head><body><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Hi guys,</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""/><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""/><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">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:</span></font><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""/><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""/><blockquote type="cite" class="">> echo my_password | pass email/gmail<br class=""/>> password_for_my_gmail.<br class=""/></blockquote><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""/><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">The reason for doing this is so that I can run a script that will call the pass command on a remote server.</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""/><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""/><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Best,</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""/><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""/><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">L</span></body></html>