Skip to content

RP-06: supply-chain metadata — SBOM, provenance, signatures #32

Done

Description

@aliasfoxkde

Objective. Ship a software bill of materials, build provenance, and signatures alongside every published release artifact.

Why. The v0.2.5 release shipped binaries with checksums and nothing else. A checksum proves a file did not change; it proves nothing about what was built or by whom. For a project positioning itself as a long-lived replacement for Adobe Fireworks — a program people will keep installed and update for years — the release artifacts need to carry their own provenance story: what went in, what came out, and whether the publisher is the maintainer it claims to be. This is also the substrate for the "supply-chain metadata" requirement in the release campaign.

Current state. No SBOM, no provenance, and no signature exists for any published artifact. The release pipeline builds and uploads, but nothing attests to the build.

Work

  1. SBOM. Generate a CycloneDX (or SPDX) document per release from the workspace's committed Cargo.lock. It must reflect the actual resolved dependency graph, not a hand-maintained list.
  2. Provenance. Emit a SLSA-style provenance statement for each artifact: the source revision, the build environment, and the builder identity. Where the CI system can produce this natively (GitHub Actions attestations, in-toto statements), prefer that over a hand-rolled format.
  3. Signatures. Sign the artifacts with a key the release process controls — and state the key's custody and rotation policy in the release documentation. A signature whose key's custody is undocumented is a weaker guarantee than no signature, because it invites false confidence.
  4. Attach the SBOM, provenance, and signature files next to the artifacts and their checksums, and reference them in the release notes so a user can verify without reading the pipeline.

Acceptance

  • Every published release carries an SBOM, a provenance statement, and signature files next to its checksums.
  • The SBOM's dependency set matches the committed Cargo.lock — a test asserts the counts agree, so the SBOM cannot silently drift.
  • A signature verifies against the artifact with the documented public key, and that verification is shown as a receipt.
  • The key custody and rotation policy is written down in the release documentation.

Boundaries. Signing keys and their custody stay under maintainer control. This issue authorizes the mechanism and the documented policy; any use of a production signing key during a release remains gated for explicit maintainer approval.

Tracking: task #176; campaign RP-06.

Next action (owner: release). Choose the SBOM format and the signing mechanism, and write the key-custody policy first. The policy determines the mechanism: a key whose custody is undecided cannot be wired into the pipeline safely.

Activity

  1. added this to the v0.2.6 milestone on Nov 10, 2026
  2. added
    enhancement
    release
    milestone
    on Nov 10, 2026
  3. aliasfoxkde commented on Nov 10, 2026

    @aliasfoxkde
    OwnerAuthor

    Tracked as T27-54, T27-55, T27-56 and T27-57 in the release ledger; this issue carries it.

  4. aliasfoxkde commented on Nov 10, 2026

    @aliasfoxkde
    OwnerAuthor

    Status: IN PROGRESS

    Landed: the generator exists on main — cargo run -p xtask -- dist --sbom (xtask/src/main.rs, xtask/src/dist.rs::sbom), and dist --source is also present. These landed via PR #14's merge; the issue body's claim that they do not exist on main is stale.
    Still outstanding: no published release carries an SBOM, a provenance statement, or signature files next to its checksums. The SBOM has only been JSON-validated, not validated against the CycloneDX schema nor compared component-by-component against Cargo.lock (board row T27-55); build provenance is not implemented at all (T27-56); and there is no signing credential configured — Authenticode (T27-40) and macOS Developer ID notarization (T27-45) are both blocked on a credential.
    Next: regenerate and validate the SBOM against Cargo.lock, implement provenance, then obtain the signing credentials. Owner: release engineering; the credential step needs the maintainer.

  5. aliasfoxkde commented on Nov 11, 2026

    @aliasfoxkde
    OwnerAuthor

    Campaign fields (appended 2026-11-11)

    Outcome — Every published release carries an SBOM, a build provenance statement, and signature files beside its checksums, so a reader can tell which of the three are present and verify each against the release-wide digest list.

    Objective — Generate a CycloneDX SBOM per release from the locked dependency graph, emit SLSA-style build provenance for the build, and sign the artifacts with a key the release process controls.

    Stopping condition — A published release's asset list contains the SBOM, the provenance statement, and the signature files next to RELEASE_SHA256.txt, and the signing-credential step is recorded as blocked with its owner rather than silently skipped.

    Verification — cargo run -p xtask -- dist --sbom emits dist/sbom/firecraft-<version>-sbom.cdx.json; the release workflow's "Build SBOM" step runs it and the aggregate validation rejects a release whose expected SBOM asset is missing; gh release view <tag> --json assets lists the SBOM, the provenance statement, and the signature files.

    Status — IN PROGRESS

    Tracking: task #176; campaign RP-06; ledger rows T27-54, T27-55, T27-56, T27-57.

    Defects: B-13, B-14.

  6. aliasfoxkde commented on Nov 24, 2026

    @aliasfoxkde
    OwnerAuthor

    Addressed: SBOM/provenance implemented in consolidated PR #186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementmilestonerelease

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions