Skip to content

gpg: keyserver receive failed: No keyserver available since sks-keyservers.net no longer publishes DNS addresses #1500

@gabegorelick

Description

@gabegorelick

Environment

  • Platform: debian
  • Docker Version: 20.10.6
  • Node.js Version: 12, 14, 16
  • Image Tag: n/a

Expected Behavior

Building image succeeds.

Current Behavior

Building fails due to failure to fetch GPG keys. The errors look like this:

gpg --batch --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys 94AE36675C464D64BAFA68DD7434390BDBE9B9C5
gpg: keyserver receive failed: No name

And then later on you get a gpg: keyserver receive failed: No keyserver available.

Some keys succeed if they're mirrored at pgp.mit.edu, but all keys that are only hosted on sks-keyservers.net will fail to download. https://sks-keyservers.net explains why:

Update 2021-06-21: Due to even more GDPR takedown requests, the DNS records for the pool will no longer be provided at all.

Possible Solution

Steps to Reproduce

docker build 16/buster-slim, but I assume this affects all Dockerfiles.

Additional Information

Fixing Nodejs release key distribution is tracked in nodejs/admin#456 and its linked issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions