mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-08-24 21:42:22 +02:00
The pin added earlier read the local keychain unconditionally, which was right for publish.sh and wrong for release-macos.yml: on CI the cert arrives as a base64 .p12 in CSC_LINK and electron-builder imports it into a temporary keychain LATER than this preflight runs, so the probe would have found nothing and aborted every CI mac build before it started. Fixed by branching on where the cert actually comes from -- keychain locally, the .p12 itself on CI -- and running the profile check against whichever cert that resolves to, since both sources can drift from the embedded profile. Verified with controls on both paths: the .p12 reader returns the true SHA-1 of a synthetic cert and returns nothing (rather than a bogus hash) under a wrong password, and the local path still passes against the live cert and profile. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014wtspwSFzZmjCx9UNPAorQ