Skip to content

Fix broken GPG keyservers in all Dockerfiles - #39

Merged
pedrobranco merged 1 commit into
masterfrom
support/fix-broken-gpg-keyservers
Aug 6, 2026
Merged

pedrobranco merged 1 commit into
masterfrom
support/fix-broken-gpg-keyservers

Conversation

@joaomatbarbosa

Copy link
Copy Markdown
Contributor

Summary

  • pgp.mit.edu, keyserver.pgp.com and the sks-keyservers.net pool are all dead, so key import fails on every version's build (0.10 through 0.21).
  • This has been silently blocking master builds — the 0.21 push after Bump litecoin-core 0.21.5.6 #38 merged failed, so the 0.21.5.6 security fix was never actually published to Docker Hub.
  • Switch keyservers to keys.openpgp.org and keyserver.ubuntu.com in all Dockerfiles.

Test plan

  • Built 0.21 image locally with the updated Dockerfile — GPG import and verification succeed, litecoin 0.21.5.6 downloads and verifies correctly.
  • CI build/push succeeds on master for all versions.

Copilot AI lite review requested due to automatic review settings August 5, 2026 10:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GPG keyserver endpoints used during image builds across all versioned Dockerfiles, replacing defunct SKS/legacy keyservers so that key import and subsequent signature verification can succeed again (unblocking CI build/publish for tags like 0.21).

Changes:

  • Replaced pgp.mit.edu, keyserver.pgp.com, and sks-keyservers.net pool usage with hkps://keys.openpgp.org.
  • Added hkps://keyserver.ubuntu.com as a fallback keyserver in each Dockerfile’s key import loop.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
0.21/Dockerfile Switches GPG key retrieval to modern HKPS keyservers for the 0.21 image build.
0.18/Dockerfile Updates keyserver endpoints for reliable key import during 0.18 image build.
0.17/Dockerfile Updates keyserver endpoints for reliable key import during 0.17 image build.
0.16/Dockerfile Updates keyserver endpoints for reliable key import during 0.16 image build.
0.15/Dockerfile Updates keyserver endpoints for reliable key import during 0.15 image build.
0.14/Dockerfile Updates keyserver endpoints for reliable key import during 0.14 image build.
0.13/Dockerfile Updates keyserver endpoints for reliable key import during 0.13 image build.
0.10/Dockerfile Updates keyserver endpoints for reliable key import during 0.10 image build.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread 0.18/Dockerfile
Comment thread 0.17/Dockerfile
Comment thread 0.16/Dockerfile
Comment thread 0.21/Dockerfile Outdated
Comment thread 0.15/Dockerfile
Comment thread 0.13/Dockerfile
Comment thread 0.10/Dockerfile
Comment thread 0.14/Dockerfile
pedrobranco
pedrobranco previously approved these changes Aug 6, 2026
pgp.mit.edu, keyserver.pgp.com and the sks-keyservers.net pool are
unreachable, so key import fails and every build (0.10 through 0.21)
dies at that step. This blocked publishing the 0.21.5.6 security bump
from #38 -- `build (0.21)` failed 5 consecutive attempts on master and
uphold/litecoin-core:0.21 still serves the image built in Feb 2024.

Switch to keys.openpgp.org with keyserver.ubuntu.com as fallback.

Also pin both Litecoin signing keys by full 40-hex fingerprint instead
of 64-bit long key ID, matching what docker-dash-core already does and
what the gosu key here already used. Fetching by long ID leaves the
import open to key-ID collision; with a full fingerprint gpg rejects
any key that does not match.

  3620E9D387E55666 -> D35621D53A1CC6A3456758D03620E9D387E55666
                      David Burkett <davidburkett38@gmail.com>
  FE3348877809386C -> 59CAF0E96F23F53747945FD4FE3348877809386C
                      Adrian Gallagher <thrasher@addictionsoftware.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.

@pedrobranco
pedrobranco merged commit dddff8b into master Aug 6, 2026
23 checks passed
@pedrobranco
pedrobranco deleted the support/fix-broken-gpg-keyservers branch August 6, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants