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 Category | Published Location / Filenames | Platforms / Notes |
|---|---|---|
| Arka Server Image | ghcr.io/ccsert/arka:<version> | Dual-arch OCI index (linux/amd64 + linux/arm64), SBOM & provenance attached, Cosign-signed |
| Arka Scanner Image | ghcr.io/ccsert/arka-scanner:<version> | Dual-arch OCI index (linux/amd64 + linux/arm64), Syft + Grype bundled, Cosign-signed |
| OCI Helm Chart | oci://ghcr.io/ccsert/charts/arka (--version <version>) & arka-<version>.tgz | Structured image.* and scanner.image.*; tag: "" inherits Chart.AppVersion, digest overrides tag |
| Full Server Archives | arka-<tag>-{linux,darwin}-{amd64,arm64}.tar.gz | Contains bin/arka, bin/arkactl, console/dist/, and BUILDINFO |
Standalone arkactl (Unix) | arkactl-<tag>-{linux,darwin}-{amd64,arm64}.tar.gz | Lightweight CLI-only archive (bin/arkactl, BUILDINFO) |
Standalone arkactl (Windows) | arkactl-<tag>-windows-amd64.zip | Lightweight Windows CLI archive (arkactl.exe, BUILDINFO) |
| Checksums & Trust Metadata | SHA256SUMS.txt, SHA256SUMS.txt.bundle, SHA256SUMS.txt.sig, SHA256SUMS.txt.pem, release-manifest.json, sigstore-trusted-root.json | All 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 asv1.0.0-rc.1) is published as a GitHub Pre-release and never moves:latestonghcr.io/ccsert/arkaorghcr.io/ccsert/arka-scanner. StablevX.Y.Zreleases update:latestmonotonically. 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:
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.txtB. Verify Container Images on GHCR
Read the authoritative image digests from the verified release-manifest.json and verify both multi-arch indexes:
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"
done3. 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
- Download the release assets (archives,
arka-<version>.tgz,SHA256SUMS.txt,SHA256SUMS.txt.bundle,release-manifest.json, andsigstore-trusted-root.json):bashTAG="v1.0.0" mkdir -p airgap-bundle/assets airgap-bundle/images gh release download "$TAG" --repo ccsert/arka --pattern '*' --dir airgap-bundle/assets - Save both multi-arch images together with their Cosign signatures into local OCI layout directories using
cosign save:bashSERVER_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 - Out-of-band trust root: Authenticate
sigstore-trusted-root.jsonthrough your organization's trusted channel (or generate it fromcosign initializeon a trusted machine) and copyairgap-bundle/+scripts/verify-release-offline.shinto 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:
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-scannerWhat verify-release-offline.sh enforces:
- Verifies
SHA256SUMS.txtoffline against--trusted-rootusingSHA256SUMS.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.jsonand every release file present in--dir(missing optional platform archives are skipped cleanly). - Checks that
--trusted-root's SHA-256 matches.trustedRoot.sha256inside the signedrelease-manifest.json. - When
--imageis provided, verifies the Cosign image signature offline and asserts the verified manifest digest equals eitherserverImageDigestorscannerImageDigestfrom the signedrelease-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):
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):
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>"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 10mFor air-gapped vulnerability database updates on arka-scanner, see External Scanner & Two-Stage DB Rotation.