Skip to content

Hardening backlog: Windows code signing, msstore publish auth, MAS publish cadence #469

Open

Description

@khaira777

Problem

Field deployments require rapid patch releases (e.g., 3.14.2, 3.14.10, 3.14.12 cut within 3 days to unblock live Windows multi-station deployments). Today Windows direct installers are unsigned (triggering SmartScreen warnings on every install), Microsoft Store auth automation has been unreliable, and MAS publishing remains manual - slowing down trusted field delivery. This issue also absorbs the remaining governance verification items from closed #204.

Codebase Anchor

  • .github/workflows/release.yml:161,442,721,748,787,967 (ref validation, fail-closed Snap publishing, Windows NSIS/AppX build with # SignPath comment at line 721, publish-release job).
  • .github/workflows/publish-mas.yml:33-125 (Fastlane MAS submission with provenance validation).
  • .github/workflows/release-candidate-gate.yml (immutable published beta candidate verification).
  • scripts/release-gate/validate-release-ref.cjs, docs/ release runbook (updated in #1614).

Core Invariants & Constraints

  • No silent skips: Every requested distribution channel must either succeed with verifiable evidence or fail visibly.
  • Least privilege: Keep production store credentials and signing tokens scoped exclusively to protected release environments, never accessible to ordinary CI or fork PRs.
  • Explicit authorization gate: Prior maintainer decision (2026-08-23) deferred signing/automation; do not enable paid signing or automated store pushes without explicit maintainer authorization.

Scope / Acceptance Criteria

  • Windows Authenticode signing: Evaluate and wire SignPath Foundation (open-source free tier) or cloud-HSM Authenticode signing into .github/workflows/release.yml Windows NSIS build, plus signature verification step (mirroring macOS xcrun stapler validate).
  • Microsoft Store publish auth: Stabilize automated msstore submission credentials/flow or document a verified, repeatable manual retry checklist in the release runbook.
  • Mac App Store cadence: Align .github/workflows/publish-mas.yml with stable releases so MAS does not drift behind GitHub Releases (3.14.x).
  • Governance verification (folded from #204): Verify GitHub tag protection rulesets on X.Y.Z release tags and confirm all release publish jobs run behind the protected production-release Environment with least-privilege GITHUB_TOKEN permissions.

Concrete Design Decisions to Lock Before Coding

  1. Un-deferral approval: Maintainer confirmation to lift the 2026-08-23 deferral on Windows Authenticode signing (recommended now given live Windows field deployments).
  2. Signing provider: Confirm SignPath Foundation OSS application vs Azure Trusted Signing / DigiCert cloud HSM.

Out of Scope

  • Tax-pack tag provenance & FloCafe-Plugins signing (tracked in #636).
  • Switching release changelog generation away from git-cliff (npm run changelog).

Activity

  1. khaira777 commented on Aug 23, 2026

    @khaira777
    ContributorAuthor

    Captain decision (2026-08-23): defer all three items from the current #463 implementation scope - keep direct-download Windows builds unsigned, keep Microsoft Store publishing manual, and keep Mac App Store publishing manual. Leave this issue open as future follow-up; no current implementation is authorized.

  2. added
    enhancement
    platform:windows
    platform:macos
    priority:high
    on Nov 28, 2026
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

    enhancementplatform:macosplatform:windowspriority:high

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions