fix(setup-gitsign): bump gitsign to 0.17.1 so signed tags verify #1074
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.42) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 339 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.349
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1074"
general
weight: 0.35
cpanato
Problem
Tags signed through
setup-gitsign, which uses gitsign 0.16.1, can't be verified:That covers every release tag
git-tagcreates, here and in callers such as chainguard-dev/yam. Commits signed with 0.16.1 verify fine.Cause
gitsign records each signature in Rekor as a
hashedrekordentry keyed bysha256(<git object ID as a hex string>), andverifylooks the entry up by the same key. For tags, 0.16.1 computes that ID wrongly. It rebuilds the object as if it were a commit, with the signature inserted as agpgsigheader instead of appended to the tag message the way git stores it. The entry ends up keyed to an object that never exists.Evidence, from searching Rekor by each tag's signing certificate:
| Tag | Rekor entry | Recorded hash matches
sha256(real tag ID)? | Matchessha256(gpgsig-rebuilt ID)? ||---|---|---|---|
| chainguard-dev/yam
v0.2.68| logIndex 3048337659 | no | yes (e4eba888…) || chainguard-dev/actions
v1.6.39| logIndex 3037697404 | no | yes (67f669eb…) || probe tag signed with gitsign 0.17.1 | logIndex 3097106393 | yes | no |
The 0.17.1 probe tag also passes
git verify-tag.Change
Bump
gitsign_versionto 0.17.1 and replace the six platform checksums. All six binaries were verified withcosign verify-blobagainst their release bundles, requiring the identityhttps://github.com/sigstore/gitsign/.github/workflows/release.yml@refs/tags/v0.17.1and issuerhttps://token.actions.githubusercontent.com. Each one's SHA-256 also matches the release'schecksums.txt.Things for reviewers
EnableSigstoreGo: true, from sigstore/gitsign#819). The Rekor mode and servers are unchanged (online, Rekor v1, public Fulcio and Rekor). The 0.17.1 probe above signed on that default path. I haven't tested 0.17.1 with sigstore-go turned off, so I can't say whether the older signing code in 0.17.1 also has the fix.git-tagorrelease-notesyet. Both pinsetup-gitsignby SHA (805da2e, v1.6.37). Their pins need bumping after this is released before release tags pick up 0.17.1.test-gitsigninstalls 0.17.1 on each OS in its matrix and runsgitsign --version. It doesn't sign or verify, so the evidence for the fix is the Rekor analysis above, not CI.zizmor (
pedantic) is clean.Refs: PSEC-3083
🤖 Generated with Claude Code