Skip to content

Stage pinned signed OS updates and recover matched root/EFI checkpoints - #274

Closed
MichaelWave369 wants to merge 7 commits into
feat/blank-disk-installerfrom
feat/os-update-recovery
Closed

MichaelWave369 wants to merge 7 commits into
feat/blank-disk-installerfrom
feat/os-update-recovery

Conversation

@MichaelWave369

@MichaelWave369 MichaelWave369 commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

This implements the approved R8 candidate: explicit public-key enrollment, pinned signed package intake/application, and offline matched Btrfs-root/EFI checkpoints. Updates bind the actual source, complete package inventory, independent generation, disk and EFI hashes. Cancellation/refusals hold before activation; failed stages and transaction evidence are retained. Recovery preserves current home/log data, removes rolled-back signing trust and advances an independent counter. Root/EFI switching is non-atomic and requires live recovery if interrupted.

Qualified bounded VM evidence: run 36805999628, source 29def30a3079c99972f1606ae44ea3478d0f79d1, ISO SHA-256 391efdfd41e0217706b2b4028c47e9d37f7014762afc5d6831a30eb6bb2dba4b. The production enrollment command passed cancellation/acceptance. A real signed package addition passed; missing/wrong-key/tampered/expired/replayed inputs, cancellation and an actual dependency failure were refused. QEMU was terminated during a real pacman install hook; a fresh live boot verified the unchanged active root/EFI/counter and preserved interrupted stage. Deliberately corrupted initramfs files caused an actual kernel panic. Explicit matched live recovery and three normal password/PAM/greetd disk-only desktop boots passed, with canonical user data and acknowledged receipt intact.

The sole target was a newly created 32-GiB named disposable disk, UEFI/KVM, 2 CPUs, 4 GiB RAM, no NIC, host disk or shared folders. Signing keys were ephemeral CI fixtures. Receipt and file digests: docs/os/evidence/recovery-29def30a.json. Reviewable logs/screenshots, unsigned QA candidate; seven-day retention expires October 8. All four previous failures and their repairs remain in recovery-attempts.json.

Validation: ordinary CI 36805999618 passed 2,218 tests with six existing optional skips, Ruff and mypy (304 source files), including eight actual signature/expiry/revocation cases and four actual public-key enrollment cases. PhiShell CI also passed.

Stacked on #273; keep draft. This qualifies the tested package addition/recovery mechanism, not arbitrary kernel upgrades, a different fixture-free artifact, hardware, a release identity or public publication. Trusted signed hooks execute as administrator; the chroot is not a malicious-signer sandbox. TTY access is not human authentication. Private PhiKernel/TIEKAT internals and advisory adapter authority remain untouched.

@MichaelWave369 MichaelWave369 changed the title Add signed OS update intake and matched root/EFI recovery Stage pinned signed OS updates and recover matched root/EFI checkpoints Oct 1, 2026

Copy link
Copy Markdown
Owner Author

Superseded by merged consolidation PR #291.

The reviewed implementation/evidence lineage is preserved on main at merge commit 81103bbfeb59b0864b97e5bd64935730d301f349.
This closure is repository cleanup only. It does not change any preserved release, publication, hardware, signing, source/license, or field-test holds documented by the consolidated candidate.

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