Skip to content

[fix] grant codesign keychain access to unblock CI signing hang#88

Open
YJack0000 wants to merge 6 commits into
mainfrom
claude/elegant-hofstadter-0da5e4
Open

[fix] grant codesign keychain access to unblock CI signing hang#88
YJack0000 wants to merge 6 commits into
mainfrom
claude/elegant-hofstadter-0da5e4

Conversation

@YJack0000

Copy link
Copy Markdown
Contributor

Problem

The release workflow hung for 1h+ at replacing existing signature during codesign. The temporary keychain's key partition list was missing the codesign: partition, so /usr/bin/codesign blocked on a GUI keychain-auth prompt that can never appear on CI.

Fix

  • Import the cert with -T /usr/bin/codesign -T /usr/bin/productsign (instead of -A)
  • Add codesign: to the key partition list: -S apple-tool:,apple:,codesign: -s
  • Add a security find-identity -v -p codesigning preflight check

Verified via release run 28372652468 dispatched from this branch.

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant