Skip to content

fix(newm-admin): Add macOS code signing and notarization#709

Merged
AndrewWestberg merged 1 commit into
masterfrom
amw/fix_newm_admin_dmg
Jan 18, 2026
Merged

fix(newm-admin): Add macOS code signing and notarization#709
AndrewWestberg merged 1 commit into
masterfrom
amw/fix_newm_admin_dmg

Conversation

@AndrewWestberg

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds macOS code signing and notarization capabilities to the NEWM Admin release workflow, enabling the app to run on macOS without Gatekeeper warnings. It also introduces universal binary support for both Intel and Apple Silicon Macs.

Changes:

  • Implements code signing and notarization workflow with certificate management
  • Creates universal (Intel + ARM) binaries using lipo
  • Adds entitlements for runtime hardening and network access

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
.github/workflows/newm-admin-release.yml Adds certificate import, code signing, and notarization steps to macOS packaging job
newm-admin/packaging/macos/bundle.sh Implements universal binary creation and code signing logic with optional signing identity
newm-admin/packaging/macos/Entitlements.plist Defines required entitlements for unsigned executable memory (JIT) and network client access
newm-admin/Cargo.toml Bumps version to 0.1.3-alpha.3
newm-admin/Cargo.lock Updates lockfile to match new version

Comment thread newm-admin/packaging/macos/bundle.sh
Comment thread .github/workflows/newm-admin-release.yml Outdated
Comment thread .github/workflows/newm-admin-release.yml Outdated
Comment thread .github/workflows/newm-admin-release.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/newm-admin-release.yml Outdated
Comment thread newm-admin/Cargo.toml

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.

Comment thread newm-admin/packaging/macos/Entitlements.plist
Comment on lines +150 to +151
# Decode certificate
echo "$MACOS_CERTIFICATE" | base64 --decode > certificate.p12

Copilot AI Jan 18, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The certificate import will fail silently if MACOS_CERTIFICATE is empty or not base64-encoded properly. Add validation to check if the secret is set and is valid base64 before attempting to decode and import it.

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/newm-admin-release.yml
Comment thread .github/workflows/newm-admin-release.yml
@AndrewWestberg AndrewWestberg merged commit ecd29c4 into master Jan 18, 2026
11 checks passed
@AndrewWestberg AndrewWestberg deleted the amw/fix_newm_admin_dmg branch January 18, 2026 15:39
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.

2 participants