"keyserver receive failed: Try again later" on macOS
Andrew Gallagher
andrewg at andrewg.com
Wed Jun 18 23:28:21 CEST 2025
On 18 Jun 2025, at 17:15, Walt Mankowski <waltman at pobox.com> wrote:
>
> Good idea! I renamed my .gnupg directory, killed dirmngr, and then tried to receive a key:
>
> % gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7FE79B445728C8EA0042839E45BCE75B840B1F69
> gpg: directory '/Users/waltman/.gnupg' created
>
> It hung for several minutes and then I killed it. I've got a pretty large key, so I tried a few others and had the same result.
Your key downloads in under a second for me, so it’s not a size issue. I find the hanging behaviour very odd, I wonder if there’s still an issue in the name resolution on that machine. Does the hanging behaviour happen on every invocation now? Is it just slow for keyserver lookups or does it happen with other operations? Does adding “standard-resolver” to dirmngr.conf make a difference?
> I'm pretty sure this was working on my old Mac. I won't have a chance to test that until tonight and see if anything's different there. I set this new one up from scratch since it's my first non-Intel Mac, so it's quite possible there are differences.
I have access to an apple silicon macbook but it has macports installed rather than homebrew, and I don’t want to mix and match. I’ll see if I can find another one in $WORK for testing.
A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20250618/3cdf9419/attachment.sig>
More information about the Gnupg-users
mailing list