[pass] pass grep doesn't spawn pinentry dialog when no cached password is available in gpg-agent
nfb
notfreebeer at openmailbox.org
Wed Dec 24 11:12:48 CET 2014
On Wed, Dec 24, 2014 at 02:10:31AM -0700, Jason A. Donenfeld wrote:
> Perhaps a cleaner solution to this would be to add to the beginning of the
> script:
>
> export GPG_TTY="$(tty)"
>
>
> Would somebody facing this problem try that out and report back?
Hi Jason,
works like a charm. Indeed i can quote from gpg-agent(1):
[...]
You should always add the following lines to your .bashrc or whatever
initialization file is used for all shell invocations:
GPG_TTY=$(tty)
export GPG_TTY
It is important that this environment variable always reflects the output of
the tty command.
[...]
Should have focused a bit more on these two lines.
Thanks and keep up the good work! ;)
More information about the Password-Store
mailing list