Everything below that can be automated is; the steps marked maintainer need
accounts, certificates or keys that only the project owner holds. Background and
per-platform detail: CODE_SIGNING.md.
- Confirm a first public release exists on the Releases page. SignPath's free OSS programme requires a published release before it will issue a certificate.
- Apply for Windows signing (SignPath Foundation) and/or obtain the macOS
Developer ID certificate; generate the GPG key for the Linux AppImage
(
CODE_SIGNING.md§3). - Add the repository secrets listed in
CODE_SIGNING.md§3 / §4. Set all secrets for a platform or none: a partial set fails the release job early (see below) instead of half-signing. - Publish the GPG public key somewhere users can fetch it.
-
CHANGELOG.md[Unreleased]moved under the new version; version bumped (tests/test_version_consistency.pyguards the places that must agree). -
CI passedis green on the commit to be tagged. - Optional dry run of the credential check, locally or in a scratch workflow:
python packaging/check_signing_readiness.pyprintssign,skiporpartialper platform (names only, never values; exit 1 onpartial).
- Push the tag;
release.ymlbuilds the three platforms, signs the ones whose secrets are complete, and publishesSHA256SUMS.txt. - Read the Detect available signing credentials step output: each platform
should say
sign(orskipon purpose).
python packaging/verify_release.py Track2Data-setup.exe --sums SHA256SUMS.txt
python packaging/verify_release.py Track2Data-x86_64.AppImage \
--sums SHA256SUMS.txt --sig Track2Data-x86_64.AppImage.ascThen the platform checks from CODE_SIGNING.md §5 (Get-AuthenticodeSignature,
codesign --verify, spctl --assess).
The signing steps have never run against a real certificate, so expect to iterate:
signtool /f <pfx>cannot sign with certificates issued after mid-2023, which must live on a hardware token or cloud HSM; SignPath's own action replaces the.pfxroute in that case.codesign --deepis discouraged by Apple; if notarisation rejects the bundle, sign nested binaries individually, innermost first.appimagetoolis downloaded unpinned inrelease.yml; pin a release and checksum once the first successful build is known.