[pass] pass grep doesn't spawn pinentry dialog when no cached password is available in gpg-agent

Allan Odgaard lists+pass at simplit.com
Fri Nov 28 11:29:13 CET 2014


On 28 Nov 2014, at 17:05, Allan Odgaard wrote:

> I attached a patch for this issue (it also re-adds the missing -L flag 
> and should be applied after your patch).

An alternative is btw to use dirname/basename instead of bash string 
manipulation, using those commands we can get the proper path using:

	local passfile_dir="$(dirname "$passfile")/"
	passfile_dir="${passfile_dir#$PREFIX/}"
	passfile="$(basename "$passfile" .gpg)"

Works on OS X and Ubuntu.


More information about the Password-Store mailing list