Repository navigation
Commit 871e352
fix(coil): make --rotate emit the CI secret commands itself (#71)
The rotation for this issue re-set T3X_MAC_CSC_PASSWORD and not
T3X_MAC_CSC_P12_BASE64, so CI still holds the old certificate. The
mechanism: --rotate deletes the p12 and its base64 and then points at a
*separate* --print-ci-secrets invocation to regenerate them, which is one
more command to remember at the exact moment the identity has already
moved. It also reuses the existing p12 password, so the half that got
skipped is the half with no independent signal — CI imports the old
certificate cleanly and only fails a layer later, when electron-builder
cannot find an identity matching CSC_NAME.
Fold print_ci_secrets into the rotate path so the commands come out
pre-filled with the base64 already written, and say in the runbook why
the password secret surviving a rotation is a trap rather than a
convenience. Setting them stays manual: the p12 holds the private key.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>1 parent 5c43328 commit 871e352
2 files changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
233 | 239 | | |
234 | 240 | | |
235 | 241 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
333 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
334 | 343 | | |
335 | 344 | | |
336 | 345 | | |
| |||
0 commit comments