Commit aacd0c8
fix(sign): fail clearly on ambiguous Developer ID (duplicate-CN keychains)
When the keychain holds >1 codesigning identity with the same Common Name
(common after a cert re-issue — leaves an orphan), codesign aborts with a
cryptic "ambiguous … matches A and B" and the release pipeline dies at the
sign step. sign_app.sh now pre-detects this: if --identity is a CN (not a
40-hex SHA-1) matching multiple identities, it prints the conflicting certs +
their SHA-1s and tells the operator to re-run with the specific SHA-1. Turns a
cryptic failure into actionable guidance. (Hex-SHA-1 identities skip the check.)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent df5850d commit aacd0c8
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
56 | 73 | | |
57 | 74 | | |
58 | 75 | | |
| |||
0 commit comments