Skip to content

Add authenticated disposable VM checks for the private Mac image - #504

Draft
scottjones wants to merge 9 commits into
integrate/quattro-encryption-liminefrom
test/quattro-limine-vm-20260922
Draft

scottjones wants to merge 9 commits into
integrate/quattro-encryption-liminefrom
test/quattro-limine-vm-20260922

Conversation

@scottjones

@scottjones scottjones commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Exercise the private Mac image’s first-boot and encryption scripts in a disposable ARM64 guest after authenticating the complete input closure. The harness verifies package/archive inputs, audits exported trust, isolates disposable image copies and GPG socket paths, guards loop-device identities, and confines detector adaptation to the guest root.

This PR is stacked on the runtime integration branch so its diff contains only the harness. Retarget it to quattro-upstream after the runtime PR merges.

Exact tested head: 880012fd96453287c9d3cad445a55c412d5ab173.

Validation already completed:

  • Focused regressions passed for admission, loop identity/protection, disposable ZIP staging, short GPG socket paths, exclusive attempt labels, container partition nodes and guest detector target safety.
  • The final qualification run exited 0 after plain first boot, requested encryption conversion, and encrypted second boot. Input admission verified 13 candidate packages, 50 dependency packages and 69 signatures.
  • Successful guest disks and failed pre-boot disposable copies were removed after retaining evidence; source artifacts were preserved.

The VM uses an authenticated generic 7.2.4 kernel, AAVMF and a synthetic Apple detector. It exercises the image’s real conversion scripts but does not qualify Apple m1n1/U-Boot/Limine loading the Apple UKI, firmware, audio, firewall, interactive owner password/recovery, factory reset or updates. The encrypted second boot uses the setup-key path. The run also exposed nonfatal logging settings and a signer/keyring warning; normal signed updates remain unqualified.

Keep draft pending review of the privileged disposable-test boundary. Runtime documentation remains unchanged by these harness-only commits.

Companion review: runtime #503, boot packages #65, and macOS installer #2.

The Linux image builder is now included in installer PR #2. The former personal-repository draft is closed. Qualification recorded above belongs to build 25; the refactored runtime/boot-package candidate requires a new run.

This branch has not been deployed

No deployments
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