You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6f78b31
Browse filesBrowse the repository at this point in the historyBrowse files
ci(mac): own the signing keychain instead of letting electron-builder build it
electron-builder passes the certificate's IMPORT password to
`security set-key-partition-list -k`, but that flag authenticates against the
KEYCHAIN — a different secret. macOS used not to verify it; the runner image
carrying macOS 26 does, so the v2.27.0 build failed with
security: SecKeychainUnlock: The user name or passphrase you entered is not correct
with nothing changed on our side: same certificate (valid to 2031), same
secrets (untouched since May), same electron-builder (26.15.3). Only the image
moved, 20260728 -> 20260907.
Fixed upstream in PR #10101, but that is in 27.0.0-alpha.8 and in no stable
release — 26.15.7 and 26.16.1 both lack it. Rather than wait, the workflow now
creates the keychain, imports the certificate and authorises codesign with the
keychain's own generated password, then hands CSC_KEYCHAIN to electron-builder
so it skips its own path. CSC_LINK is deliberately unset: passing it makes
electron-builder build its own keychain again.
The step states its own removal condition.
0 commit comments