Skip to content

ADR-0004 · Forge: internal signed artifact registry

Status: Accepted · 2026-09-30

Connector binaries are code that touches customer data. They must come from our builds only, be tamper-evident, and be browsable with build history. GitLab at devops.nabil.ie is for development/build and is publicly routed.

  • New Rust service flux-forge, ClusterIP only, storage in object storage bucket flux-forge, metadata in Postgres.
  • Artifacts are content-addressed (sha256) and signed with Ed25519 (key-based; keyless Sigstore needs internet). CI signs with a masked, protected variable.
  • The connector catalog (a versioned config item) pins name → version → sha256. Runners refuse anything whose digest, signature, key id, or revocation status mismatches.
  • Forge UI in flux-web shows packages, versions, build metadata, SBOM, history, status.
  • Rotating the signing key requires publishing a new trusted key id and re-signing.
  • A compromised CI variable can sign; mitigated by protected branches, pins requiring an explicit catalog activation, and revocation.