Repository navigation
Commit d8bed30
fix(t3x): pin the designated requirement the fork's identity produces (#70)
Recorded from the identity itself, and proven stable before being trusted: two
stub bundles with different contents (CDHash e7c414c8… vs 6e01fb0b…) signed with
this certificate produce one byte-identical requirement, and both satisfy it
under `codesign --verify --deep --strict`.
identifier "dev.curlycloud.coil" and certificate leaf = H"267dc442f7…"
Compare what shipped before — `cdhash H"d48d810e7b110d8d70a793f827dd23a7b2506405"`,
a different value on every build, which is the entire bug.
This file is what turns "is it signed?" into "is it signed by the same thing as
last time?". Rehearsed both ways against the real identity: a build signed with
it verifies clean, and one signed with a different valid certificate is refused
with the requirement diff, exit 1.
Also cross-references #71: renaming the certificate would move this string and
cost another round of prompts, and renaming productName makes the updater refuse
the first renamed build by design.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>1 parent 9109006 commit d8bed30
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
222 | 228 | | |
223 | 229 | | |
224 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments