Releases: virtee/sev-snp-measure
Releases · virtee/sev-snp-measure
v0.0.11
0.0.11 - 2024-06-18
Modified
- Support OVMF section
SVSM_CAA
(fixValueError: 4 is not a valid SectionType
) (by @DGonzalezVillal).
v0.0.10
Modified
- Set default of
--guest-features
back to 0x1 to align with Linux kernel 6.8 and newer (kernel commit 5abf6dceb066). - Update the VMSA to match latest upstream kernel; this should match host Linux kernel 6.10 and newer; this is a BREAKING CHANGE for older kernels.
- Updated dependencies: cryptography to 42.0.4, removed unneeded types-cryptography.
v0.0.9
Added
- Add optional
--vars-file
(besides--vars-size
) for SNP-SVSM mode (by @osteffenrh). - Add optional
--guest-features
to set the value of the SEV features field in the VMSA. This value is set to 0x1 by host Linux kernel older than 6.6, and to 0x21 (the default) in later kernels. Note that this is a BREAKING CHANGE for kernels older than 6.6 (run with--guest-features=0x1
to get the correct behaviour there).
Modified
- Updated dependencies: cryptography to 42.0.0
v0.0.8
Added
- Add
--mode=snp:svsm
to calculate SNP measurements when starting with SVSM
under QEMU (by @osteffenrh). - Add
--dump-vmsa
to write measured VMSAs to local files for debugging (by
@osteffenrh).
Modified
v0.0.7
v0.0.6
Added
- Add
--vmm-type=ec2
to calculate SNP measurements according to the EC2 VMM, which is slightly different than the way QEMU measures the initial VM state (by @agraf).
Modified
- Detect OVMF that doesn't support kernel hashes and exit with error.
- Exit with error if
--initrd
/--append
are used without--kernel
.
v0.0.5
Modified
- Modify SNP measured direct boot to match the order of measured pages in QEMU for the March 2023 patches (v3) for SNP measured boot. Note that this is a BREAKING CHANGE if you use
--kernel
(that is, the calculated measurement will be different when compared to v0.0.4).
v0.0.4
Added
- Add
--mode=snp:ovmf-hash
and--snp-ovmf-hash
to allow precalculating the first part of SNP launch digest and avoid carrying the full OVMF binary for every minor OVMF change (by @agraf). - Add new utility
snp-create-id-block
which allows generating an SNP ID block from a given measurement (by @shuk777).
v0.0.3
Added
- Add
--output-format={hex,base64}
to control the measurement output format (default is hex) - For SEV-ES and SNP: Add guest CPU type choice using
--vcpu-type
or--vcpu-sig
or--vcpu-family/--vcpu-model/--vcpu-stepping
- Add SEV (
--mode=sev
) and SEV-ES (--mode=seves
) measurement modes - Add
--verbose
for verbose output; by default, only the digest is printed - Improve README