Skip to content

Fix bundle verify path for old bundle/trusted root (GHSA-whqx-f9j3-ch6m)#4624

Merged
Hayden-IO merged 1 commit into
sigstore:release-2.6from
Hayden-IO:verfix-release-2.6.x
Jan 9, 2026
Merged

Fix bundle verify path for old bundle/trusted root (GHSA-whqx-f9j3-ch6m)#4624
Hayden-IO merged 1 commit into
sigstore:release-2.6from
Hayden-IO:verfix-release-2.6.x

Conversation

@Hayden-IO
Copy link
Copy Markdown
Contributor

Ensure the bundle signature and key are compared to the rekor entry every time, not just when trusted root is used. Sigstore-go's VerifySET does not do this full comparison, we'd need to go through one of the more comprehensive Verify* functions to get this level of verification from the library.

Summary

Release Note

Documentation

Ensure the bundle signature and key are compared to the rekor entry
every time, not just when trusted root is used. Sigstore-go's VerifySET
does not do this full comparison, we'd need to go through one of the
more comprehensive Verify* functions to get this level of verification
from the library.

Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
@Hayden-IO Hayden-IO requested a review from a team as a code owner January 9, 2026 20:51
@Hayden-IO Hayden-IO changed the title Fix bundle verify path for old bundle/trusted root Fix bundle verify path for old bundle/trusted root (GHSA-whqx-f9j3-ch6m) Jan 9, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 9, 2026

Codecov Report

❌ Patch coverage is 47.36842% with 10 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (release-2.6@c4e6a78). Learn more about missing BASE report.

Files with missing lines Patch % Lines
pkg/cosign/verify.go 47.36% 5 Missing and 5 partials ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##             release-2.6    #4624   +/-   ##
==============================================
  Coverage               ?   35.78%           
==============================================
  Files                  ?      218           
  Lines                  ?    12459           
  Branches               ?        0           
==============================================
  Hits                   ?     4458           
  Misses                 ?     7305           
  Partials               ?      696           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Hayden-IO Hayden-IO merged commit 3ade80c into sigstore:release-2.6 Jan 9, 2026
28 checks passed
@Hayden-IO Hayden-IO deleted the verfix-release-2.6.x branch January 9, 2026 21:18
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.

2 participants