Repository navigation
KMS Release v0.6.7
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_timeon (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.
SignCertsigns under the app epoch the CVM's attestation records and writes it into thePHALA_RATLS_APP_EPOCHextension. 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. GetSealedEnvPubKeytakes an optionalapp_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_URLorETH_RPC_URLSis required (nolocalhost:8545fallback), and HTTP redirects are refused.APP_AUTH_URLneeds aDstackKmswithcheckKmsAppPolicy. GetMetafieldskms_contract_address,chain_idandapp_auth_implementationare deprecated in favor ofauth_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 ABIDstackApp.json- Application contract ABI