feat(provenance): sign and verify prebuilt binary variants with trusted keys
This commit is contained in:
1 parent
ff59f6ff5c
commit
e97f3905e5
12 files changed
+250
-14
No files matched your search
@@ -387,6 +387,22 @@ dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
|
||||
- Full CTest: **8 / 8 passed** in 209.27 s.
|
||||
- `clang-format --dry-run --Werror` passes on all changed/new C++ files.
|
||||
|
||||
## Track D3 Binary-Variant Signing (GCC 16.2, pin `0002e74`, built-in Ed25519)
|
||||
|
||||
```sh
|
||||
dev cpp-gcc -c cmake --build build/pinned --parallel 8
|
||||
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite SignatureEnforcement --no-color
|
||||
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
|
||||
```
|
||||
|
||||
- Build: exit 0. `SignatureEnforcement`: **7 / 7 passed** in 158 ms, including
|
||||
`binary_variant_signature_policy_and_selection` (no trusted keys selects; a trusted key rejects
|
||||
an unsigned variant; an unrelated key reports `untrusted_key`; a signed variant with its trusted
|
||||
key is selected; a tampered digest reports `invalid_signature`) and
|
||||
`canonical_binary_message_is_exact` (`vbs-binary-v1\n<variant>\nsha256:<digest>\n`).
|
||||
- Full CTest: **8 / 8 passed** in 195.08 s.
|
||||
- `clang-format --dry-run --Werror` passes on all changed C++ files.
|
||||
|
||||
## Limits and Unrun Checks
|
||||
|
||||
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).
|
||||
|
||||
Reference in new issue
Block a user