Repository navigation
Conversation
1 task
…ified-windows-vm-runtime
Member
Author
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.
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.