Skip to content

Commit 0600230

Browse files
Bump github.com/sigstore/cosign/v2 from 2.2.4 to 2.6.2 (#116)
Bumps [github.com/sigstore/cosign/v2](https://github.com/sigstore/cosign) from 2.2.4 to 2.6.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sigstore/cosign/releases">github.com/sigstore/cosign/v2's releases</a>.</em></p> <blockquote> <h2>v2.6.2</h2> <h2>Changelog</h2> <p>v2.6.2 contains a fix for <a href="https://github.com/sigstore/cosign/security/advisories/GHSA-whqx-f9j3-ch6m">https://github.com/sigstore/cosign/security/advisories/GHSA-whqx-f9j3-ch6m</a></p> <ul> <li>3ade80c5f77cefc904f8c994e88618e5892e8f1c Fix bundle verify path for old bundle/trusted root (<a href="https://redirect.github.com/sigstore/cosign/issues/4624">#4624</a>)</li> <li>c4e6a783ce9b6ad08bb545b79a3277f1aaa16add v2.6 branch - bump sigstore deps (<a href="https://redirect.github.com/sigstore/cosign/issues/4619">#4619</a>)</li> </ul> <h3>Thanks to all contributors!</h3> <h2>v2.6.1</h2> <h2>Changelog</h2> <ul> <li>634fabe54f9fbbab55d821a83ba93b2d25bdba5f Bump sigstore-go, move conformance back to tagged release</li> <li>c5545eda23d770180880c245bf0d8f78c354ecc4 Partially populate the output of cosign verify when working with new bundles (<a href="https://redirect.github.com/sigstore/cosign/issues/4416">#4416</a>)</li> <li>e191024a636883b4e6b7de8db2f5cfb85a1fcd0c bump go builder to use 1.25.1 and cosign (<a href="https://redirect.github.com/sigstore/cosign/issues/4417">#4417</a>)</li> </ul> <h3>Thanks to all contributors!</h3> <p>v2.6.0 introduces a number of new features, including:</p> <ul> <li>Signing an in-toto statement rather than Cosign constructing one from a predicate, along with verifying a statement's subject using a digest and digest algorithm rather than providing a file reference (<a href="https://redirect.github.com/sigstore/cosign/issues/4306">#4306</a>)</li> <li>Uploading a signature and its verification material (a <a href="https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto">&quot;bundle&quot;</a>) as an OCI Image 1.1 referring artifact, completing <a href="https://redirect.github.com/sigstore/cosign/issues/3927">#3927</a> (<a href="https://redirect.github.com/sigstore/cosign/issues/4316">#4316</a>)</li> <li>Providing service URLs for signing and attesting using a <a href="https://github.com/sigstore/protobuf-specs/blob/4df5baadcdb582a70c2bc032e042c0a218eb3841/protos/sigstore_trustroot.proto#L185">SigningConfig</a>. Note that this is required when using a <a href="https://github.com/sigstore/rekor-tiles">Rekor v2</a> instance (<a href="https://redirect.github.com/sigstore/cosign/issues/4319">#4319</a>)</li> </ul> <p>Example generation and verification of a signed in-toto statement:</p> <pre><code>cosign attest-blob --new-bundle-format=true --bundle=&quot;digest-key-test.sigstore.json&quot; --key=&quot;cosign.key&quot; --statement=&quot;../sigstore-go/examples/sigstore-go-signing/intoto.txt&quot; cosign verify-blob-attestation --bundle=&quot;digest-key-test.sigstore.json&quot; --key=cosign.pub --type=unused --digest=&quot;b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9&quot; --digestAlg=&quot;sha256&quot; </code></pre> <p>Example container signing and verification using the new bundle format and referring artifacts:</p> <pre><code>cosign sign --new-bundle-format=true ghcr.io/user/alpine@sha256:a19367999603840546b8612572e338ec076c6d1f2fec61760a9e11410f546733 cosign verify --new-bundle-format=true ghcr.io/user/alpine@sha256:a19367999603840546b8612572e338ec076c6d1f2fec61760a9e11410f546733 </code></pre> <p>Example usage of a signing config provided by the public good instance's TUF repository:</p> <pre><code>cosign sign-blob --use-signing-config --bundle sigstore.json README.md cosign verify-blob --new-bundle-format --bundle sigstore.json --certificate-identity $EMAIL --certificate-oidc-issuer $ISSUER --use-signed-timestamps README.md </code></pre> <p>v2.6.0 leverages sigstore-go's signing and verification APIs gated behind these new flags. In an upcoming major release, we will be updating Cosign to default to producing and consuming bundles to align with all other Sigstore SDKs.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sigstore/cosign/blob/main/CHANGELOG.md">github.com/sigstore/cosign/v2's changelog</a>.</em></p> <blockquote> <h1>v2.6.2</h1> <p>v2.6.2 resolves <a href="https://github.com/sigstore/cosign/security/advisories/GHSA-whqx-f9j3-ch6m">https://github.com/sigstore/cosign/security/advisories/GHSA-whqx-f9j3-ch6m</a>.</p> <h2>Changes</h2> <ul> <li>Fix bundle verify path for old bundle/trusted root (GHSA-whqx-f9j3-ch6m) (<a href="https://redirect.github.com/sigstore/cosign/issues/4624">#4624</a>)</li> <li>bump sigstore deps to resolve build errors (<a href="https://redirect.github.com/sigstore/cosign/issues/4619">#4619</a>)</li> </ul> <h1>v3.0.3</h1> <p>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 <a href="https://github.com/sigstore/cosign/issues">file an issue</a></p> <h2>Changes</h2> <ul> <li>4554: Closes 4554 - Add warning when --output* is used (<a href="https://redirect.github.com/sigstore/cosign/issues/4556">#4556</a>)</li> <li>Protobuf bundle support for subcommand <code>clean</code> (<a href="https://redirect.github.com/sigstore/cosign/issues/4539">#4539</a>)</li> <li>Add staging flag to initialize with staging TUF metadata</li> <li>Updating sign-blob to also support signing with a certificate (<a href="https://redirect.github.com/sigstore/cosign/issues/4547">#4547</a>)</li> <li>Protobuf bundle support for subcommands <code>save</code> and <code>load</code> (<a href="https://redirect.github.com/sigstore/cosign/issues/4538">#4538</a>)</li> <li>Fix cert attachment for new bundle with signing config</li> <li>Fix OCI verification with local cert - old bundle</li> <li>Deprecate tlog-upload flag (<a href="https://redirect.github.com/sigstore/cosign/issues/4458">#4458</a>)</li> <li>fix: Use signal context for <code>sign</code> cli package.</li> <li>update offline verification directions (<a href="https://redirect.github.com/sigstore/cosign/issues/4526">#4526</a>)</li> <li>Fix signing/verifying annotations for new bundle</li> <li>Add support to download and attach for protobuf bundles (<a href="https://redirect.github.com/sigstore/cosign/issues/4477">#4477</a>)</li> <li>Add --signing-algorithm flag (<a href="https://redirect.github.com/sigstore/cosign/issues/3497">#3497</a>)</li> <li>Refactor signcommon bundle helpers</li> <li>Add --bundle and fix --upload for new bundle</li> <li>Pass insecure registry flags through to referrers</li> <li>Add protobuf bundle support for tree subcommand (<a href="https://redirect.github.com/sigstore/cosign/issues/4491">#4491</a>)</li> <li>Remove stale embed import (<a href="https://redirect.github.com/sigstore/cosign/issues/4492">#4492</a>)</li> <li>Support multiple container identities</li> <li>Fix segfault when no attestations are found (<a href="https://redirect.github.com/sigstore/cosign/issues/4472">#4472</a>)</li> <li>Use overridden repository for new bundle format (<a href="https://redirect.github.com/sigstore/cosign/issues/4473">#4473</a>)</li> <li>Remove --out flag from <code>cosign initialize</code> (<a href="https://redirect.github.com/sigstore/cosign/issues/4462">#4462</a>)</li> <li>Deprecate offline flag (<a href="https://redirect.github.com/sigstore/cosign/issues/4457">#4457</a>)</li> <li>Deduplicate code in sign/attest* and verify* commands (<a href="https://redirect.github.com/sigstore/cosign/issues/4449">#4449</a>)</li> <li>Cache signing config when calling initialize (<a href="https://redirect.github.com/sigstore/cosign/issues/4456">#4456</a>)</li> </ul> <h1>v3.0.2</h1> <p>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.</p> <ul> <li>Note that the <code>--bundle</code> flag specifying an output file to write the Sigstore bundle (which contains all relevant verification material) has moved from optional to required in v3.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sigstore/cosign/commit/3ade80c5f77cefc904f8c994e88618e5892e8f1c"><code>3ade80c</code></a> Fix bundle verify path for old bundle/trusted root (<a href="https://redirect.github.com/sigstore/cosign/issues/4624">#4624</a>)</li> <li><a href="https://github.com/sigstore/cosign/commit/c4e6a783ce9b6ad08bb545b79a3277f1aaa16add"><code>c4e6a78</code></a> v2.6 branch - bump sigstore deps (<a href="https://redirect.github.com/sigstore/cosign/issues/4619">#4619</a>)</li> <li><a href="https://github.com/sigstore/cosign/commit/634fabe54f9fbbab55d821a83ba93b2d25bdba5f"><code>634fabe</code></a> Bump sigstore-go, move conformance back to tagged release</li> <li><a href="https://github.com/sigstore/cosign/commit/c5545eda23d770180880c245bf0d8f78c354ecc4"><code>c5545ed</code></a> Partially populate the output of cosign verify when working with new bundles ...</li> <li><a href="https://github.com/sigstore/cosign/commit/e191024a636883b4e6b7de8db2f5cfb85a1fcd0c"><code>e191024</code></a> bump go builder to use 1.25.1 and cosign (<a href="https://redirect.github.com/sigstore/cosign/issues/4417">#4417</a>)</li> <li><a href="https://github.com/sigstore/cosign/commit/37fbfc7018fb4d60a9a2c9175bd64c75dda5869a"><code>37fbfc7</code></a> Require exclusively a SigningConfig or service URLs when signing (<a href="https://redirect.github.com/sigstore/cosign/issues/4403">#4403</a>)</li> <li><a href="https://github.com/sigstore/cosign/commit/b1acaeb92cc9e6a2a35f8d1a8f0a58c482914025"><code>b1acaeb</code></a> Add a terminal spinner while signing with sigstore-go (<a href="https://redirect.github.com/sigstore/cosign/issues/4402">#4402</a>)</li> <li><a href="https://github.com/sigstore/cosign/commit/2581dfd2bf9572f9b662367c6180434de46b358a"><code>2581dfd</code></a> chore(deps): bump the gomod group across 1 directory with 8 updates (<a href="https://redirect.github.com/sigstore/cosign/issues/4401">#4401</a>)</li> <li><a href="https://github.com/sigstore/cosign/commit/11163ae7d806cb13f2563ef837ce1c985ac788d3"><code>11163ae</code></a> Bump sigstore-go, support alternative hash algorithms with keys (<a href="https://redirect.github.com/sigstore/cosign/issues/4386">#4386</a>)</li> <li><a href="https://github.com/sigstore/cosign/commit/153df46c9ee93f73eba5a3b6379717d439ec2a37"><code>153df46</code></a> chore(deps): bump golang.org/x/crypto from 0.41.0 to 0.42.0 (<a href="https://redirect.github.com/sigstore/cosign/issues/4391">#4391</a>)</li> <li>Additional commits viewable in <a href="https://github.com/sigstore/cosign/compare/v2.2.4...v2.6.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/sigstore/cosign/v2&package-manager=go_modules&previous-version=2.2.4&new-version=2.6.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/PlanktoScope/machine-name/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 7b063d6 commit 0600230

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ require (
390390
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
391391
github.com/shibumi/go-pathspec v1.3.0 // indirect
392392
github.com/shopspring/decimal v1.4.0 // indirect
393-
github.com/sigstore/cosign/v2 v2.6.1 // indirect
393+
github.com/sigstore/cosign/v2 v2.6.2 // indirect
394394
github.com/sigstore/protobuf-specs v0.5.0 // indirect
395395
github.com/sigstore/rekor v1.5.0 // indirect
396396
github.com/sigstore/rekor-tiles/v2 v2.0.1 // indirect

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,8 +1036,8 @@ github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+D
10361036
github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk=
10371037
github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ=
10381038
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
1039-
github.com/sigstore/cosign/v2 v2.6.1 h1:7Wf67ENNCjg+1fLqHRPgKUNaCCnCavnEfCe1LApOoIo=
1040-
github.com/sigstore/cosign/v2 v2.6.1/go.mod h1:L37doL+7s6IeCXFODV2J7kds5Po/srlVzA//++YqAJ8=
1039+
github.com/sigstore/cosign/v2 v2.6.2 h1:mi6EAUJoPZ+yuyooU7m06a1DZWJouwYgh9a67L9tm2M=
1040+
github.com/sigstore/cosign/v2 v2.6.2/go.mod h1:g+P/LgYyJkC85WGGDho7yySl3C6xTJzzpLm21ZV+E6s=
10411041
github.com/sigstore/protobuf-specs v0.5.0 h1:F8YTI65xOHw70NrvPwJ5PhAzsvTnuJMGLkA4FIkofAY=
10421042
github.com/sigstore/protobuf-specs v0.5.0/go.mod h1:+gXR+38nIa2oEupqDdzg4qSBT0Os+sP7oYv6alWewWc=
10431043
github.com/sigstore/rekor v1.5.0 h1:rL7SghHd5HLCtsCrxw0yQg+NczGvM75EjSPPWuGjaiQ=
@@ -1052,8 +1052,8 @@ github.com/sigstore/sigstore/pkg/signature/kms/aws v1.10.3 h1:D/FRl5J9UYAJPGZRAJ
10521052
github.com/sigstore/sigstore/pkg/signature/kms/aws v1.10.3/go.mod h1:2GIWuNvTRMvrzd0Nl8RNqxrt9H7X0OBStwOSzGYRjYw=
10531053
github.com/sigstore/sigstore/pkg/signature/kms/azure v1.10.3 h1:k5VMLf/ms7hh6MLgVoorM0K+hSMwZLXoywlxh4CXqP8=
10541054
github.com/sigstore/sigstore/pkg/signature/kms/azure v1.10.3/go.mod h1:S1Bp3dmP7jYlXcGLAxG81wRbE01NIZING8ZIy0dJlAI=
1055-
github.com/sigstore/sigstore/pkg/signature/kms/gcp v1.10.0 h1:iUEf5MZYOuXGnXxdF/WrarJrk0DTVHqeIOjYdtpVXtc=
1056-
github.com/sigstore/sigstore/pkg/signature/kms/gcp v1.10.0/go.mod h1:i6vg5JfEQix46R1rhQlrKmUtJoeH91drltyYOJEk1T4=
1055+
github.com/sigstore/sigstore/pkg/signature/kms/gcp v1.10.3 h1:AVWs0E6rVZMoDTE0Iyezrpo1J6RlI5B4QZhAC4FLE30=
1056+
github.com/sigstore/sigstore/pkg/signature/kms/gcp v1.10.3/go.mod h1:nxQYF0D6u7mVtiP1azj1YVDIrtz7S0RYCVTqUG8IcCk=
10571057
github.com/sigstore/sigstore/pkg/signature/kms/hashivault v1.10.3 h1:lJSdaC/aOlFHlvqmmV696n1HdXLMLEKGwpNZMV0sKts=
10581058
github.com/sigstore/sigstore/pkg/signature/kms/hashivault v1.10.3/go.mod h1:b2rV9qPbt/jv/Yy75AIOZThP8j+pe1ZdLEjOwmjPdoA=
10591059
github.com/sigstore/timestamp-authority/v2 v2.0.3 h1:sRyYNtdED/ttLCMdaYnwpf0zre1A9chvjTnCmWWxN8Y=
@@ -1140,8 +1140,8 @@ github.com/tink-crypto/tink-go-gcpkms/v2 v2.2.0 h1:3B9i6XBXNTRspfkTC0asN5W0K6GhO
11401140
github.com/tink-crypto/tink-go-gcpkms/v2 v2.2.0/go.mod h1:jY5YN2BqD/KSCHM9SqZPIpJNG/u3zwfLXHgws4x2IRw=
11411141
github.com/tink-crypto/tink-go-hcvault/v2 v2.3.0 h1:6nAX1aRGnkg2SEUMwO5toB2tQkP0Jd6cbmZ/K5Le1V0=
11421142
github.com/tink-crypto/tink-go-hcvault/v2 v2.3.0/go.mod h1:HOC5NWW1wBI2Vke1FGcRBvDATkEYE7AUDiYbXqi2sBw=
1143-
github.com/tink-crypto/tink-go/v2 v2.5.0 h1:B8KLF6AofxdBIE4UJIaFbmoj5/1ehEtt7/MmzfI4Zpw=
1144-
github.com/tink-crypto/tink-go/v2 v2.5.0/go.mod h1:2WbBA6pfNsAfBwDCggboaHeB2X29wkU8XHtGwh2YIk8=
1143+
github.com/tink-crypto/tink-go/v2 v2.6.0 h1:+KHNBHhWH33Vn+igZWcsgdEPUxKwBMEe0QC60t388v4=
1144+
github.com/tink-crypto/tink-go/v2 v2.6.0/go.mod h1:2WbBA6pfNsAfBwDCggboaHeB2X29wkU8XHtGwh2YIk8=
11451145
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 h1:e/5i7d4oYZ+C1wj2THlRK+oAhjeS/TRQwMfkIuet3w0=
11461146
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399/go.mod h1:LdwHTNJT99C5fTAzDz0ud328OgXz+gierycbcIx2fRs=
11471147
github.com/tomarrell/wrapcheck/v2 v2.10.0 h1:SzRCryzy4IrAH7bVGG4cK40tNUhmVmMDuJujy4XwYDg=
@@ -1282,8 +1282,8 @@ go.opentelemetry.io/otel/trace v1.39.0 h1:2d2vfpEDmCJ5zVYz7ijaJdOF59xLomrvj7bjt6
12821282
go.opentelemetry.io/otel/trace v1.39.0/go.mod h1:88w4/PnZSazkGzz/w84VHpQafiU4EtqqlVdxWy+rNOA=
12831283
go.opentelemetry.io/proto/otlp v1.9.0 h1:l706jCMITVouPOqEnii2fIAuO3IVGBRPV5ICjceRb/A=
12841284
go.opentelemetry.io/proto/otlp v1.9.0/go.mod h1:xE+Cx5E/eEHw+ISFkwPLwCZefwVjY+pqKg1qcK03+/4=
1285-
go.step.sm/crypto v0.74.0 h1:/APBEv45yYR4qQFg47HA8w1nesIGcxh44pGyQNw6JRA=
1286-
go.step.sm/crypto v0.74.0/go.mod h1:UoXqCAJjjRgzPte0Llaqen7O9P7XjPmgjgTHQGkKCDk=
1285+
go.step.sm/crypto v0.75.0 h1:UAHYD6q6ggYyzLlIKHv1MCUVjZIesXRZpGTlRC/HSHw=
1286+
go.step.sm/crypto v0.75.0/go.mod h1:wwQ57+ajmDype9mrI/2hRyrvJd7yja5xVgWYqpUN3PE=
12871287
go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
12881288
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
12891289
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=

0 commit comments

Comments
 (0)