Skip to content

fix: use sigstore-go TUF client for verify to match initialize#293

Merged
SequeI merged 1 commit into
mainfrom
fix/use-sigstore-go-tuf-for-verify
Feb 12, 2026
Merged

fix: use sigstore-go TUF client for verify to match initialize#293
SequeI merged 1 commit into
mainfrom
fix/use-sigstore-go-tuf-for-verify

Conversation

@SequeI
Copy link
Copy Markdown
Member

@SequeI SequeI commented Feb 11, 2026

gitsign initialize writes the TUF cache in sigstore-go format, but verify was reading using the old sigstore/sigstore TUF client which expects a different cache layout. This caused verify to fall back to its expired embedded root. Switch all TUF reads to sigstore-go so initialize and verify use the same cache.

@SequeI SequeI force-pushed the fix/use-sigstore-go-tuf-for-verify branch from 245a81b to 6f214f5 Compare February 11, 2026 10:19
gitsign initialize writes the TUF cache in sigstore-go format, but
verify was reading using the old sigstore/sigstore TUF client which
expects a different cache layout. This caused verify to fall back to
its expired embedded root. Switch all TUF reads to sigstore-go so
initialize and verify use the same cache.

Signed-off-by: SequeI <asiek@redhat.com>
@SequeI SequeI force-pushed the fix/use-sigstore-go-tuf-for-verify branch from 6f214f5 to 4c59c58 Compare February 11, 2026 10:58
@SequeI SequeI requested review from bouskaJ, fghanmi and osmman February 11, 2026 11:28
@SequeI
Copy link
Copy Markdown
Member Author

SequeI commented Feb 11, 2026

upstream PR - sigstore#763

@SequeI SequeI merged commit ed197a0 into main Feb 12, 2026
9 checks passed
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