Skip to content

fix(ci): emit verifiable backend signature bundles - #11366

Merged
mudler merged 1 commit into
masterfrom
bot/issue-11361-cosign-bundle
Aug 5, 2026
Merged

fix(ci): emit verifiable backend signature bundles#11366
mudler merged 1 commit into
masterfrom
bot/issue-11361-cosign-bundle

Conversation

@localai-org-maint-bot

Copy link
Copy Markdown
Collaborator

Summary

  • request cosign v2.4.1 new bundle format explicitly for Quay and Docker Hub backend signatures
  • add a shell regression test that keeps every backend signing command aligned with the verifier contract
  • document strict backend integrity configuration, release-tag identities, and revocation for operators

Root cause

The producer stopped passing --new-bundle-format, but pkg/oci/cosignverify deliberately discovers only OCI 1.1 Sigstore bundle referrers. The published signatures therefore existed but could not be consumed by LocalAI strict integrity mode.

Testing

  • bash scripts/build/backend-signing_test.sh
  • make test-build-scripts
  • documented LOCALAI_BACKEND_GALLERIES JSON parsed with jq -e
  • git diff --check

Hugo, actionlint, and cosign are not installed in the local cron environment; CI will exercise the repository workflow and docs checks.

Closes #11361

Cosign v2.4.1 does not select the Sigstore bundle format by default, while LocalAI's verifier only consumes OCI bundle referrers. Request the format explicitly for both registries and guard the producer contract with a shell regression test.

Document strict backend integrity configuration and release-tag identities for operators.

Assisted-by: Codex:gpt-5
@mudler
mudler merged commit a05a790 into master Aug 5, 2026
68 of 69 checks passed
@mudler
mudler deleted the bot/issue-11361-cosign-bundle branch August 5, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Strict backend integrity mode cannot verify LocalAI's own published images: cosign signs without --new-bundle-format

2 participants