Skip to content

Release Verification & Air-Gapped Offline Deployment ​

Every Arka release (starting with v1.0.0-rc.1) publishes a unified, reproducible set of binaries, dual-architecture OCI images, an OCI Helm Chart, and Cosign Keyless OIDC signatures—plus everything needed to verify artifacts in a 100% air-gapped network with zero internet access.


1. Release Artifact Inventory (v1.0.0-rc.1+) ​

Notice how Git tags carry a v prefix (e.g. v1.0.0-rc.1), while OCI image tags and Helm Chart versions strip the v (e.g. 1.0.0-rc.1).

Artifact CategoryPublished Location / FilenamesPlatforms / Notes
Arka Server Imageghcr.io/ccsert/arka:<version>Dual-arch OCI index (linux/amd64 + linux/arm64), SBOM & provenance attached, Cosign-signed
Arka Scanner Imageghcr.io/ccsert/arka-scanner:<version>Dual-arch OCI index (linux/amd64 + linux/arm64), Syft + Grype bundled, Cosign-signed
OCI Helm Chartoci://ghcr.io/ccsert/charts/arka (--version <version>) & arka-<version>.tgzStructured image.* and scanner.image.*; tag: "" inherits Chart.AppVersion, digest overrides tag
Full Server Archivesarka-<tag>-{linux,darwin}-{amd64,arm64}.tar.gzContains bin/arka, bin/arkactl, console/dist/, and BUILDINFO
Standalone arkactl (Unix)arkactl-<tag>-{linux,darwin}-{amd64,arm64}.tar.gzLightweight CLI-only archive (bin/arkactl, BUILDINFO)
Standalone arkactl (Windows)arkactl-<tag>-windows-amd64.zipLightweight Windows CLI archive (arkactl.exe, BUILDINFO)
Checksums & Trust MetadataSHA256SUMS.txt, SHA256SUMS.txt.bundle, SHA256SUMS.txt.sig, SHA256SUMS.txt.pem, release-manifest.json, sigstore-trusted-root.jsonAll archives, Chart .tgz, release-manifest.json, and sigstore-trusted-root.json are covered by SHA256SUMS.txt

Pre-release policy (-rc.*): Any version containing a hyphen (such as v1.0.0-rc.1) is published as a GitHub Pre-release and never moves :latest on ghcr.io/ccsert/arka or ghcr.io/ccsert/arka-scanner. Stable vX.Y.Z releases update :latest monotonically. Always pin an explicit version or @sha256:... digest in production.


2. Online Verification (Connected Host) ​

Requires cosign (v2/v3), jq, and sha256sum (or shasum -a 256 on macOS).

A. Verify Downloaded Archives & Helm Chart .tgz ​

Download SHA256SUMS.txt, SHA256SUMS.txt.bundle, release-manifest.json, and whichever archives you need into one directory:

bash
TAG="v1.0.0"
VER="${TAG#v}"
BASE="https://github.com/ccsert/arka/releases/download/${TAG}"
mkdir -p arka-release && cd arka-release

curl -fsSLO "${BASE}/SHA256SUMS.txt"
curl -fsSLO "${BASE}/SHA256SUMS.txt.bundle"
curl -fsSLO "${BASE}/release-manifest.json"
curl -fsSLO "${BASE}/arka-${TAG}-linux-amd64.tar.gz"
curl -fsSLO "${BASE}/arka-${VER}.tgz"

# 1. Verify the Cosign keyless signature on SHA256SUMS.txt
cosign verify-blob \
  --bundle SHA256SUMS.txt.bundle \
  --certificate-identity "https://github.com/ccsert/arka/.github/workflows/release.yml@refs/tags/${TAG}" \
  --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
  SHA256SUMS.txt

# 2. Verify SHA-256 of every downloaded file against the signed checksum list
sha256sum -c --ignore-missing SHA256SUMS.txt

B. Verify Container Images on GHCR ​

Read the authoritative image digests from the verified release-manifest.json and verify both multi-arch indexes:

bash
SERVER_REF="$(jq -er '.images.server | .repository + "@" + .digest' release-manifest.json)"
SCANNER_REF="$(jq -er '.images.scanner | .repository + "@" + .digest' release-manifest.json)"

for REF in "$SERVER_REF" "$SCANNER_REF"; do
  cosign verify \
    --certificate-identity "https://github.com/ccsert/arka/.github/workflows/release.yml@refs/tags/${TAG}" \
    --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
    "$REF"
done

3. Air-Gapped Offline Verification (scripts/verify-release-offline.sh) ​

In a completely disconnected network, cosign cannot reach Sigstore Fulcio, Rekor, or TUF mirrors. Arka ships scripts/verify-release-offline.sh to verify checksums, signatures, and relocated OCI images with zero network access.

Step 1 — Stage the Release Bundle on a Connected Transfer Host ​

  1. Download the release assets (archives, arka-<version>.tgz, SHA256SUMS.txt, SHA256SUMS.txt.bundle, release-manifest.json, and sigstore-trusted-root.json):
    bash
    TAG="v1.0.0"
    mkdir -p airgap-bundle/assets airgap-bundle/images
    gh release download "$TAG" --repo ccsert/arka --pattern '*' --dir airgap-bundle/assets
  2. Save both multi-arch images together with their Cosign signatures into local OCI layout directories using cosign save:
    bash
    SERVER_REF="$(jq -er '.images.server | .repository + "@" + .digest' airgap-bundle/assets/release-manifest.json)"
    SCANNER_REF="$(jq -er '.images.scanner | .repository + "@" + .digest' airgap-bundle/assets/release-manifest.json)"
    
    cosign save "$SERVER_REF" --dir airgap-bundle/images/arka
    cosign save "$SCANNER_REF" --dir airgap-bundle/images/arka-scanner
  3. Out-of-band trust root: Authenticate sigstore-trusted-root.json through your organization's trusted channel (or generate it from cosign initialize on a trusted machine) and copy airgap-bundle/ + scripts/verify-release-offline.sh into the air-gapped enclave.

Step 2 — Verify Everything Offline Inside the Enclave ​

Inside the disconnected network (no internet required), verify all downloaded archives and both local OCI image layouts:

bash
TRUSTED_ROOT="/trusted/path/sigstore-trusted-root.json"

# 1. Verify SHA256SUMS.txt signature, trusted-root digest binding, release-manifest.json, and all present archives
./scripts/verify-release-offline.sh \
  --dir ./airgap-bundle/assets \
  --trusted-root "$TRUSTED_ROOT"

# 2. Verify the Arka Server local OCI layout offline (checks signature AND binds digest to release-manifest.json)
./scripts/verify-release-offline.sh \
  --dir ./airgap-bundle/assets \
  --trusted-root "$TRUSTED_ROOT" \
  --image ./airgap-bundle/images/arka

# 3. Verify the Arka Scanner local OCI layout offline
./scripts/verify-release-offline.sh \
  --dir ./airgap-bundle/assets \
  --trusted-root "$TRUSTED_ROOT" \
  --image ./airgap-bundle/images/arka-scanner

What verify-release-offline.sh enforces:

  • Verifies SHA256SUMS.txt offline against --trusted-root using SHA256SUMS.txt.bundle, the GitHub Actions OIDC issuer (https://token.actions.githubusercontent.com), and the Arka release workflow tag identity regex.
  • Checks SHA-256 of release-manifest.json and every release file present in --dir (missing optional platform archives are skipped cleanly).
  • Checks that --trusted-root's SHA-256 matches .trustedRoot.sha256 inside the signed release-manifest.json.
  • When --image is provided, verifies the Cosign image signature offline and asserts the verified manifest digest equals either serverImageDigest or scannerImageDigest from the signed release-manifest.json.

Step 3 — Relocate Verified Images & Install Helm Chart Internally ​

Load the verified layouts (with signatures preserved) into your internal container registry (registry.internal.example.com):

bash
VER="1.0.0"
cosign load --dir ./airgap-bundle/images/arka "registry.internal.example.com/arka/arka:${VER}"
cosign load --dir ./airgap-bundle/images/arka-scanner "registry.internal.example.com/arka/arka-scanner:${VER}"

# Optional: re-verify directly against the relocated internal registry reference
SERVER_DIGEST="$(jq -er '.serverImageDigest' ./airgap-bundle/assets/release-manifest.json)"
./scripts/verify-release-offline.sh \
  --dir ./airgap-bundle/assets \
  --trusted-root "$TRUSTED_ROOT" \
  --image "registry.internal.example.com/arka/arka@${SERVER_DIGEST}"

Then install from the verified local Chart tarball (arka-1.0.0.tgz), overriding image.repository and pinning image.digest (and scanner.image.* if enabled):

yaml
image:
  repository: registry.internal.example.com/arka/arka
  digest: "sha256:<serverImageDigest-from-release-manifest>"
scanner:
  image:
    repository: registry.internal.example.com/arka/arka-scanner
    digest: "sha256:<scannerImageDigest-from-release-manifest>"
bash
helm upgrade --install arka ./airgap-bundle/assets/arka-1.0.0.tgz \
  -n arka -f values-prod.yaml --post-renderer ./arka-post-renderer --wait --timeout 10m

For air-gapped vulnerability database updates on arka-scanner, see External Scanner & Two-Stage DB Rotation.

Released under the Apache 2.0 License.