Repository navigation
feat(node-lxc): real dated Ubuntu rootfs pins + fail-closed provenance (OSS-378) - #545
Merged
Merged
Conversation
…etic pins Replace the all-zero synthetic upstream pins with immutable, dated Ubuntu 24.04 root tarballs from cloud-images release 20261017. SHA-256 values come from a GPG-signed SHA256SUMS locally verified against the documented Canonical signing key; exact URLs, dates, checksum/signature hashes, key fingerprint and retrieval method are recorded in qualification/. - Split provenance into a real artifact profile and an explicitly synthetic fixture profile; fixture builds refuse the artifact profile and vice versa. - Add validate-provenance and fail-closed checks for synthetic profiles, placeholder/unverified digests, missing signing evidence and moving URLs. - Add three acceptance/refusal fixture scenarios (14 total). - Record the precise external guest-boot blocker (no /dev/kvm, no LXC tooling) and keep all boot/import claims out of the evidence. Verified: 14/14 fixtures, pinned Go 1.26.11 vet/test for knowledge-lint, py_compile, toolchain policy, git diff --check, knowledge-lint -fix + final.
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.
OSS-378 follow-up: real pinned upstream provenance
Replaces the synthetic all-zero LXC provenance pins with real, immutable, dated upstream artifacts and makes the artifact profile fail closed on synthetic/placeholder/moving inputs. PR #528 (the earlier LXC lane) was merged by the orchestrator; this PR continues on the same
codex/node-lxcbranch.Exact head:
072d49da0d1c30ae1f826ebb41e5c21fd8ff073c(branchcodex/node-lxc, basemainat4e461789).Real pin evidence
https://cloud-images.ubuntu.com/releases/noble/release-20261017/. The moving/release/symlink is explicitly rejected.ubuntu-24.04-server-cloudimg-{amd64,arm64}-root.tar.xzec6972af8ea2bd05c55299d204e5ae3f91769b84cfaec7395639d236a39f9a03(227213232 bytes)b68ef0444ca56ce4f00ae7e8ccfb0c553ffbc92e4a1b14ed7dd8aa18c6d68652(216215656 bytes)<dated>/SHA256SUMSsha2560449a33b78dddb301a3ce2b80398984bc3e1f7880e27b86a31e58bdcbd3d3816;<dated>/SHA256SUMS.gpgsha25668aae716a548e466e58afddd8b767c54c791f40f1d20d1d12e27c471edb535e5.gpg --verifyreturned exit 0 — Good signature fromUEC Image Automatic Signing Key <[email protected]>, fingerprintD2EB 4462 6FDD C30B 513D 5BB7 1A5D 6C4C 7DB8 7C81.packaging/node-lxc/qualification/RETRIEVAL-EVIDENCE.md. Full tarball bytes were not downloaded.Changes
config/provenance.json(real artifact profile) fromconfig/provenance.fixture.json(synthetic, explicitly marked). Synthetic values now live only in the fixture profile.validate-provenanceand fail-closed checks: synthetic profile, placeholder/unverified digest, missing signing evidence, moving/undated URL, profile mix-up. Artifact mode refuses the fixture profile and vice versa./dev/kvmand no LXC tooling on this host, so no live import/boot/nested-daemon/effective-enforcement/gameplay claim — inpackaging/node-lxc/qualification/QUALIFICATION.mdanddocs/node-lxc-mode.md.Verification at exact head
python -m unittest discover -s packaging/node-lxc/tests -p 'test_*.py' -v: 14/14 OK.go vet ./cmd/knowledge-lint/...andgo test ./cmd/knowledge-lint/...both pass;node scripts/check-toolchain-policy.mjsmatches Go 1.26.11 / Bun 1.4.2 / Buf 1.50.0.py_compileclean;git diff --checkclean.go run ./cmd/knowledge-lint -root . -fixthen final lint: 70 concepts, 38/38 queries pass.