Skip to content

Code-sign releases with Azure Trusted Signing to remove the SmartScreen warning #89

Open

Description

@TMHSDigital

Why it matters

Every new user hits "Windows protected your PC" on first run, and many stop there, especially for an input-automation tool, which antivirus heuristics already treat with suspicion. Now that the app is on Scoop, about to be on winget (#76), and has a landing page (#77), the SmartScreen warning is the biggest remaining barrier between a visitor and a working install. The checksum and provenance attestation help experts but not typical users.

Evidence

Suggested approach

  1. Set up Azure Trusted Signing: identity validation, a certificate profile, and a service principal scoped to signing.
  2. Add a signing step to the release job between the PyInstaller build and the checksum, using azure/trusted-signing-action (pinned SHA) with OIDC federated credentials, so there's no long-lived secret.
  3. Verify the signature in CI (signtool verify /pa) before publishing.
  4. Fund it: the monthly cost is a good concrete sponsorship goal ("Help us sign releases"), see the sponsorship issue.
  5. Update README, landing page FAQ and RELEASING.md once releases are signed.

Done when

  • Release executables are Authenticode-signed with a verified publisher, the signature is checked in CI, and docs no longer tell users to click "Run anyway".

Activity

  1. added
    priority: medium
    packaging
    security
    on Oct 5, 2026
  2. TMHSDigital commented on Oct 5, 2026

    @TMHSDigital
    OwnerAuthor

    The release build now has the signing steps (31e8af5): Azure OIDC login, Azure/artifact-signing-action and an Authenticode check, running on v* tags only once the repository variables exist. docs/RELEASING.md, "Turning signing on", lists the Azure setup and the six variables. Left for the maintainer: create the Azure Artifact Signing account and identity validation (paid, needs your identity), then set the variables.

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

    packagingpriority: mediumsecurity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions