Skip to content

fix: refresh CA trust for RHSB-2026-012 - #39

Open
3alpha wants to merge 1 commit into
masterfrom
fix/rhsb-2026-012-ca-trust
Open

3alpha wants to merge 1 commit into
masterfrom
fix/rhsb-2026-012-ca-trust

Conversation

@3alpha

@3alpha 3alpha commented Oct 23, 2026

Copy link
Copy Markdown
Member

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

Address RHSB-2026-012 by requiring Alpine CA bundles >=20261020-r0 and using patched Node 24.22.1 LTS for both API build and runtime. Pin the tested base images, retain Alpine 3.23, and install the existing API lockfile with --frozen-lockfile; run the original tests during the image build.

Use APK’s signed, architecture-specific index to select WireGuard tools, preserving the explicit WIREGUARD_RELEASE build argument. Add the security changelog entry. The patch changes four files; application code, dependencies, lockfile, Compose and CI stay unchanged.

To build on native AMD64:

docker build --pull --no-cache -t wireguard-ca-test .
docker build --pull --no-cache -t wireguard-api-ca-test ./api

On ARM64, build WireGuard with -f Dockerfile.aarch64 and build the API with the same command above. Both architectures passed, including the three original API tests. System bundles and Node’s bundled roots were inspected: the affected AAA Certificate Services and emSign ECC Root CA - G3 roots are absent.

Native AMD64 upgrade validation used the deployed 0.1.4 images in disposable containers with fresh volumes and an isolated network. Connect a test client, replace the test server with the new image while retaining its config volume, then restart server and API. Passed: unchanged keys/configs; handshake and encrypted traffic; DNS; forwarding/NAT; API remote/local/QR/CORS behavior; all CLI modes; restart recovery; package UID/GID, AllowedIPs and PeerDNS defaults.

Other notes for review

CoreDNS/WireGuard/wg-quick binaries and compiled API code match the deployed images byte-for-byte; runtime dependency versions also match. Installed Dappnode services were not replaced or restarted. An external user device/public endpoint was not exercised. This focused patch does not resolve unrelated dependency advisories.

@3alpha
3alpha requested a review from a team as a code owner October 23, 2026 10:13
@3alpha 3alpha added the bug Something isn't working label Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant