Sign native plug-ins and apps

Set up Developer ID signing and notarization for macOS builds, understand Windows signing, and see where the workbench's Release tab reads your signing status.

A signed plug-in or app opens without a security warning. Unsigned builds still work on the computer that built them, but a musician who downloads one meets a warning, or on macOS a refusal, before it opens. Signing proves who made the file; it changes nothing else about the build.

Your signing keys stay with you: in your Mac's keychain, or in your own signing service. Maru never asks you to upload a certificate, a private key or a password, and the workbench has no form for them.

Check your status

The workbench's Release tab (maru dev, or Open workbench in Maru Desktop) shows one line per platform:

LineMeaning
signed and notarizedA Developer ID identity and a notarization profile are set up. Downloads open without warnings.
signed, not notarizedThe identity is set up but notarization is not. macOS still warns on first open.
not set upNo usable identity is configured, or this computer cannot sign for that platform.

maru module status prints the same line. The status describes the computer that runs maru dev or Maru Desktop: it reads the environment that process was started with and whether the named identity is in your keychain, never the key itself. Start maru dev from the shell where you set the variables below. Maru Desktop opened from the Dock or Finder does not see variables set in a shell profile.

macOS

macOS needs two things from the Apple Developer Program: a Developer ID Application certificate to sign the bundles and notarization, Apple's automated check of each download. A Developer ID Installer certificate signs a .pkg installer if you ship one.

  1. Create the Developer ID Application certificate in your Apple Developer account and install it in your login keychain. Check that it is there with its private key:

sh
security find-identity -v -p codesigning
  • Store notarization credentials once as a keychain profile, using an app-specific password for your Apple ID:

  • sh
    xcrun notarytool store-credentials my-notary \
      --apple-id you@example.com --team-id TEAMID
    

    notarytool prompts for the password, so it never appears in your shell history.

  • Name the identity and profile in the shell you build from:

  • sh
    export MARU_MACOS_SIGN_IDENTITY="Developer ID Application: Your Name (TEAMID)"
    export MARU_MACOS_NOTARY_PROFILE="my-notary"
    # Only when you build a .pkg installer:
    export MARU_MACOS_INSTALLER_IDENTITY="Developer ID Installer: Your Name (TEAMID)"
    

    These are names, not secrets: the certificate and password stay in the keychain.

    With the identity set, maru plugin build signs the bundles it delivers with Developer ID, the hardened runtime and a secure timestamp, which notarization requires. maru plugin release installer macos --build signs, notarizes and staples the .pkg. Without an identity, bundles get an ad-hoc seal that opens only on the Mac that built them. Apple's notarization guide covers the requirements in detail.

    The Developer Program renews yearly and certificates expire. Renew before the expiry date and build again; an expired identity shows as not set up.

    Windows

    Windows uses an Authenticode code-signing certificate, usually held on a hardware token or in a cloud signing service. Maru's native build does not sign Windows plug-ins, so the Release tab shows Windows as not set up and Windows downloads built with Maru are unsigned. Windows may show a SmartScreen warning when they are first opened.

    To ship signed Windows files, sign them with your own signing tools, then attach the finished files to a release as described below. An Apple signature does not sign a Windows binary.

    Settings on the website

    Signing happens on your computer. What belongs to the product and your account is set on the website, and the Release tab links there:

    • Studio Distribution for the module holds price, license, visibility and the native delivery method, including Add finished release for files you signed yourself. It is available after the first publish.
    • Account settings hold your profile, sign-in and access tokens.

    Package and release audio plug-ins covers building, validating and packaging each platform's downloads.