tag:gpgtools.tenderapp.com,2011-11-04:/discussions/nightly/56-macgpg2-gpg-is-very-slowGPGTools: Discussion 2017-05-24T14:54:08Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/426148152017-05-23T12:45:21Z2017-05-24T14:19:24ZMacGPG2: GPG is *very* slow / key server with automatically retrieve keys enabled<div><p>GPG is very slow. It takes ages for git to display the output. I can see GPG processes hanging in process list. They simply do nothing and delay everything. Some of programs like SourceTree simply freeze and unusable at this point.</p>
<p>Run git directly on any repo where you have signed commits, i.e:</p>
<p>`log --graph --pretty=format:'%Cred%h%Creset - %Cblue%G?%Creset %s %C(yellow)%d %C(bold blue)<%an>'</p>
<p><strong>Expected</strong><br>
I expect it to be reasonably fast</p>
<pre>
<code>macOS 10.12.5 16F73
GPG Suite 2017.1 1896n (87683d7)
GPGMail 2.7 1219n (528f510)
GPG Keychain 1.3.3 1335n (a2fcb84)
GPGServices 1.11 943n (872e77d)
MacGPG2 2.0.30 891n (d962b47)
GPGPreferences 2.0.2 958n (2ebf212)
Libmacgpg 0.8 802n (7ee7104)
pinentry 0.9.7 20n (e5fe53a)</code>
</pre></div>Andreytag:gpgtools.tenderapp.com,2011-11-04:Comment/426148152017-05-23T12:49:13Z2017-05-23T12:49:14ZMacGPG2: GPG is *very* slow / key server with automatically retrieve keys enabled<div><p>I think the problem is in the option to automatically download public keys from server. it seems that it takes forever to query that and macGPG does not cache results which causes it to go to server each time it stumbles upon missing key.</p>
<p>It would be smart to at least have 5 minutes cache.</p></div>Andreytag:gpgtools.tenderapp.com,2011-11-04:Comment/426148152017-05-24T14:19:03Z2017-05-24T14:19:03ZMacGPG2: GPG is *very* slow / key server with automatically retrieve keys enabled<div><p>Hi Andrey,</p>
<p>welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.</p>
<p>Could you share, which key server you are using?</p>
<p>To workaround this you could disable automatic key retrival in GPGPreferences / GPG Suite in the settings tab below the key server dropdown.</p>
<p>All the best,<br>
steve</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/426148152017-05-24T14:21:28Z2017-05-24T14:21:29ZMacGPG2: GPG is *very* slow / key server with automatically retrieve keys enabled<div><p>Hi Steve,</p>
<p>Disabling automatic retrieval solved this problem.</p>
<p>I use default server which is hkps://hkps.pool.sks-keyservers.net <a>hkps://hkps.pool.sks-keyservers.net</a></p>
<p>Cheers,<br>
Andrej</p></div>Andrei Mihailovtag:gpgtools.tenderapp.com,2011-11-04:Comment/426148152017-05-24T14:54:06Z2017-05-24T14:54:06ZMacGPG2: GPG is *very* slow / key server with automatically retrieve keys enabled<div><p>Perfect. Glad, this is solved for you. I'm closing this discussion. Should you need further assistance or have questions you can re-open this discussion here or open a new one any time.</p>
<p>Best, steve</p></div>Steve