diff --git a/build/cosign/Dockerfile b/build/cosign/Dockerfile index fdc739709d..41ee047805 100644 --- a/build/cosign/Dockerfile +++ b/build/cosign/Dockerfile @@ -1 +1 @@ -FROM ghcr.io/sigstore/cosign/cosign:v2.6.3@sha256:4bedb8de1c5c1abd8dea60de704ba449402d238623fa8bb33d2ccaa9beffcbf5 +FROM ghcr.io/sigstore/cosign/cosign:v2.6.5@sha256:ad281047f85c5e1fc6ffbc30c2b55be3b07b4032bef715a12122ce5829619aca diff --git a/build/monero/Dockerfile b/build/monero/Dockerfile index e1f03fc17a..f10f9ad902 100644 --- a/build/monero/Dockerfile +++ b/build/monero/Dockerfile @@ -1,5 +1,5 @@ # Pinned by digest (#135) so the ubuntu:24.04 tag can't be silently re-pointed. -FROM ubuntu:24.04@sha256:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852 +FROM ubuntu:24.04@sha256:562111b88caa79c71391c0c4d3c2114a7d5c35915c20561fd893cb1e07929e6b RUN for attempt in 1 2 3; do apt-get update && break || { [ "$attempt" = 3 ] && exit 1; sleep "$((attempt * 5))"; }; done && apt-get install -y \ apt \ diff --git a/build/p2pool/Dockerfile b/build/p2pool/Dockerfile index 92be35a270..153d3ae36c 100644 --- a/build/p2pool/Dockerfile +++ b/build/p2pool/Dockerfile @@ -1,5 +1,5 @@ # Pinned by digest (#135) so the ubuntu:24.04 tag can't be silently re-pointed. -FROM ubuntu:24.04@sha256:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852 +FROM ubuntu:24.04@sha256:562111b88caa79c71391c0c4d3c2114a7d5c35915c20561fd893cb1e07929e6b ARG P2POOL_VERSION=v4.18.1 ARG P2POOL_HASH=eeab5aca0edf4756cb295c5fda5b2d5344208aecbbdcb2ffd8471dfe14e6c2c5 diff --git a/build/xmrig-proxy/Dockerfile b/build/xmrig-proxy/Dockerfile index 66430ad687..150a7754e5 100644 --- a/build/xmrig-proxy/Dockerfile +++ b/build/xmrig-proxy/Dockerfile @@ -1,5 +1,5 @@ # Pinned by digest (#135) so the ubuntu:24.04 tag can't be silently re-pointed. -FROM ubuntu:24.04@sha256:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852 +FROM ubuntu:24.04@sha256:562111b88caa79c71391c0c4d3c2114a7d5c35915c20561fd893cb1e07929e6b # Define XMRig Proxy version and SHA256 hash for binary verification # Refer to https://github.com/xmrig/xmrig-proxy/releases for validation diff --git a/dashboard/Dockerfile b/dashboard/Dockerfile index 082d1d6441..6f6614d300 100644 --- a/dashboard/Dockerfile +++ b/dashboard/Dockerfile @@ -4,7 +4,7 @@ # uv's own CVEs into image scans, #282). uv lives only in the build/test stages. # ========================================================================== # Pinned by digest (#135) so the python:3.11-slim tag can't be silently re-pointed. -FROM python:3.11-slim@sha256:07d4824036af339fa1b6ef769cc99d9c10a141769538b52b3b597c84f7a7b535 AS base +FROM python:3.11-slim@sha256:7032841967d07aa3353905945dc186901c89b6b319c61425f4439f677a4a8a34 AS base # Run from a project venv on PATH (so entrypoint.sh's `python3` resolves to it); use the # digest-pinned base interpreter (never let uv download a different Python); compile bytecode and @@ -45,7 +45,7 @@ COPY pyproject.toml uv.lock ./ COPY mining_dashboard/ ./mining_dashboard/ RUN chmod -R a+rX mining_dashboard -FROM ghcr.io/astral-sh/uv:0.12.13@sha256:b485bd65cc2cf1c9a93b3554012c9c3778cf7b1b5fd3d3096ce9e1226c97e1e6 AS uv +FROM ghcr.io/astral-sh/uv:0.12.24@sha256:3af4716e991d6956a41e573eab705d0ee08500cd829ed30293eb8472f372c65a AS uv FROM base AS build COPY --from=uv /uv /bin/ diff --git a/docs/dev/release-server.md b/docs/dev/release-server.md index 98985eac04..558bc8f87f 100644 --- a/docs/dev/release-server.md +++ b/docs/dev/release-server.md @@ -187,7 +187,8 @@ Install cosign (pinned — there is no Ubuntu apt package; the same snippet work wants to verify). Take **v2.6.3**, not the newest: cosign v3 removed the `--tlog-upload` flag both signing calls pass, and a drifted box would otherwise pass every other check and die at the signing stage with the images already promoted. Preflight probes for the flag and aborts early if it is -gone. +gone. This host binary is pinned separately from the verifier image in `build/cosign/Dockerfile`; +a bump of that image does not change the version installed here. ```bash curl -fsSL -o /tmp/cosign https://github.com/sigstore/cosign/releases/download/v2.6.3/cosign-linux-amd64 diff --git a/docs/dev/releasing.md b/docs/dev/releasing.md index 4744e54d5d..73da32b4fa 100644 --- a/docs/dev/releasing.md +++ b/docs/dev/releasing.md @@ -801,8 +801,9 @@ The escape path, once per box: 1. Install the pinned cosign **v2.6.3** binary on the host — the snippet in [Release / Validation Server › The release signing key](release-server.md#the-release-signing-key). - v2.6.3 is the version this project pins and tests. A current cosign **v3 also works for this - verify** — proven with v3.1.3 against real bundles: it accepts the flags these releases pass + v2.6.3 is the host binary this escape path was proven with. It is pinned separately from the + verifier image in `build/cosign/Dockerfile`, which moves on its own. A current cosign **v3 also + works for this verify** — proven with v3.1.3 against real bundles: it accepts the flags these releases pass (`--signature` with a deprecation warning, `--insecure-ignore-tlog=true` unchanged) and still refuses a tampered bundle. The v3 breakage that motivated the original "not the newest" warning is in the release box's *signing* flags (`--tlog-upload`), not the operator's verify — so a box