Commit 5aa32dd
ci(release): verify signature by cert thumbprint, not OS trust chain
Get-AuthenticodeSignature on the GHA runner returns UnknownError for
our self-signed yotsuda cert because the runner's machine trust store
doesn't contain the root — the cert chain build fails even when the
signature itself is cryptographically valid (AzureSignTool reports
"Signing completed successfully" upstream). Verify by exact thumbprint
match instead; that's the question we actually want answered ("was
the binary signed with the right cert?"), independent of whether the
runner happens to trust the root.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3722223 commit 5aa32dd
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
120 | 128 | | |
121 | | - | |
122 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
123 | 135 | | |
124 | 136 | | |
125 | 137 | | |
| |||
0 commit comments