tag:gpgtools.tenderapp.com,2011-11-04:/discussions/problems/63293-unable-to-generate-a-new-keyGPGTools: Discussion 2018-03-26T18:49:34Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/441243472017-11-24T14:55:22Z2017-11-24T14:55:27ZUnable to generate a new key<div><p>Hello,</p>
<p>I installed the GPG Suite 2017.1 version but i get error when i try to generate a new key:</p>
<p>Generate new key failed!<br>
Code = 0<br>
Error text:<br>
gpg: lookup_hashtable failed: Unknown system error<br>
gpg: trustdb: searching trust record failed: Unknown system error<br>
gpg: Error: The trustdb is corrupted.<br>
gpg: You may try to re-create the trustdb using the commands:<br>
gpg: cd ~/.gnupg<br>
gpg: gpg --export-ownertrust > otrust.tmp<br>
gpg: rm trustdb.gpg<br>
gpg: gpg --import-ownertrust < otrust.tmp<br>
gpg: If that does not work, please consult the manual</p>
<p>I have tried to recreate the trustdb as it suggested but nothing works, i uninstaleld and reinstalled GPG Suite but still the same problem. I would appreciate if you could help me find a solution to this. Thank you</p></div>cmy7373tag:gpgtools.tenderapp.com,2011-11-04:Comment/441243472017-12-09T22:50:11Z2017-12-09T22:50:11ZUnable to generate a new key<div><p>Hi,</p>
<p>have you tried by any chance to <em>not</em> re-create the trustdb?<br>
It might be possible that somehow re-import the ownertrust file corrupts the trustdb again.</p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/441243472017-12-13T03:48:42Z2017-12-13T03:48:42ZUnable to generate a new key<div><p>Hi, I'm having this same problem and am unable to generate a key</p></div>Bradytag:gpgtools.tenderapp.com,2011-11-04:Comment/441243472017-12-13T15:59:47Z2017-12-13T15:59:47ZUnable to generate a new key<div><p>Hi cmy7373, Brady,</p>
<p>we are very sorry to hear you are experiencing problems with the latest version of GPG Suite.<br>
We believe this problem is triggered if a user has a custom GnuPG version installed along side of our MacGPG. From the debug log I can tell that that is the case for you.</p>
<p>Could you please download and install our latest GPG Suite nightly build and see if it solves your problem. That page also has sig and SHA256 to verify the download.<br>
<a href="https://releases.gpgtools.org/nightlies/">https://releases.gpgtools.org/nightlies/</a></p>
<p>Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.</p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/441243472018-03-26T15:40:08Z2018-03-26T15:40:08ZUnable to generate a new key<div><p>Closing, since no further user feedback was received. Should your problem persist, feel free to re-open this discussion any time.</p>
<p>All the best, steve</p></div>Steve