Skip to the content.

Supported platforms

pullthrough-security ships and tests binaries and container images for more than one CPU architecture. This page is the authoritative statement of which OS/architecture combinations are supported (built, tested, and released), which are best-effort (built but not continuously tested), and how the multi-architecture guarantee is enforced in CI and in the release pipeline.

Support matrix

OS / Arch Server (pullthrough) Client (ptctl) Container image FIPS variant Support tier
linux/amd64 (x86-64) ✅ ✅ ✅ ✅ Supported — built, tested (incl. -race), released
linux/arm64 (aarch64) ✅ ✅ ✅ ✅ Supported — built, tested (incl. -race), released
darwin/amd64 ✅ ✅ — ✅ Best-effort — released binary; not in the test matrix
darwin/arm64 (Apple silicon) ✅ ✅ — ✅ Best-effort — released binary; not in the test matrix

The container runtime base image (alpine) and the build image (golang:*-alpine) are both multi-arch manifests, so the Dockerfile builds unmodified for every listed linux/* platform.

How multi-arch is enforced

CI test matrix (.github/workflows/ci.yml)

The test and fips jobs carry an arch: [amd64, arm64] matrix dimension:

Both legs run go test -race ./... and the fuzz seed-corpus regression, so an architecture-specific miscompile, endianness assumption, or word-size bug fails the build on the affected architecture. Architecture-independent gates (gofmt, go vet, go mod tidy, config-reference staleness) run once, on the amd64 leg.

No native arm64 runner? If a fork cannot use ubuntu-24.04-arm, change the arm64 leg’s runs-on to ubuntu-latest and run the suite under QEMU user emulation. Register the emulator once and build/run the test binaries for GOARCH=arm64:

docker run --privileged --rm tonistiigi/binfmt --install arm64
# per package, cross-compile the test binary and run it under emulation:
CGO_ENABLED=0 GOARCH=arm64 go test -c -o pkg.arm64.test ./internal/backends/nix
qemu-aarch64-static ./pkg.arm64.test

Emulation is correct but slow; the native runner is preferred.

Reproducible-build guard (self-release job)

The self-release CI job proves the release build is bit-for-bit reproducible for both linux/amd64 and linux/arm64, for both the standard and FIPS variants, by building twice and comparing per-file SHA-256 digests. These are pure-Go cross-compiles (CGO_ENABLED=0) from the x86-64 runner, so the arm64 artifacts are produced and verified without an arm64 host.

Release pipeline (.github/workflows/release.yml)

On a v* tag the self-releasing pipeline (see self-release.md):

  1. reproducibly builds the standard and FIPS binaries for every RELEASE_PLATFORMS entry (linux/amd64 linux/arm64 darwin/amd64 darwin/arm64) — each architecture’s binary is a distinct SHA256SUMS subject;
  2. generates SLSA L3 provenance whose subjects are all the per-arch binaries, and a CycloneDX SBOM per binary;
  3. signs SHA256SUMS with keyless cosign (Fulcio/OIDC);
  4. builds and pushes the container image with docker buildx --platform linux/amd64,linux/arm64, producing an OCI image index (manifest list) with one manifest per architecture. With provenance: mode=max and sbom: true, each architecture’s manifest carries its own SLSA provenance and SBOM attestation — not a single attestation over the index — and the whole image is cosign-signed.

ptctl verify-self verifies the signed, reproducible, provenance-attested binary for whichever architecture the operator downloaded.

Why this is portable

The audit backing this support statement (Task 149) found no architecture -specific code to fix:

These invariants are verified continuously: the arm64 CI leg runs the race suite over all of the above packages on a real aarch64 host.

Local multi-arch builds

# Cross-compile binaries for all release platforms (standard + FIPS):
make release RELEASE_PLATFORMS="linux/amd64 linux/arm64"
make release-fips RELEASE_PLATFORMS="linux/amd64 linux/arm64"

# Prove the build is reproducible across both Linux arches:
make release-repro-check RELEASE_PLATFORMS="linux/amd64 linux/arm64"

# Build the multi-arch container image locally (requires docker buildx):
make docker-buildx IMAGE_PLATFORMS=linux/amd64,linux/arm64
# ...and push the multi-arch manifest with per-arch provenance + SBOM:
make docker-buildx-push IMAGE_PLATFORMS=linux/amd64,linux/arm64