Repository navigation
Stage pinned signed OS updates and recover matched root/EFI checkpoints - #274
Closed
MichaelWave369 wants to merge 7 commits into
Closed
MichaelWave369 wants to merge 7 commits into
MichaelWave369 wants to merge 7 commits into
Conversation
This was referenced Oct 1, 2026
Owner
Author
|
Superseded by merged consolidation PR #291. The reviewed implementation/evidence lineage is preserved on |
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.
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-256391efdfd41e0217706b2b4028c47e9d37f7014762afc5d6831a30eb6bb2dba4b. 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 inrecovery-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.