Trust-but-Reproduce
This guide shows how to verify, extract, reproduce, measure, and test a downloaded Sylica CVMF release.
Prerequisites
Install the following tools:
sudo apt install \
git \
zstd \
coreutils \
jq
xxdInstall the GitHub CLI (gh) and Docker or another container runtime if you want to reproduce the firmware.
Clone Sylica when performing reproducibility or measurement verification:
git clone --recursive https://github.com/enclaive/sylica.git
cd sylicaThe release itself can be downloaded from the Sylica GitHub Releases page.
1. Verify the release
Always verify the release before extracting or using its firmware.
A Sylica release provides three complementary integrity mechanisms:
The top-level sha256sums and b2sums files cover the release artifacts. attestation.json provides provenance for those checksum manifests.
Verify provenance
Obtain the GitHub trusted root:
Verify both release checksum manifests against the release attestation:
The source and signer digest must correspond to the Git commit associated with the release.
For another release, do not reuse the digest from this example.
Verify downloaded release assets
After establishing the provenance of the checksum manifests, verify the downloaded files:
Every downloaded asset covered by the manifests should report:
Do not use an artifact whose checksum fails.
2. Extract the platform packages
Create a directory for the release:
Extract the packages you need.
For all firmware platforms:
Most users need only one production package:
Conventional x86
platform-sylica-x86-*
AMD SEV-SNP
platform-sylica-sev-oss-*
Intel TDX
platform-sylica-tdx-oss-*
The debug-sev and debug-tdx packages are upstream reference builds intended primarily for development, comparison, and reproducibility diagnostics.
Verify extracted packages
Each package contains its own checksums.
Verify all extracted packages with:
This establishes two levels of integrity:
3. Inspect the firmware
The production packages contain the deployable firmware:
For example:
Calculate its SHA-256 digest:
For v1.1.0, the expected firmware hashes are:
debug-sev
3651e4a2077a411f9c763c4d5df1818652cc6b824f9efb095e5aabcd69f03f0b
debug-tdx
48c3a18691b199aca596c36bdb979d82859c7d7fe764de6738c2269c6ea97fc4
sylica-sev-oss
9a97a52257cfcdd22c5271ef6a119d43fb4ba76b71e505748c02367ea43b2fae
sylica-tdx-oss
9e76edd0a5fc0625a4b9b3c263f88efcc83abe49fdc8f7a90851e234abf62f3e
sylica-x86
9a97a52257cfcdd22c5271ef6a119d43fb4ba76b71e505748c02367ea43b2fae
4. Inspect the build environment
Each platform package contains:
The release is built from a pinned Ubuntu 22.04 snapshot with exact package versions.
Inspect the build environment with:
The manifest records the tools used to produce the firmware and is useful when reviewing or independently reproducing the release.
5. Reproduce the firmware
Reproducibility verifies that the released CVMF.fd can be independently regenerated from the corresponding source and build environment.
Check out the exact release:
Set the immutable build-environment image published for the release:
Then reproduce a platform:
For example:
or:
A successful verification means that an independent build produced the same firmware artifact as the release.
Conceptually:
For another release, use the build-environment digest published with that release.
See Reproducible Builds for the complete reproducibility model.
6. Verify the measurements
Each platform package contains:
It records the firmware hash and, where applicable, precomputed confidential-computing launch measurements.
Inspect it with:
To independently regenerate the measurement:
where <mode> is either
measure_none
measure_snp
measure_tdx
Compare the generated measurement with the released value:
No difference should be reported.
The measurement mode depends on the selected platform and confidential-computing technology. See Verification and Usage for the supported modes and measurement parameters.
Firmware hash vs. launch measurement
Do not confuse the two:
Both are useful, but they answer different questions.
7. Compare against attestation
For a running confidential VM, compare the expected measurement from:
with the measurement reported by the hardware-backed attestation evidence.
For AMD SEV-SNP, compare against the applicable:
For Intel TDX, compare against the applicable:
The expected flow is:
A valid attestation signature alone is not sufficient. The reported measurement must correspond to a firmware and VM configuration approved by the verifier.
See Verification and Usage for the platform-specific procedure.
8. Test CVMF without confidential hardware
The release contains a separate test package:
It allows the basic CVMF boot path to be tested on a conventional x86 KVM/QEMU host.
You do not need an AMD SEV-SNP or Intel TDX-capable CPU for this test.
Extract it:
The package contains the kernel, initrd, EFI shell, and launch instructions:
Read:
and execute the QEMU command provided there.
The smoke test verifies that:
It verifies firmware functionality, not confidential-computing isolation.
9. Capture attestation evidence
On a host with AMD SEV-SNP or Intel TDX support, the test workload can output the attestation report and event log as hexadecimal data.
For example:
Convert them to their binary representations:
The files represent:
report.bin
Hardware-generated confidential-computing attestation evidence
ccel.bin
Confidential Computing Event Log
The attestation report contains the hardware-backed measurement state.
The CCEL provides information about events that contributed to measured state and can be used to understand how the resulting measurement was constructed.
You can inspect and verify these artifacts using the Sylica verification tooling described in Verification and Usage.
Quick verification workflow
For a normal release evaluation, the complete process is:
Last updated