feat(provenance): enforce trusted Ed25519 package signatures in publish, lockfile, and locked builds
This commit is contained in:
1 parent
21babb8c31
commit
85f2ae274f
21 files changed
+519
-15
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
Updated: 2026-12-03
|
||||
Branch: main
|
||||
Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B1–B3) + Track E1 + `vbs ide` & `build.cpp` CompDB integration + Track D1/D2 + Track E2 + Track D3 SBOM (Docker GCC 16) + Track D3 Ed25519 signing primitives (OpenSSL-gated) + Track E3 daemon core & bounded describe + Track C1 Linux platform split complete
|
||||
Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B1–B3) + Track E1 + `vbs ide` & `build.cpp` CompDB integration + Track D1/D2 + Track E2 + Track D3 SBOM (Docker GCC 16) + Track D3 Ed25519 signing primitives & trusted-key enforcement (OpenSSL-gated crypto) + Track E3 daemon core & bounded describe + Track C1 Linux platform split complete
|
||||
|
||||
## Completed delivery waves
|
||||
|
||||
@@ -75,9 +75,14 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
|
||||
- Split OS-specific platform implementations into `src/Platform/Linux/` and added `include/Void/Build/Platform/Host.hpp` (`HostOs`, `host_os()`, `host_supported()`); macOS/Windows backends remain planned Track C2/C3 scope.
|
||||
- Fixed bounded CMake translation for CMake 4.5's synthesized `@cmake_cxx_std@(synth_N)` `INTERFACE_LIBRARY` feature carriers in `src/Provider/Translator.cpp`: their standard flag is already lowered from compile groups, so they are skipped instead of reported as untranslated dependency edges. Restored `FullV1Tests.track_b3_foreign_cmake_cxx20_modules_native_translation` on CMake 4.5.
|
||||
|
||||
- **Wave 15 (Track D3 Signed-Package Enforcement)**:
|
||||
- Extended the package model (`ReleaseRecord`, `SolvedPackage`, `LockedSourceEntry`) and `vbs.lock` serialization with optional Ed25519 `signature`/`public_key` fields (omitted from JSON when absent, so existing locks stay byte-compatible).
|
||||
- `vbs publish --signing-key FILE` signs the canonical `vbs-package-v1` message; `vbs-registry` stores and serves `X-Package-Signature`/`X-Package-Public-Key` metadata with strict 128/64 hex validation; `vbs build|test --trusted-public-key HEX` (repeatable) fails closed before package extraction unless the signature verifies against a trusted key.
|
||||
- Added `Void::Build::Provenance::verify_trusted_package_signature` (`include/Void/Build/Provenance/Verification.hpp`, `src/Provenance/Verification.cpp`) with explicit `Verified`/`Unsigned`/`UntrustedKey`/`InvalidSignature` decisions, plus `tests/SignatureEnforcementTests.cpp` and registry metadata/signed-E2E coverage.
|
||||
|
||||
## Remaining future scope
|
||||
|
||||
- **Post-v1 Expansion Roadmap ([21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md) & [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Live `conan` CLI verification (Track B3), Track C (macOS/Windows ports + dual-profile cross-compilation), Track D3 signing (SBOM and Ed25519 primitives done; OpenSSL-backed round-trip verification and `vbs publish`/`vbs build --locked` enforcement remain), Track E3 (daemon core and bounded `describe` done; build-serving requests and external editor plugins remain), and Track E4 (`Void::Net`/`Void::Sqlite` alignment) remain planned scope.
|
||||
- **Post-v1 Expansion Roadmap ([21-expansion-roadmap.md](../roadmap/21-expansion-roadmap.md) & [20-future-translation-platforms.md](../roadmap/20-future-translation-platforms.md))**: Live `conan` CLI verification (Track B3), Track C (macOS/Windows ports + dual-profile cross-compilation), Track D3 signing (SBOM, Ed25519 primitives, and trusted-key enforcement done; binary-variant signing and key distribution remain), Track E3 (daemon core and bounded `describe` done; build-serving requests and external editor plugins remain), and Track E4 (`Void::Net`/`Void::Sqlite` alignment) remain planned scope.
|
||||
|
||||
## Environment notes & upstream boundaries
|
||||
|
||||
|
||||
Reference in new issue
Block a user