Skip to content

AMDSEV: harden reproducible VM component builds#441

Open
kariy wants to merge 1 commit intomainfrom
sev-snp-repro-hardening
Open

AMDSEV: harden reproducible VM component builds#441
kariy wants to merge 1 commit intomainfrom
sev-snp-repro-hardening

Conversation

@kariy
Copy link
Member

@kariy kariy commented Feb 26, 2026

  • Require explicit SOURCE_DATE_EPOCH and remove wall-clock build metadata so host time cannot perturb outputs.
  • Add optional apt snapshot source pinning (while keeping version+SHA checks) to eliminate package mirror drift as a hidden input.
  • Enforce pinned OVMF_COMMIT and validate submodule state so firmware source resolution is immutable.
  • Emit deterministic provenance (build-info.txt, materials.lock, INPUT_MANIFEST_SHA256, toolchain/container metadata) so rebuilds are auditable and comparable.
  • Add machine-checkable verification (build.sh --repro-check, verify-build.sh --compare) so reproducibility is enforced by automated hash equivalence.

@kariy kariy changed the title misc/AMDSEV: harden reproducible VM component builds AMDSEV: harden reproducible VM component builds Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant