<!DOCTYPE html><html><head><title></title></head><body><div>Hi,</div><div><br></div><div><p style="margin-top:0px;margin-bottom:0px;font-style:normal;font-variant-caps:normal;font-width:normal;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-position:normal;font-feature-settings:normal;font-optical-sizing:auto;font-variation-settings:normal;color:rgb(21, 23, 24);"><span style="font-kerning:none;">I recently got a new MacBook Air and I'm having trouble setting up gpg on it. I'm running macOS Sequoia 15.5 and the laptop has an Apple M4</span>
<span style="font-kerning:none;"></span>
<span style="font-kerning:none;">chip.</span></p><div>
<span style="font-kerning:none;"></span>
<br></div><p style="margin-top:0px;margin-bottom:0px;font-style:normal;font-variant-caps:normal;font-width:normal;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-position:normal;font-feature-settings:normal;font-optical-sizing:auto;font-variation-settings:normal;color:rgb(21, 23, 24);"><span style="font-kerning:none;">I installed gpg 2.4.8 using homebrew and copied my .gnupg directory from my older Intel-based MacBook Pro. It can use existing keys just fine, but it fails to import any new keys.</span></p><div>
<span style="font-kerning:none;"></span>
<br></div><p style="margin-top:0px;margin-bottom:0px;font-style:normal;font-variant-caps:normal;font-width:normal;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-position:normal;font-feature-settings:normal;font-optical-sizing:auto;font-variation-settings:normal;color:rgb(21, 23, 24);"><span style="font-kerning:none;">Every time I try to import a key, it fails almost immediately with the error</span></p><div><br></div><div>gpg: keyserver receive failed: Try again later</div><div><br></div><div><span style="font-kerning:none;">I've tried a number of different keyservers and keep getting the same error. I have an Ubuntu box on the same network. I've run the same command on each box, for example:</span></div><div><br></div><div>gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 77D4D81DC47D68FA9E9E6A7C5DF19E2B67A7B584</div><div><br></div><div><span style="font-kerning:none;">This imports the key on Ubuntu but gives me the "Try again later" error on macOS.</span></div><div><br></div><div><span style="font-kerning:none;">I looked online for help but didn't find very much. I've set ~/.gnupg/dirmngr.conf to</span></div><div><br></div></div><div>log-file ~/.gnupg/dirmngr.log</div><div>debug-level guru</div><div>standard-resolver</div><div><br></div><div><span style="font-kerning:none;">and restarted dirmngr, but that had very little effect. In particular nothing gets logged to dirmngr.log.</span></div><div><div>
<br></div><div><span style="font-kerning:none;"></span>
<span style="font-kerning:none;">Has anyone else seen this behavior before and know how to fix it? If not, I'd appreciate some advice on how to get it to log more diagnostic info, because I'm pretty much stuck now.</span></div><div><br></div><div>Thanks.</div><div><br></div></div><div>Walt</div></body></html>