Skip to content

feat(release): code-sign Windows builds for free and ease the macOS first launch #62

Open

Description

@arifintahu

Problem

Windows installers are unsigned, so SmartScreen warns on first run. macOS builds are ad-hoc signed and not notarized, so Gatekeeper asks on first launch. This is written in README.md, SECURITY.md and CONTRIBUTING.md. There is no budget, so only free options count.

Updates are not affected: they are verified by the minisign key (TAURI_SIGNING_PRIVATE_KEY), which is independent of OS signing.

Findings

  • macOS: notarization needs a Developer ID certificate from the paid Apple Developer Program. There is no free route, so macOS stays ad-hoc signed. Ad-hoc signing and notarization cannot be combined.
  • Windows, SignPath Foundation: free code signing for open-source projects. The certificate is issued to the Foundation, so the publisher shows as "SignPath Foundation". Eligibility as far as confirmed: OSI license, public repo, no proprietary parts, MFA for everyone with access, a published code signing policy, builds made in GitHub Actions. Not confirmed: whether there is a minimum project age or popularity. SmartScreen may still warn until the signature builds reputation.
  • Tauri fit: bundle.windows.signCommand signs files one at a time during bundling, while SignPath signs an uploaded artifact asynchronously. The release workflow would build unsigned, submit to SignPath, download the signed installer, then create the updater .sig (it must come after signing, since signing changes the bytes) and write latest.json itself. tauri-action no longer does the whole release.
  • A self-signed certificate is free but still warns on every machine, so it is out.

Plan (in this order)

  1. Apply to SignPath Foundation first, because approval takes time and runs in parallel with the rest. Declined 2026-11-23: the program needs more public visibility (stars, forks, contributors, outside articles or discussions) than EmberTerm has yet, and welcomes a reapplication later. Their only other route is a paid subscription, which is out of scope. Windows stays unsigned for now.
    • Add a code signing policy page (done, then reworded to a plain "Code signing" section once declined)
    • Turn on MFA for the org members who can release (only needed for SignPath; still a good idea)
    • Submit the application (declined)
  2. winget and Scoop packages (free, no approval): winget install and scoop install avoid most of the download warning.
  3. macOS first-launch docs: keep ad-hoc signing, write clear steps for current macOS (System Settings → Privacy & Security → Open Anyway), revisit notarization if a budget appears.
    • Update README.md and the site's install section (steps not verified on a real Mac)
  4. On hold (needs a signing service; revisit after a reapplication is accepted): release workflow: build unsigned, sign via SignPath, re-create the updater signature and latest.json.
    • Keep the .exe, .msi and .sig asset names unchanged, so the site (src/release.ts) and the updater keep working
    • Test on a pre-release tag (-rc.1) first, which the updater endpoint ignores
    • Update SECURITY.md, CONTRIBUTING.md and README.md wording

Non-goals

  • Paid certificates, Azure signing or an Apple Developer account.
  • Notarizing the macOS build.

Done when

A stable Windows release installs with a verified publisher, in-app updates still pass signature verification, and the docs say what is and is not signed.

Activity

  1. added
    enhancement
    security
    on Nov 23, 2026
  2. arifintahu commented on Nov 23, 2026

    @arifintahu
    MemberAuthor

    Status 2026-11-23: the code signing policy is live in the README and on the site (#63, emberterm.github.io#3), and the SignPath Foundation application is submitted. Waiting for their answer. Next: winget and Scoop packages, the macOS first-launch docs, and the release workflow change once SignPath accepts. Still open: require two-factor authentication for the org.

  3. arifintahu commented on Nov 23, 2026

    @arifintahu
    MemberAuthor

    Status 2026-11-23: the Scoop bucket is live (emberterm/scoop-emberterm, install untested) and the winget manifest is submitted as microsoft/winget-pkgs#486911, waiting for Microsoft's validation and the CLA. Still open: macOS first-launch docs, the release workflow change after SignPath answers, org two-factor.

  4. arifintahu commented on Nov 23, 2026

    @arifintahu
    MemberAuthor

    Update 2026-11-23: SignPath Foundation declined the application (not enough public visibility yet; reapplying later is welcome). The README and site now say Windows is unsigned and macOS is ad-hoc signed and not notarized. The signing release-workflow phase is on hold; winget (microsoft/winget-pkgs#486911) and Scoop (emberterm/scoop-emberterm) continue. Docs PRs: #65 and emberterm.github.io#5.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementsecurity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions