Skip to main content

Sovereign for Windows

Sovereign for Windows runs on 64-bit Windows 11 (build 22000 or later) and installs per user, without an administrator prompt, under %LOCALAPPDATA%\Programs\Sovereign. The app bundles Python and the independent Library, as on the Mac. Recipients do not install Python, uv, Skulk, a managed SDK or a source checkout. Opening it starts no sharing, router port mapping or automatic model download until you turn on Help keep models available. Uninstalling removes the app and keeps the Library's saved models, keys and settings in %LOCALAPPDATA%\Foxlight\Sovereign. Windows on ARM and Windows 10 are not supported.

Build 2 pairs the authenticated public core 0.39.0 / Library 0.35.0 cohort (Pirate Face sharing on by default inside desktop sharing consent with partial-repository sharing, streamlined 1-screen sharing setup, direct URL paste in Find, Library → Add from folder, and runner hints on restore), the same Library as Mac build 24 and Linux revision 19. The build2 publication record binds the signed MSI to the exact recipe revision, the public inputs and the signing record, which lists every program file in the app with its digest and signer. Build 2 is published as the sovereign-windows-v0.1.0-build2 pre-release, verified and attested by the workflow below. Build 1 (core 0.38.1 / Library 0.34.1) and its tags remain unchanged for historical verification.

How it is built and signed​

scripts/build_windows.py builds the app and an unsigned per-user MSI from desktop/windows/inputs.json, and scripts/qualify_windows.py installs, runs, upgrades and removes it on a clean Windows. Signing happens in a separate, approval-gated lane in the private skulk-desktop repository with Azure Artifact Signing: every Windows program file (.exe, .dll, .pyd) that its maker did not already sign is signed as FoxlightAI Inc, the MSI is built from the signed files and then signed itself, and every signature carries an RFC 3161 timestamp. Microsoft's two runtime files keep Microsoft's signature. Smart App Control blocks unsigned program files in a Python app, which is why each one is signed.

Azure's signing certificates last three days, so there is no single certificate fingerprint to pin. The timestamp keeps a signature valid after its certificate expires. The record pins what stays the same across certificates: the exact subject CN=FoxlightAI Inc, O=FoxlightAI Inc, L=Frisco, S=Texas, C=US, the identity-validation usage 1.3.6.1.4.1.311.97.950717818.626346878.529684511.90151146 that Azure writes into every certificate for this validated publisher, and Microsoft's identity-verification root.

The upstream Python runtime ships two Tcl/Tk DLLs (tcl86t.dll, tk86t.dll) whose headers name a signature that is not there. The signing lane clears that stale header entry before signing them and lists both changes in the signing record.

Public download verification​

Windows releases use a separate sovereign-windows-vVERSION-buildN pre-release. Download the MSI and the neighboring SHA256SUMS, windows-release.json, signing-record.json, verification.json and native-verification.sigstore.json from the public GitHub release.

In PowerShell, check the MSI's checksum and Windows' own view of its signature:

$File = 'Sovereign-0.1.0-build2-windows-x64.msi'
(Get-FileHash $File -Algorithm SHA256).Hash.ToLower() # compare SHA256SUMS
$Signature = Get-AuthenticodeSignature $File
$Signature.Status # Valid
$Signature.SignerCertificate.Subject # CN=FoxlightAI Inc, O=FoxlightAI Inc, ...
[bool]$Signature.TimeStamperCertificate # True

Then authenticate it with GitHub CLI:

PUBLISHER_TAG=sovereign-windows-publisher-v0.1.0-build2
FILE=Sovereign-0.1.0-build2-windows-x64.msi
gh attestation verify "$FILE" \
--repo Foxlight-Foundation/foxlight-model-preservation \
--signer-workflow Foxlight-Foundation/foxlight-model-preservation/.github/workflows/windows-release.yml \
--source-ref "refs/tags/$PUBLISHER_TAG" \
--predicate-type https://foxlight.ai/attestations/windows-verification/v1 \
--bundle native-verification.sigstore.json --deny-self-hosted-runners

Repeat for the record, signing record, predicate and checksum file. Use --source-digest VERIFIED_PUBLICATION_COMMIT to pin the verifier revision independently; it differs from windows-release.json's source_revision, which identifies the recipe that built the app. This custom predicate asserts verification of an existing signed file, not native build provenance. It records the host, the checks performed and the qualification limits; read them with the software trust limits. The release tag points at the exact recipe revision; the separate immutable publisher tag identifies the reviewed verification workflow. Neither asserts a native rebuild in the public workflow.

Open the verified MSI to install. Windows shows FoxlightAI Inc as the publisher. Start Sovereign from the Start menu. First launch offers the same choices as on the Mac, and no model download or sharing begins merely by opening the app. Software signing grants no model authority.

What the publication lane checks​

windows-release.yml runs scripts/verify_windows_release.py on a fresh GitHub-hosted Windows runner. It accepts only the MSI the record pins, then:

  1. requires the MSI's signature to be valid, timestamped and the validated publisher above;
  2. unpacks the MSI as an administrative image (files only, nothing runs) and requires its program files to be exactly those in the signing record, byte for byte, each validly signed and timestamped, by FoxlightAI Inc or, for the two runtime files, by Microsoft;
  3. checks the app's build receipt against the recipe revision and public inputs;
  4. installs the MSI per user, checks the same files as installed, the window's WebView2 self-check, the bundled native modules (including the repaired Tcl/Tk DLLs) and that the Library serves its page and stops, runs the bundled offline PMF verification, restore and tamper refusal, confirms running wrote nothing into the install folder, then uninstalls it and confirms the Library's data stays.

A separate job attests the verified files with the custom predicate, and only the final job publishes. See RELEASING.md.

Limits​

Build 1 installed and ran on a Windows 11 machine with Smart App Control enforcing, in one sitting, with no file blocked. Smart App Control's decisions have varied over time on that machine, so this does not establish acceptance on every computer. The window itself is not opened in the publication lane, and upgrading from an earlier Windows build is not exercised because this is the first. No real-model recovery, inference, public-network privacy, start-at-sign-in or never-administrator-account qualification has been done on Windows yet.