<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>I accidentally created an unused file .gpg at password-store path and since command 'pass list' not worked anymore.<br></div><div><br></div><div>You can reproduce this bug with this commands:<br></div><div><br></div><div>$ pass generate ''</div><div>The generated password for  is:<br>hE+>?(yHpYah2EIH\D2,j=z&t<br></div><div>$ ls -la ~/.password-store/.gpg<br>-rw------- 1 akira akira 348 set 11 22:32 /home/akira/.password-store/.gpg<br></div><div>$ pass list</div><div>hE+>?(yHpYah2EIH\D2,j=z&t</div><div><br></div><div>To prevent this, pass could ignore the file (~/.password-store/.gpg):</div><div><br></div><div>diff --git a/src/password-store.sh b/src/password-store.sh<br>index d89d455..3fac380 100755<br>--- a/src/password-store.sh<br>+++ b/src/password-store.sh<br>@@ -363,7 +363,7 @@ cmd_show() {<br>        local path="$1"<br>        local passfile="$PREFIX/$path.gpg"<br>        check_sneaky_paths "$path"<br>-       if [[ -f $passfile ]]; then<br>+       if [[ -f $passfile ]] && ! [[ -z $path ]]; then<br>                if [[ $clip -eq 0 && $qrcode -eq 0 ]]; then<br>                        pass="$($GPG -d "${GPG_OPTS[@]}" "$passfile" | $BASE64)" || exit $?<br>                        echo "$pass" | $BASE64 -d<br><br></div><div>Thanks,<br></div><div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Marcelo Akira Inuzuka<br></div></div></div></div></div></div></div></div></div></div></div>