Repository navigation
dstack 0.6.7 measures the app key epoch in RTMR3, MrConfigV3 and KMS-issued certificates, adds a TDX hardware key provider, lets allowed_envs constrain env values, and gives AMD SEV-SNP guests Secure TSC. Read the upgrade notes before upgrading: secure_time now refuses a host-controlled clock, SEV-SNP fleets must upgrade the KMS, gateways and verifiers first, and data disks are no longer migrated across key epochs by default.
Components
| Component | Release | Image |
|---|---|---|
| Guest OS | mkosi-os-v0.6.7 | os_image_hash: e6cd2f2dad00b90830f6e4b647d98056e580590adbf70b3449830c6e69de7ca5 |
| KMS | kms-v0.6.7 | ghcr.io/dstack-tee/dstack-kms:0.6.7@sha256:693b7c80bad6f759a17f3cc62503eb1ef768852527d448dcfbbb9edb3e8f99f3 |
| KMS auth-eth | kms-auth-eth-v0.6.7 |
ghcr.io/dstack-tee/dstack-kms-auth-eth:0.6.7@sha256:6230731b7962a9d35726569d58f074f3a8dd8d0c8abf72de652fa0fbc5ed458d |
| Gateway | gateway-v0.6.7 | ghcr.io/dstack-tee/dstack-gateway:0.6.7@sha256:0a451f243a87a7affaee3fbdc46efa550594a7a5e4408cb7da08819a796d370d |
| Verifier | verifier-v0.6.7 | ghcr.io/dstack-tee/dstack-verifier:0.6.7@sha256:958fcc04e96d6f0325b53a03a3e7177df5d38c6cf13882b2c7ee60ac64d4d78e |
The SDKs are unchanged in this release: Rust, Python and JS stay at 0.6.0, Go at v0.6.1.
Highlights
- The app key epoch is measured. A guest with KMS keys records its app epoch in an
app-epochruntime event right afterkey-provider,SignCertsigns under that measured epoch and writes it into thePHALA_RATLS_APP_EPOCHcertificate extension, and dstack-verifier reports it asapp_epoch. A deployment can pin the app epoch in MrConfigV3 (vmm-cli deploy --app-epoch,update --app-epoch/--no-app-epoch, or the VMM web UI), andGetSealedEnvPubKeyseals an env at that epoch. See Measurement (#1694). key_provider: tdx-seal. A CVM on a TDX host derives its disk key from TDX hardware sealing, bound to the OS, VM configuration and app identity, with no KMS or SGX. See TDX Hardware Key Provider (#1661).allowed_envscan constrain values. An entry may beNAME: spec, such asPORT: int(1..=65535)orNETWORK: /mainnet|testnet/, and the guest refuses to boot on a value that does not match; variables outsideallowed_envsare now rejected (#1649).- Secure TSC for AMD SEV-SNP. With
secure_timeon, the VMM launches SNP guests with Secure TSC so the host cannot skew the guest clock (#1642). - KMS auth-eth. App authorization can be delegated to another service with
APP_AUTH_URLwhile KMS policy stays on chain (#1648), reads can require n of m RPC providers to agree (#1650), contract reads are pinned to a block hash, andGetMetaforwards the backend's info (#1639). - Guest hardening and robustness. The guest authenticates the KMS before sending a launch ticket (#1656), a new
sev-snpdisk is sealed to the running TCB, TDX quotes go to QGS over vsock (about 5 ms instead of 1 s, #1660), legacyInfono longer waits behind quotes (#1659), and a guest agent restart no longer restarts the app (#1687). - Guest image. Landlock is built into the kernel (#1662), the NVIDIA open modules' headers ship for out-of-tree modules (#1655), nvattest is 2026.11.23 (#1646), and Sysbox 0.7.2, CNI plugins 1.10.0 and stargz-snapshotter 0.19.1 fix known CVEs (#1647, #1684-#1686).
Upgrade notes
secure_timerefuses a clock the host controls. It is on unless the app compose setssecure_time: false. Such an app no longer boots on AWS, nor when the clocksource is nottsc. On SEV-SNP it needs QEMU >= 11.2 (not released yet), host kernel >= 6.18, a CPU with Secure TSC, and a KMS and verifier of this release. Apps withsecure_time: falselaunch as before.- SEV-SNP apps with KMS keys: upgrade the KMS, gateways and verifiers first. The VMM binds the app epoch in MrConfigV3 at every SNP launch, asking the KMS for the current one when no pin is set, and older KMS, gateways and verifiers reject that document. A new SNP image does not boot under an older VMM, and the VMM must reach the VM's KMS URLs at every cold start and automatic restart. On Intel TDX, a 0.6.6 KMS still serves 0.6.7 guests, without measured-epoch certificates or pins below the current epoch.
- RTMR3 of KMS apps changes. The
app-epochevent changes the runtime RTMR3 (PCR14 on TPM platforms) of every app with KMS keys. Boot-time measurements are unchanged. - Breaking: data disks are not migrated across key epochs by default. A disk left at older KMS key epochs stops the boot instead; start from a fresh data disk.
requirements.unsafe_allow_disk_migration(manifest version"3") restores migration and is strongly discouraged (#1657). vmm-cli update --composetakes an app compose file,update-envandupdate-app-composeare removed, andupdate --env-fileno longer rewritesallowed_envs(#1654).- auth-eth needs an RPC endpoint that accepts a block hash in
eth_call, andETH_RPC_URLorETH_RPC_URLSmust be set. - GPU apps: accept claims version
4.0in Rego that pinsx-nvidia-gpu-claims-version(#1646). - New guest image. Register the 0.6.7
os_image_hashon chain before deploying it.
Full list of changes: CHANGELOG.md.