Skip to main content

dstack-0.6.4

Available on Phala Cloud

0xfeff3645893ad910d4f0e06d8f553cf80a7c9fede2ce0698fa63116283260366
Phala KMS 2026-11
AllowedAllowed
Ethereum KMS
AllowedAllowed
Base KMS
AllowedAllowed

System changelog

Dstack-TEE/dstack@v0.6.4

dstack 0.6.4 introduces KMS root and application key epochs, SealedEnv, and TEE platform allowlists in the KMS contracts. The contracts, auth backend, KMS and guests must be upgraded in a fixed order — see Upgrade notes.

Components

ComponentReleaseImage
Guest OSmkosi-os-v0.6.4os_image_hash: feff3645893ad910d4f0e06d8f553cf80a7c9fede2ce0698fa63116283260366
KMSkms-v0.6.4ghcr.io/dstack-tee/dstack-kms:0.6.4@sha256:3c8746c4a638e0a96e69f19d8830f9c560466ee26e733a5c6c81e6ca2e213784
KMS auth-ethkms-auth-eth-v0.6.4ghcr.io/dstack-tee/dstack-kms-auth-eth:0.6.4@sha256:84f98c0bb4297c608fcea299e93661e97f80289d03771bd6d490968555921090
Gatewaygateway-v0.6.4ghcr.io/dstack-tee/dstack-gateway:0.6.4@sha256:786ebff62700bd5d7e02a340d7f00dcefc8378fb65aed9078ab61e449ab08357
Verifierverifier-v0.6.4ghcr.io/dstack-tee/dstack-verifier:0.6.4@sha256:a55a5d8d409a8b8e99156b17abf31c54a3fe268e7ad7c4241047b9f008a90ccb

Highlights

  • KMS key epochs: root and application keys are versioned by epoch, with epoch-scoped authorization, rotation through onboarding, SealedEnv HPKE environment encryption and automatic environment migration.
  • Contracts: TEE platform allowlists (setAllowAnyTeeVariant, setAllowedTeeVariants); approvals are per epoch.
  • Guests mint self-issued RA-TLS client certificates for KMS calls instead of using the KMS temporary CA.
  • AMD SEV-SNP: key_provider: sev-snp lets a KMS CVM on an AMD host keep its disk and root keys across restarts without SGX.
  • dstack-auth: optional TCB status and advisory allowlists.
  • auth-eth-bun is renamed auth-eth (ghcr.io/dstack-tee/dstack-kms-auth-eth); the Node server, auth-simple and auth-mock are removed.

Upgrade notes

  1. Contracts first. Upgrade the DstackKms and DstackApp proxies (script/Upgrade.s.sol), point setAppImplementation at the new DstackApp, and register the existing roots as root epoch 0 (registerRootEpoch). Several contract functions are removed or replaced by per-epoch forms; see the KMS release notes.
  2. Auth backend. Deploy the 0.6.4 auth-eth; custom webhook backends must serve GET /app/:appId. auth-eth now reads policy at the finalized block.
  3. KMS. A KMS now needs a key handover path to start: the admin listener with TLS and an admin token, or core.onboard.public_key_handover = true. Upgrade every KMS before deploying 0.6.4 guests.
  4. Guests. Register the 0.6.4 os_image_hash on chain, then deploy.

Keep root and app epochs at 0 until every KMS and guest runs 0.6.4.

Full changelog: CHANGELOG.md

Full notes for this version