Skip to content

KMS Release v0.6.7

Choose a tag to compare

@github-actions github-actions released this 01 Dec 16:53

Upgrade notes — read before upgrading

  • SEV-SNP: upgrade the KMS before the VMM and guest images. A 0.6.7 VMM binds the app epoch in MrConfigV3 for every SNP launch with KMS keys, and a KMS 0.6.6 or older rejects that document. SNP guests with secure_time on (the default) also need this KMS. On Intel TDX, a 0.6.6 KMS still serves 0.6.7 guests, without the features below.
  • Certificates follow the measured app epoch. SignCert signs under the app epoch the CVM's attestation records and writes it into the PHALA_RATLS_APP_EPOCH extension. After an app epoch rotation, a running CVM keeps renewing under its boot epoch's policy row until it restarts; once that row is revoked, renewals are denied.
  • GetSealedEnvPubKey takes an optional app_epoch, so the env of a VM pinned to an older app epoch can be sealed. Older KMS ignore it, and vmm-cli then refuses to seal instead of producing an env the guest would reject.
  • auth-eth pins contract reads to a block hash. The RPC endpoint must accept a block hash in eth_call, ETH_RPC_URL or ETH_RPC_URLS is required (no localhost:8545 fallback), and HTTP redirects are refused. APP_AUTH_URL needs a DstackKms with checkKmsAppPolicy.
  • GetMeta fields kms_contract_address, chain_id and app_auth_implementation are deprecated in favor of auth_api_info; they are still filled.

See the dstack v0.6.7 release notes.

Docker Image Information

Image: ghcr.io/dstack-tee/dstack-kms:0.6.7

Digest (SHA256): sha256:693b7c80bad6f759a17f3cc62503eb1ef768852527d448dcfbbb9edb3e8f99f3

Verification: Verify on Sigstore

Contract ABIs

This release includes the compiled contract ABIs:

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