<html><head></head><body>Why work around GPG? <br><br>Your GPG key doesn't need to have a passphrase.<br><br>Kind regards,<br>  Anne Jan Brouwer<br><br><div class="gmail_quote">On 7 February 2020 19:44:02 CET, Louis ProtonMail <louiscb@protonmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<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></blockquote></div><br>-- <br>Sent from my badge prototype</body></html>