feat(provenance): distribute trusted Ed25519 keys via files, vbs.keys, and environment
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 5s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 1m19s

This commit is contained in:
faumaray committed 2026-12-03 19:42:10 +03:00
1 parent f5c0c9f09d
commit ff59f6ff5c
13 files changed
+314 -7

No files matched your search

+5 -1
View File
@@ -93,9 +93,13 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- Extracted the CLI's dependency resolution/materialization pipeline into the reusable library API `Package::resolve_and_materialize_dependencies` (`include/Void/Build/Package/Resolver.hpp`, `src/Package/Resolver.cpp`) with explicit `ResolveOptions` (project/build root, pinned lock, offline/upgrade, trusted keys, registry URL/auth); `src/Main.cpp` is now a thin adapter over it.
- The daemon `build` request now loads TOML dependency manifests, merges declared dependencies, resolves and materializes them (pinned lock + registry environment), imports native/CMake/Meson/Conan provider targets, and lowers the graph with those imported interfaces before executing. Responses report `dependencies`. Added `Daemon.build_materializes_path_dependency` (path dependency materialized, imported, linked, and built over the socket).
- **Wave 19 (Track D3 Trusted-Key Distribution)**:
- Added `Void::Build::Provenance::load_trusted_keys` / `normalize_public_key` (`include/Void/Build/Provenance/TrustedKeys.hpp`, `src/Provenance/TrustedKeys.cpp`): keys are loaded from explicit `--trusted-key-file` files, an implicit project `vbs.keys` ring, and `VBS_TRUSTED_PUBLIC_KEYS` (comma/whitespace separated), validated as 64-hex, lowercased, and deduplicated. Malformed keys and unreadable files fail explicitly with `file:line` context.
- `vbs build|test` combines inline `--trusted-public-key` values with file/env sources; the daemon build request loads `vbs.keys` + the environment variable before resolving dependencies. `SignatureEnforcement` now has 5 cases.
## 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, Ed25519 primitives, trusted-key enforcement, the #52 built-in-backend capability probe, and the VoidLibrary pin bump to `0002e74` done; binary-variant signing and key distribution remain), Track E3 (daemon core, bounded `describe`, build-serving, and dependency materialization done; 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, trusted-key enforcement and distribution, the #52 built-in-backend capability probe, and the VoidLibrary pin bump to `0002e74` done; binary-variant signing remains), Track E3 (daemon core, bounded `describe`, build-serving, and dependency materialization done; external editor plugins remain), and Track E4 (`Void::Net`/`Void::Sqlite` alignment) remain planned scope.
## Environment notes & upstream boundaries