<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Fri, Jun 8, 2018 at 8:21 PM, Ajax <span dir="ltr"><<a href="mailto:aajaxx@gmail.com" target="_blank">aajaxx@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Most gpg commands give me something like this:</div><div><br></div><div>$ gpg -Kv<br>gpg: using classic trust model<br>gpg: keydb_search failed: Invalid value<br>gpg: Oops: keyid_from_fingerprint: no pubkey<br>~/.gnupg/pubring.kbx</div><div><br></div><div>Followed by what appears to me to be normal output.</div><div><br></div><div>I also see:</div><div><br></div><div>$ kbxutil --stats ~/.gnupg/pubring.kbx<br>Total number of blobs:      600<br>               header:        1<br>                empty:        0<br>              openpgp:      599<br>                 x509:        0<br>          non flagged:      599<br>       secret flagged:        0<br>    ephemeral flagged:        0</div><div><br></div><div>What should I do to clear the Invalid value and no pubkey?</div><div><br></div><div>I only saw this problem after upgrading from gpg 1 to gpg2 and using the given script to migrate from pubring.gpg to pubring.kbx.<br></div><div><br></div><div>These outputs seem to throw a monkey wrench into some scripts such as, for example, with pass generate -i  <br></div><div><br></div><div>This is gpg 2.1.18 atop Debian stretch and Linux  4.9.0-6-amd64, <br></div><div><br></div><div>Thank you.<br></div></div>
</blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">Are there no sugestions on how I should try to eliminate the indication of no pub key althoug gpg -k shows my public keys?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks.<br></div></div>