<div dir="ltr">Sorry, I just noticed that my keys were created using DSA (sign only), which apparently it's not useful for encrypting.<div>I was using option 3:<div><br><div><div><font face="monospace, monospace">Please select what kind of key you want:</font></div><div><font face="monospace, monospace">   (1) RSA and RSA (default)</font></div><div><font face="monospace, monospace">   (2) DSA and Elgamal</font></div><div><font face="monospace, monospace">   (3) DSA (sign only)</font></div><div><font face="monospace, monospace">   (4) RSA (sign only)</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">I created a key using option 2 and it worked fine.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Sorry for the false alarm/noise!</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">BTW, what about adding key creation to the docs?</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Regards,</font></div><div><font face="arial, helvetica, sans-serif">Santiago</font></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 1, 2016 at 5:04 PM, Santiago Borrazás <span dir="ltr"><<a href="mailto:sanbor@gmail.com" target="_blank">sanbor@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">Hello there,<div><br></div><div>I created several DSA keys and none of them were working. I always got "gpg: 2048D/19XXXD3: skipped: No public key".</div><div><br></div><div>After trial and error I discovered that pass <b>would only accept RSA keys</b>.</div><div><br></div><div>I tried adding these DSA keys by their ids, like 'pass init 11223344'. Also, as I found in a blog post, I tried adding the key using the email, which unfortunately neither worked ('pass init <a href="mailto:sanbor@gmail.com" target="_blank">sanbor@gmail.com</a>').</div><div><br></div><div>For anyone to reproduce this issue, just generate a DSA key using `gpg2 --gen-key` and select DSA. Then do 'pass init KEYID'. Finally, try to create a new entry by running 'pass generate -c Facebook 16' and you will get the 'No public key' messages.</div><div><br></div><div>Best regards,</div><div>Santiago</div><div><br></div><div><br></div></div>
</blockquote></div><br></div></div></div>