Skip to content

Releases: Dstack-TEE/dstack

Verifier Release v0.5.11

10 Jun 12:44
245201b

Choose a tag to compare

Docker Image Information

Image: docker.io/dstacktee/dstack-verifier:0.5.11

Digest (SHA256): sha256:a000adea64ba689c8949647bfaa034e56b3e1f537ddf6ae97182abb95e7f560d

Verification: Verify on Sigstore

Python SDK v0.5.4

02 Jun 13:26

Choose a tag to compare

PyPI Package

Package: dstack-sdk 0.5.4

Install: pip install dstack-sdk==0.5.4

Registry: https://pypi.org/project/dstack-sdk/0.5.4/

JS SDK v0.5.8

02 Jun 14:20

Choose a tag to compare

npm Package

Package: @phala/dstack-sdk@0.5.8

Install: npm install @phala/dstack-sdk@0.5.8

Dist-tag: latest

Registry: https://www.npmjs.com/package/@phala/dstack-sdk/v/0.5.8

Python SDK v0.5.4b1

20 May 15:25

Choose a tag to compare

PyPI Package

Package: dstack-sdk 0.5.4b1

Install: pip install dstack-sdk==0.5.4b1

Registry: https://pypi.org/project/dstack-sdk/0.5.4b1/

JS SDK v0.5.8-beta.2

20 May 10:50

Choose a tag to compare

npm Package

Package: @phala/dstack-sdk@0.5.8-beta.2

Install: npm install @phala/dstack-sdk@0.5.8-beta.2

Dist-tag: beta

Registry: https://www.npmjs.com/package/@phala/dstack-sdk/v/0.5.8-beta.2

JS SDK v0.5.8-beta.1

19 May 14:28

Choose a tag to compare

npm Package

Package: @phala/dstack-sdk@0.5.8-beta.1

Install: npm install @phala/dstack-sdk@0.5.8-beta.1

Dist-tag: beta

Registry: https://www.npmjs.com/package/@phala/dstack-sdk/v/0.5.8-beta.1

dstack-sdk 0.1.3

19 May 12:23

Choose a tag to compare

v0.5.11

26 May 09:53

Choose a tag to compare

dstack-mr — Stable202505 OVMF event-layout support and refinements

PR #678 (a304dd96, 5aac58fa, 82c9bffb, c8271915, 3ec3f538) added a Stable202505 arm to dstack-mr covering the new 17-event RTMR[0] chain produced by edk2-stable202505-built OVMF. Most events are now derived from first principles (fw_cfg BootMenu/bootorder blobs, BootOrder/Boot0000/Boot0001 UEFI variable structures, etc.) instead of being hardcoded, plus extract_version_from_image_name now accepts an optional non-numeric .SUFFIX so images like dstack-0.5.10.rc1 resolve to a variant correctly.

c5eb9aac bumps MEASUREMENT_CACHE_VERSION so verifiers invalidate any RTMR0 they cached with the old (incomplete) Stable202505 model.

Known issue (memory-dependent SMBIOS digest): the EV_EFI_HANDOFF_TABLES event added by SmbiosMeasurementDxe.c in stable202505 hashes the filtered QEMU SMBIOS table, whose Type 16/17/19 contents scale with -m, -cpu, and -smbios type=1 overrides. PR #678's hardcoded digest is captured against a single 2 GB CVM and so fails for any other memory size. Mitigated at the OVMF layer in meta-dstack#63 by pinning OVMF to edk2-stable202502 — the most recent stable EDK2 tag that predates SmbiosMeasurementDxe enablement (cd76265f1a).

Other changes

  • 06684b79 Fix IP subjectAltName entries in RA-TLS certificates
  • 864a988f key-provider-build: pin transitive deps for reproducible mr_enclave
  • 7bcb5c99, 1b4b399d, f57d4d0d, dfd8716c, 01d206e4 KMS onboarding page enhancements: PPID display, site-name / chain-info / k256 pubkey on onboard view, configurable auth-mock policies, extra eth-rpc-url field on auth-eth-bun /info
  • Hono / fast-uri dependabot bumps across kms/auth-*

Full commit log: v0.5.10...v0.5.11

KMS Release v0.5.11

12 May 03:39

Choose a tag to compare

Highlights

This release fixes a verification regression that prevented KMS from validating CVMs running dstack OS 0.5.10 under the new OVMF (edk2-stable202505).

What broke

OVMF was upgraded from an untagged 2024-09 snapshot to edk2-stable202505 in meta-dstack@f9f11f3. The new firmware emits 17 RTMR[0] events instead of the legacy 13 under the standard -kernel boot path, so quote replay against the cached "expected" measurements failed with errors like:

MRs do not match: RTMR0 mismatch:
  expected=f8438db3…a6640
  actual  =a6d1a5ef…fbed

What changed

  • dstack-types exposes a typed OvmfVariant enum (pre202505 / stable202505); VmConfig.ovmf_variant and ImageInfo.ovmf_variant carry it through the image bundle and into measurements.
  • dstack-mr dispatches on the variant for RTMR[0]. The Stable202505 arm models the 4 new events plus reshaped BootOrder / Boot0000, with Boot0000 / Boot0001 / BootOrder digests derived from first principles (OVMF FV+file GUIDs, descriptions, attributes — synthesised on the fly, not hardcoded) and the bootorder fw_cfg digest derived from QEMU's linuxboot_dma.bin ROM path.
  • dstack-verifier prefers vm_config.ovmf_variant; falls back to parsing the OS version suffix out of vm_config.image for legacy CVMs that pre-date the field (so already-deployed 0.5.9 / 0.5.10 instances validate without any image rebuild).
  • MEASUREMENT_CACHE_VERSION bumped to v2 — stale on-disk cache entries written by the broken verifier are auto-invalidated on first request.
  • dstack-mr CLI: --dstack-os-version for explicit override; also auto-detects from metadata.json's ovmf_variant (preferred) or version field (fallback).

Backward compatibility

  • VmConfig adds Option<OvmfVariant> with #[serde(default, skip_serializing_if = "Option::is_none")] — old wire formats decode cleanly; old KMS instances ignore the new field.
  • Verifier and CLI both fall back to image-name parsing when the field is absent — 0.5.9 / 0.5.10 CVMs already deployed continue to verify against this KMS without needing a new image build.

Verification

Re-verified end-to-end against a running 0.5.10 CVM: MRTD + RTMR[0..3] all match the on-chain quote byte-for-byte.

PR: #678


Docker Image Information

Image: docker.io/dstacktee/dstack-kms:0.5.11

Digest (SHA256): sha256:84b793feed825a5b5e70d04386e931e0e110461492793f17ab2128e39808d989

Verification: Verify on Sigstore

Contract ABIs

This release includes the compiled contract ABIs:

  • DstackKms.json - Main KMS contract ABI
  • DstackApp.json - Application contract ABI

v0.5.10

08 May 13:51

Choose a tag to compare

Changes since v0.5.9

  • KMS: add Prometheus metrics endpoint and enable metrics by default (#657)
  • VMM: disallow ISO rootfs for modern images (#663)
  • SDK: drop hickory-dns from reqwest features (#659)
  • CI: use fork clone_url for Docker build checks on fork PRs (#654)
  • CI: pin rust-toolchain action refs (#661)
  • Dependencies: bump tar, axios, fast-xml-parser, and @aws-sdk/xml-builder (#592, #660, #662)
  • Bump workspace version and lockfile to 0.5.10

Full changelog

v0.5.9...v0.5.10