OpenCrate

Why Windows warns about OpenCrate, and how to make it stop

Maintainer guide, written for OpenCrate 1.5.9 (November 2026).

What users see

“Windows protected your PC — Microsoft Defender SmartScreen prevented an unrecognized app from starting.” The only buttons are More info, then Run anyway. For people who aren’t technical, this looks like a malware warning.

Why it happens

SmartScreen judges a downloaded program by reputation: how many people have run that exact file, and who signed it.

What 1.5.9 already does (no cost)

Change Effect
Release notes and README explain the warning, how to verify the fingerprint, and where to get the official file Fewer people give up or get scared
WinGet manifests are generated for every release (dist/winget/<version>/, kept as a workflow artifact) Once listed, winget install Vasilakious.OpenCrate installs without any SmartScreen prompt or Smart App Control block
The build is signing-ready: GitHub Actions signs automatically when signing secrets exist, and refuses to publish an unsigned release once signing is set up No code changes needed on the day you get a certificate
npm run dist:win:signed signs locally with a certificate in your Windows certificate store (cloud or USB) Works with certificates that can’t be used in CI
win.signExts: [".dll"] signs Electron’s DLLs as well as the EXEs and the uninstaller Smart App Control checks every DLL an app loads
The updater checks the update’s signature: once OpenCrate is signed, an update signed by anyone else is refused Protects users even if the release page were tampered with
The Health Check shows whether the installed copy is signed, and by whom Easy to confirm a signed release
package.json no longer claims an MIT licence It now points to the real (proprietary freeware) LICENSE

In-app updates don’t show the warning: the updater downloads the installer itself, so the file isn’t marked as “downloaded from the internet”.

Getting rid of the warning: options

Since August 2024, no certificate type gets an instant SmartScreen pass. EV certificates lost their special treatment, and every signed file still builds reputation. Signing still matters a lot, though:

Option Fits OpenCrate? Notes
Azure Artifact Signing (formerly Trusted Signing) — USD 9.99/month Only for individuals in the USA/Canada, or organizations in the US, Canada, EU or UK The cheapest option and it works in CI, but an individual in Greece can’t sign up. A registered business could.
Standard (individual) code-signing certificate from a CA such as Certum or SSL.com, stored in their cloud signing service Yes Since 2023, private keys must stay in a hardware token or cloud HSM. Use npm run dist:win:signed with the provider’s desktop signing app signed in, then -Publish to upload. Check each provider’s current price.
Free open-source signing (SignPath Foundation, Certum Open Source) No Requires an OSI open-source licence. OpenCrate’s licence is proprietary freeware.
EV certificate Not worth it Costs more and no longer skips SmartScreen.

After signing is set up, keep the same certificate identity between renewals and timestamp every signature (electron-builder does this). Reputation then carries forward.

Turning on signing in GitHub Actions

Add these repository secrets (Settings → Secrets and variables → Actions).

Azure Artifact Signing

Exportable .pfx certificate (rare today)

With no secrets, the build still works, unsigned, and shows a workflow warning.

Signing on your own PC (cloud or USB certificates)

$env:OPENCRATE_CERT_SHA1 = '<thumbprint>'      # certmgr.msc → Personal → Certificates → Details
npm run dist:win:signed                      # builds, signs, verifies and writes SHA256SUMS.txt
.\scripts\build-signed.ps1 -Publish          # same, then uploads to the GitHub release (needs the GitHub CLI)

If you sign locally, don’t also let the workflow publish unsigned files for the same tag. Either build the release only with -Publish, or let the workflow publish first and then run -Publish, which replaces the installers and SHA256SUMS.txt.

2. List OpenCrate in WinGet (free, do this now)

  1. Make a release, then download the OpenCrate-WinGet-Manifests artifact from the workflow run. You can also run npm run winget:manifest after building.
  2. Fork microsoft/winget-pkgs, put the three files in manifests/v/Vasilakious/OpenCrate/<version>/, and open a pull request.
  3. For later versions, wingetcreate update Vasilakious.OpenCrate -u <installer URL> -v <version> --submit (or komac update) does it in one command.

Installs through WinGet, and through OpenCrate itself, don’t trigger SmartScreen.

3. Microsoft Store (free; the only route with no warning at all)

4. Every release (free)