Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/cosign/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM ghcr.io/sigstore/cosign/cosign:v2.6.3@sha256:4bedb8de1c5c1abd8dea60de704ba449402d238623fa8bb33d2ccaa9beffcbf5
FROM ghcr.io/sigstore/cosign/cosign:v2.6.5@sha256:ad281047f85c5e1fc6ffbc30c2b55be3b07b4032bef715a12122ce5829619aca
2 changes: 1 addition & 1 deletion build/monero/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion build/p2pool/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion build/xmrig-proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/
Expand Down
3 changes: 2 additions & 1 deletion docs/dev/release-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions docs/dev/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading