chore(deps): update dependency sigstore/cosign to v3
This MR contains the following updates:
| Package | Update | Change |
|---|---|---|
| sigstore/cosign | major | 2.6.4 -> 3.1.2 |
⚠️ WarningSome dependencies could not be looked up. Check the warning logs for more information.
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
sigstore/cosign (sigstore/cosign)
v3.1.2
This may be the last Cosign v3.1 release, as we finish deprecations and removing unused functionality. Soon we'll start work on Cosign v4 where we will remove things that are currently deprecated. We'll continue to support Cosign v3, with it's opt-in backwards compatibility, as described in our versioning policy.
If you haven't already, now is an excellent time to move to the bundle format that has been supported since Cosign v2.6.
We have received a ton of fixes over the past month from folks using Cosign in a variety of environments - thank you all!
Deprecations
Features
5121398docs: add OVHcloud KMS in available external plugins (#4962)38f73bbAdd insecure registry flag to ko publish in kind-verify-attestation workflow (#4970)2e0749aDeprecate --output-attestation (#4958)2233166Add bundle inspect command (#4842)
Fixes
eb3bb86Guard against empty certificate PEM in mutate.Signature (#4998)089731cfix(download): Validate predicate type for new bundle formatd996ce1Skip nil subject entries in IntotoSubjectClaimVerifier (#5016)8ca5b20Fix Makefile: fall back to "unknown" version info when built outside a git repo (#5000)df78bf6fix(verify): skip identity validation for security keys (#5012)aebdc3afix: include artifactType in OCI 1.1 signature referrer manifestc0edaacAllow attestation download to handle both bundle types (#4996)a8642c7Fix panic in dockerfile verify on malformed FROM lines (#4979)ef3e3b4fix(release): restore signing-step auth and fail on image signing errors (#4978)16ddbcffeat(signing-config): add --base-config flag to override services from base config (#4977)f17f812fix: pass NewBundleFormat to KeyOpts in sign command (#4981)6ef8d9dfix: ignore build stage references in dockerfile verify (#4961)8dbdef5fix: allow '=' in annotation values (#4957)
Cleanup
193d215Remove unused policy evaluation code (#4936)0fc9811Remove unused signing code (#4918)95dcedaRemove unused OCI code (#4935)b1dd2e9Remove unused ephemeral signer (#4938)
Documentation
8184126feat: improve verify flag shell completions (#4965)ed0efe8docs: fix Short style and add Example fields to piv-tool subcommands (#4942)d41b86cdocs: add Example fields to env and bundle create commands (#4941)8a7174adocs: fix Short style and add Example fields to pkcs11-tool subcommands
Thanks to all contributors!
v3.1.1
What's Changed
Note: v3.1.0 was skipped due to a bug in our release pipeline. v3.1.1 is identical to v3.1.0
This release deprecates a number of flags related to verification material input for trust root material, as well as the bundle format, standardized across Sigstore SDKs, which is now the default output and input for signing and verifying respectively. You may continue to use the deprecated flags with Cosign v3.x releases. The deprecated flags will be removed in a future Cosign v4 release.
This release also updates the signing path for logging to Rekor v2. DSSE attestations will be logged as hashed entries, using the DSSE's pre-auth encoding (PAE). This should unblock developers who want to upload large signed DSSEs such as SBOMs.
- Initialize PKCS11 slots Before Getting Token Info in https://github.com/sigstore/cosign/pull/4803
- Sign exclusively via sigstore-go in https://github.com/sigstore/cosign/pull/4618
- bundle create: Prevent IgnoreTlog when bundle contains SET in https://github.com/sigstore/cosign/pull/4829
- Require bundle output or registry upload in https://github.com/sigstore/cosign/pull/4785
- fix(load): pass NameOptions to name.ParseReference in https://github.com/sigstore/cosign/pull/4786
- fix: honor --digestAlg when hashing a blob in verify-blob-attestation in https://github.com/sigstore/cosign/pull/4813
- Deprecate Flags for v4: Certificates in https://github.com/sigstore/cosign/pull/4822
- Deprecate flags signing config in https://github.com/sigstore/cosign/pull/4844
- Deprecate flags bundle in https://github.com/sigstore/cosign/pull/4838
- Fix typo in map of verify command fields unsupported for new bundle format in https://github.com/sigstore/cosign/pull/4853
- Add bundle upgrade command in https://github.com/sigstore/cosign/pull/4820
- Deprecate Flags for v4 in https://github.com/sigstore/cosign/pull/4854
- fix: close file descriptor leaked in WriteSignedImageIndexImages loop in https://github.com/sigstore/cosign/pull/4869
- fix: use Header.Set to prevent duplicate Authorization on retry in https://github.com/sigstore/cosign/pull/4870
- feat(cli): add Rekor v2 flag to cosign signing-config create in https://github.com/sigstore/cosign/pull/4868
- Fix crash verifying timestamps when no timestamp was verified in https://github.com/sigstore/cosign/pull/4881
- Deprecate Flags for v4: OCI Referrers in https://github.com/sigstore/cosign/pull/4804
- Use the configured Target Repository more consistently in https://github.com/sigstore/cosign/pull/4836
- fix: check HTTP status code in LoadFileOrURL in https://github.com/sigstore/cosign/pull/4877
- Fix unsafe type assertion in Rego policy evaluation by in https://github.com/sigstore/cosign/pull/4882
- Fix Ed25519ph check to respect custom signing configs in sign-blob in https://github.com/sigstore/cosign/pull/4880
- Enable initialize command output in conformance in https://github.com/sigstore/cosign/pull/4892
- verify: return TUF errors for new bundle trusted roots in https://github.com/sigstore/cosign/pull/4878
- Deprecate subcommands in https://github.com/sigstore/cosign/pull/4894
- Remove docstring references to deprecated flags in https://github.com/sigstore/cosign/pull/4910
- fix(verify): Attach detached certificates to static signatures via wrapped verifier in https://github.com/sigstore/cosign/pull/4737
- fix(verify): copy CheckOpts inside VerifyNewBundle to fix data race in https://github.com/sigstore/cosign/pull/4917
- Update sigstore-go to v1.2.0 in https://github.com/sigstore/cosign/pull/4914
Full Changelog: https://github.com/sigstore/cosign/compare/v3.0.6...v3.1.1
v3.0.6
Changelog
v3.0.6 resolves GHSA-w6c6-c85g-mmv6. This release also adds support for signing with OpenBao-managed keys.
f1ad3eeFix DSSE predicate check (GHSA-w6c6-c85g-mmv6) (#4801)a09afa9Handle whitespace-only certificate annotation (#4760)5a38a6dfix(sign): closing SignerVerifier too early when signing with a security key (#4761)2290a59Disallow --new-bundle-format and --rfc3161-timestamp (#4762)36f4008support managed keys in conformance testing (#4728)3274cf9Add support for GCE metadata server env var (#4732)2e9754afix: preserve per-layer annotations in WriteAttestationsReferrer (#4709)dece275Fix parsing of in-toto for string predicatesbd4f0fdMark batch of flags for deprecation (#4698)9b259ffdisallow key and cert identity being used together during verification (#4636)95eb1c3support key creation in GitLab group (#4704)
Thanks to all contributors!
v3.0.5
Deprecations
- Deprecate rekor-entry-type flag (#4691)
- Deprecate cosign triangulate (#4676)
- Deprecate cosign copy (#4681)
Features
- Automatically require signed timestamp with Rekor v2 entries (#4666)
- Allow --local-image with --new-bundle-format for v2 and v3 signatures (#4626)
- Add mTLS support for TSA client connections when signing with a signing config (#4620)
- Enforce TSA requirement for Rekor v2, Fuclio signing (#4683)
Bug Fixes
- Add empty predicate to cosign sign when payload type is application/vnd.in-toto+json (#4635)
- fix: avoid panic on malformed attestation payload (#4651)
- fix: avoid panic on malformed tlog entries (#4649)
- fix: avoid panic on malformed replace payload (#4653)
- Gracefully fail if bundle payload body is not a string (#4648)
- Verify validity of chain rather than just certificate (#4663)
- fix: avoid panic on malformed tlog entry body (#4652)
Documentation
v3.0.4
v3.0.4 resolves https://github.com/sigstore/cosign/security/advisories/GHSA-whqx-f9j3-ch6m.
Changes
- Fix bundle verify path for old bundle/trusted root (GHSA-whqx-f9j3-ch6m) (#4623)
- Optimize cosign tree performance by caching digest resolution (#4612)
- Don't require a trusted root to verify offline with a key (#4613)
- Support default services for trusted-root and signing-config creation (#4592)
v3.0.3
Thank you for all of your feedback on Cosign v3! v3.0.3 fixes a number of bugs reported by the community along with adding compatibility for the new bundle format and attestation storage in OCI to additional commands. We're continuing to work on compatibility with the remaining commands and will have a new release shortly. If you run into any problems, please file an issue
Changes
- 4554: Closes 4554 - Add warning when --output* is used (#4556)
- Protobuf bundle support for subcommand
clean(#4539) - Add staging flag to initialize with staging TUF metadata
- Updating sign-blob to also support signing with a certificate (#4547)
- Protobuf bundle support for subcommands
saveandload(#4538) - Fix cert attachment for new bundle with signing config
- Fix OCI verification with local cert - old bundle
- Deprecate tlog-upload flag (#4458)
- fix: Use signal context for
signcli package. - update offline verification directions (#4526)
- Fix signing/verifying annotations for new bundle
- Add support to download and attach for protobuf bundles (#4477)
- Add --signing-algorithm flag (#3497)
- Refactor signcommon bundle helpers
- Add --bundle and fix --upload for new bundle
- Pass insecure registry flags through to referrers
- Add protobuf bundle support for tree subcommand (#4491)
- Remove stale embed import (#4492)
- Support multiple container identities
- Fix segfault when no attestations are found (#4472)
- Use overridden repository for new bundle format (#4473)
- Remove --out flag from
cosign initialize(#4462) - Deprecate offline flag (#4457)
- Deduplicate code in sign/attest* and verify* commands (#4449)
- Cache signing config when calling initialize (#4456)
v3.0.2
v3.0.2 is a functionally equivalent release to v3.0.0 and v3.0.1, with a fix for CI to publish signed releases in the new bundle format.
- Note that the
--bundleflag specifying an output file to write the Sigstore bundle (which contains all relevant verification material) has moved from optional to required in v3.
Changes
- choose different signature filename for KMS-signed release signatures (#4448)
- Update rekor-tiles version path (#4450)
v3.0.1
v3.0.1 is an equivalent release to v3.0.0, which was never published due to a failure in our CI workflows.
- Note that the
--bundleflag specifying an output file to write the Sigstore bundle (which contains all relevant verification material) has moved from optional to required in v3.
Changes
- update goreleaser config for v3.0.0 release (#4446)
Configuration
- If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.