Repository navigation
Free code signing: self-signed certs + one-click trust installers (Windows + macOS) - #1
Merged
Merged
Conversation
…ndows + macOS) Generate a free self-signed code-signing certificate per platform and make trusting it flawless for users; CI signs both platforms when the signing secrets are present. - scripts/make-windows-cert.ps1: generates the Windows cert (.pfx) and a self-elevating "Install Tether certificate.cmd" with the cert embedded (certutil, Root + TrustedPublisher). - scripts/make-macos-cert.sh: generates the macOS cert (.p12) and a "Trust Tether.mobileconfig" profile (double-click install, no Terminal). - scripts/trust-windows-cert.ps1 / trust-macos-cert.sh: scripted/fleet trust install from the published .cer (GPO/Intune or per-user). - scripts/install-macos.sh: curl install that sets no quarantine, so Gatekeeper never prompts. - desktop.yml: sign the NSIS setup with the self-signed cert (WINDOWS_SIGNING_P12), inert without the secret; optional SignPath Foundation step for CA trust once approved. - Download page (release.rs): a Mark-of-the-Web-free PowerShell install command next to the Windows Download button, built in-browser from the relay origin; test added. - certs/: the public certs and both double-click installers (publish to each relay /download/). - docs/code-signing.md: the full free-signing plan and the exhausted research (no free CA/Apple- trusted cert exists for an individual; SignPath for Windows and the Apple fee waiver are the only universal-trust free routes). LICENSE, PRIVACY.md, CODE_SIGNING_POLICY.md prepared for SignPath. - .gitignore: never track signing private keys (secret/, *.pfx, *.p12).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Free self-signed code-signing certificates for both platforms, with flawless one-double-click trust installers, and CI signing wired to the new signing secrets.
What this does
make-windows-cert.ps1generates the cert + a self-elevatingInstall Tether certificate.cmd(certutil → Trusted Root + Trusted Publishers). Fully trusted once a PC runs it, or via GPO/Intune. CI signs the NSIS setup (WINDOWS_SIGNING_P12).make-macos-cert.shgenerates the cert + aTrust Tether.mobileconfigprofile (double-click install, no Terminal). CI signs the apps (MACOS_SIGNING_P12).iwr/curldownloads), built in-browser from the relay origin.install-macos.sh): no quarantine, so Gatekeeper never prompts.certs/holds the public certs + both installers to publish on each relay under/download/.docs/code-signing.mdrecords the full plan and the exhausted research: no free CA/Apple-trusted cert exists for an individual; SignPath (Windows) and the Apple fee waiver (macOS) are the only free universal-trust routes.Verification
smoke-macos.shfails if the designated requirement doesn't name the certificate).Private keys are only in CI secrets + the gitignored
secret/dir — never in git.