fix: use cosign --bundle flag for checksums signing#443
Conversation
Newer cosign defaults to --new-bundle-format, which ignores the deprecated --output-signature/--output-certificate flags. Switch to --bundle to produce a single .cosign.bundle file. Update release upload and embedded verification instructions accordingly.
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings📚 Learning: 2026-03-15T11:48:14.867ZApplied to files:
🔇 Additional comments (3)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe pull request updates Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
📝 Coding Plan
Comment |
Greptile SummaryThis PR fixes a broken
All three hunks are consistent with each other and align with the cosign v2 bundle format. No issues found. Confidence Score: 5/5
Important Files Changed
Last reviewed commit: 505f603 |
## Summary - Reset `.github/.release-please-manifest.json`, `pyproject.toml`, and `src/synthorg/__init__.py` from `0.2.4` back to `0.2.3` - The v0.2.4 draft release and tag were deleted because the CLI Release job failed (cosign `--bundle` format issue, fixed in #443) - After merging this, Release Please will see all commits since v0.2.3 and create a fresh v0.2.4 release PR that includes the cosign fix ## Context 1. v0.2.4 tag was created by Release Please 2. CLI Release job failed at cosign signing (deprecated `--output-signature`/`--output-certificate` flags) 3. Draft release had 0 assets (no CLI binaries uploaded) 4. Fix merged in #443 but the tag was already created from pre-fix code 5. Deleted the v0.2.4 draft release and tag 6. This PR resets versions so Release Please can re-create v0.2.4 cleanly ## Test plan - [ ] After merge, Release Please creates a new release PR for v0.2.4 - [ ] The new release PR includes the cosign fix (#443) in its diff - [ ] Merging the new release PR triggers a successful full pipeline
🤖 I have created a release *beep* *boop* --- ## [0.2.4](v0.2.3...v0.2.4) (2026-03-15) ### Bug Fixes * attach cosign signatures and provenance bundle to release assets ([#438](#438)) ([f191a4d](f191a4d)) * create git tag explicitly for draft releases ([#432](#432)) ([1f5120e](1f5120e)) * docker healthcheck, CI optimization, and container hardening ([#436](#436)) ([4d32bca](4d32bca)) * ensure security headers on all HTTP responses ([#437](#437)) ([837f2fc](837f2fc)) * make install scripts usable immediately without terminal restart ([#433](#433)) ([b45533c](b45533c)) * migrate pids_limit to deploy.resources.limits.pids ([#439](#439)) ([66b94fd](66b94fd)) * use cosign --bundle flag for checksums signing ([#443](#443)) ([19735b9](19735b9)) ### Refactoring * redesign release notes layout ([#434](#434)) ([239aaf7](239aaf7)) ### Maintenance * **main:** release 0.2.4 ([#431](#431)) ([63b03c4](63b03c4)) * remove stale v0.2.4 changelog section from failed release ([#446](#446)) ([769de10](769de10)) * reset version to 0.2.3 for re-release ([#444](#444)) ([8579993](8579993)) * **site:** replace hero CTA with license link and scroll arrow ([#440](#440)) ([56af41c](56af41c)) * **web:** adopt @vue/tsconfig preset ([#435](#435)) ([7d4b214](7d4b214)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Summary
--new-bundle-format, which ignores the deprecated--output-signature/--output-certificateflags, causing the CLI Release job to fail withcreate bundle file: open : no such file or directory--bundle checksums.txt.cosign.bundleto produce a single bundle file.cosign.bundleinstead of.sig/.pemcosign verify-blob --bundleContext
This broke the v0.2.4 CLI Release job: https://github.com/Aureliolo/synthorg/actions/runs/23110427175/job/67126909396
The Docker workflow succeeded and container images are on GHCR, but CLI binaries were never uploaded to the draft release. After merging this, a new tag push (v0.2.5) will be needed to ship CLI binaries with correct cosign signatures.
Test plan
checksums.txt.cosign.bundleappears in release assetscosign verify-blob --bundlecommand works against the release