From aaeb1f1f7fefc63abf5315ae35c908d2de533ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20=C3=85berg?= Date: Tue, 6 Jan 2026 22:06:16 +0100 Subject: [PATCH] fix(desktop): add CSC_NAME for MAS signing with pnpm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit electron-builder 26.3.6 fixed auto-discovery for Developer ID certificates but not for "3rd Party Mac Developer Application" certificates used in MAS builds. The after-pack.js script successfully finds and uses the MAS certificate for signing the proxy binary, but electron-builder's own signing mechanism fails to auto-discover it, falling back to ad-hoc signing. Add explicit CSC_NAME env var to the MAS build step in the workflow to tell electron-builder exactly which certificate to use. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/build-desktop.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index 26db987fd6c..05781643e17 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -1763,6 +1763,7 @@ jobs: APP_STORE_CONNECT_AUTH_KEY: 6TV9MKN3GP APP_STORE_CONNECT_AUTH_KEY_PATH: ~/private_keys/AuthKey_6TV9MKN3GP.p8 CSC_FOR_PULL_REQUEST: true + CSC_NAME: "Bitwarden Inc" run: pnpm run pack:mac:mas - name: Create MacOS App Store build number artifact