Skip to content

feat: build and verify an x86 Windows VM runtime bundle - #419

Closed
hanthor wants to merge 5 commits into
fix/artifact-manifest-authfrom
feat/verified-windows-vm-runtime
Closed

hanthor wants to merge 5 commits into
fix/artifact-manifest-authfrom
feat/verified-windows-vm-runtime

Conversation

@hanthor

@hanthor hanthor commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

The VM-first path currently requires users to obtain a QEMU runtime by hand. This adds a build tool and a verified installer for a pinned, signed x86 runtime bundle, with measured Windows behavior. It keeps all DLLs and x86 firmware, adds the helper artifacts, signs every selected file, and leaves the private seed outside the archive.

The experimental ZIP is 183,295,958 bytes and expands to 321,059,722 bytes including the helper. Corral Windows tests executed a guest marker under headless TCG and interactive GTK; module inspection found no dependency on the separately installed QEMU copy. The failed session-0 GTK probe remains in the evidence. This is not a Linux desktop or WHPX verdict.

The installer checks the outer archive hash and inner signed closure, rejects unsafe Windows paths and incomplete bundles, enforces count/size limits, then publishes through one rename under a caller-protected directory. It refuses an existing runtime and removes temporary files on failure or cancellation. UI acquisition is a follow-up in #418.

Validation: three packaging tests, all Go tests and the installer race tests pass. The real archive's signature and all 3,282 payload hashes verify; the production extractor installed all 3,284 files including metadata on Linux and native Windows. Negative tests cover modified/extra/missing files, invalid signatures, traversal, alternate streams, case collisions, links, expansion limits and cancellation. Removing the payload hash comparison makes the edited-payload test fail. Evidence and exact probe scripts are committed. No release workflow publishes the bundle. Exact upstream source/dependency provenance, final helper account contract, full desktop proof and app acquisition remain required before distribution.

Depends on #416 (signed manifests, recursive paths, measured manifest-size bound). Related to #178 and #371. This PR does not close the VM-first milestone.

@hanthor hanthor changed the title build: prototype a signed x86 Windows VM runtime bundle feat: build and verify an x86 Windows VM runtime bundle Sep 26, 2026
@hanthor

hanthor commented Oct 15, 2026

Copy link
Copy Markdown
Member Author

Superseded: these commits were restacked linearly on trial/vm-first-current-candidate, which is now carried to main by #495 (base #416 is already merged).

@hanthor hanthor closed this Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant