Skip to content

Releases: virtee/sev-snp-measure

v0.0.11

18 Jun 15:43
v0.0.11
ec2e0e2
Compare
Choose a tag to compare

0.0.11 - 2024-06-18

Modified

  • Support OVMF section SVSM_CAA (fix ValueError: 4 is not a valid SectionType) (by @DGonzalezVillal).

v0.0.10

17 Jun 16:56
v0.0.10
Compare
Choose a tag to compare

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

09 Feb 15:27
v0.0.9
Compare
Choose a tag to compare

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

01 Feb 22:07
v0.0.8
Compare
Choose a tag to compare

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

  • Fix bad id-auth signature generation (by @shuk777).
  • Verify keys given to snp-create-id-block are EC P-384 keys (by @shuk777).

v0.0.7

26 Jun 21:08
Compare
Choose a tag to compare

Modified

  • Github repository moved to the VirTEE organization.

v0.0.6

12 Jun 05:30
Compare
Choose a tag to compare

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

13 Apr 10:50
Compare
Choose a tag to compare

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

13 Apr 10:49
Compare
Choose a tag to compare

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

17 May 12:54
Compare
Choose a tag to compare

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

v0.0.2

11 Apr 13:16
Compare
Choose a tag to compare
  • Initial release