Repository navigation
Signing your own build
OpenCircle's release files are not code-signed yet. Signing needs a certificate that costs money and ties to an identity, and this project is free; the project has applied for free signing (see the README). Until then:
- Verify the download with
SHA256SUMS.txtfrom the release page. - Or build from source yourself (README).
- Or sign the files with your own certificate, as below. This is useful for a company that wants to roll OpenCircle out without SmartScreen warnings.
Without a signature, SmartScreen shows "Windows protected your PC" on first run. A user can click More info, then Run anyway.
Smart App Control (Windows 11). Where it is on, Windows blocks unsigned
programs with no "Run anyway" option. Until OpenCircle is code-signed, either
turn Smart App Control off (Windows Security > App & browser control > Smart App
Control settings; on some versions Windows will not let you turn it back on), or
build from source, or sign a build yourself as below. It does not exist on
Windows 10, and many PCs have it off. Downloads are still verified by
SHA256SUMS.txt, and in-app updates by a signature the app checks itself; both
are separate from Windows code signing.
To sign, you need a code-signing certificate (from a certificate authority, or
your organisation's in-house CA for managed PCs) and signtool from the
Windows SDK. Sign opencircle.exe before it is packaged, then the .msi, then
build the setup over the signed .msi (it carries the MSI inside, see
.github/workflows/release.yml) and sign OpenCircle-Setup-<version>-x64.exe:
signtool sign /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 `
/f my-certificate.pfx /p $env:PFX_PASSWORD OpenCircle-Setup-<version>-x64.exe
signtool verify /pa /v OpenCircle-Setup-<version>-x64.exeUse your certificate store (/sha1 <thumbprint> or /n "Your Company") or a
cloud signing service instead of a .pfx file where you can. Keep the
certificate and its password out of the repository. For managed PCs you can
instead trust your in-house CA through Group Policy and skip the public
certificate. Signing changes the file, so publish new checksums for the signed
files.
Linux has no SmartScreen. You can still give users a way to check that a file came from you. With GPG:
sha256sum opencircle_*.deb opencircle-*.AppImage > SHA256SUMS.txt
gpg --armor --detach-sign SHA256SUMS.txt # writes SHA256SUMS.txt.ascPublish your public key. Users verify with:
gpg --verify SHA256SUMS.txt.asc SHA256SUMS.txt
sha256sum -c SHA256SUMS.txt --ignore-missingFor your own APT or RPM repository, sign the packages and repository metadata
with the same key (dpkg-sig/debsign, rpm --addsign), and distribute the
public key so clients can trust it.
This page is generated from docs/signing.md. Edit it there; changes made here are overwritten.