Skip to content

fix(kms): drop the legacy KMS compose that misses the emSign fixes - #1492

Merged
kvinwang merged 4 commits into
nextfrom
security/emsign-kms-legacy-compose
Oct 28, 2026
Merged

kvinwang merged 4 commits into
nextfrom
security/emsign-kms-legacy-compose

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

dstack/kms/dstack-app/docker-compose.yaml is the KMS example linked from dstack/kms/README.md. It still trusts certificates from the compromised eMudhra/emSign intermediate CAs:

  • kms: built from 78057c97 (2025-01), which locks rustls-webpki 0.102.8 and webpki-roots 0.26.6. It runs in rust:1.92.0, whose ca-certificates 20250419 still has emSign ECC Root CA - G3.
  • helios: built from 5c61864a (native-tls, webpki-roots 0.24/0.26.6) in the same image. It reaches the consensus and execution RPCs over public HTTPS.

#1466 only bumped auth-api in this file.

Changes

  • Delete dstack-app/docker-compose.yaml. No script, workflow or doc other than the README references it.
  • Point the README at compose-dev.yaml (deployed by deploy-to-vmm.sh), which runs the released KMS image built from the pinned builder.

Follow-up

The default KMS/gateway image digests (DEFAULT_KMS_IMAGE in dstack-cli-core, deploy-*.sh) still point at pre-fix releases. Bump them once images with #1463/#1464 are published.

dstack-app/docker-compose.yaml built dstack-kms from commit 78057c9
(2025-01), which locks rustls-webpki 0.102.8 and webpki-roots 0.26.6,
and ran both kms and helios in the rust:1.92.0 image whose
ca-certificates 20250419 still trusts emSign ECC Root CA - G3. helios
(pinned at 5c61864a) also uses native-tls and webpki-roots 0.24/0.26.6
to reach public Ethereum RPCs over HTTPS.

No script or workflow uses this file; deploy-to-vmm.sh deploys
compose-dev.yaml, which runs the released KMS image. Remove the file
and point the README at compose-dev.yaml instead.

Signed-off-by: Kevin Wang <wy721@qq.com>
@kvinwang

Copy link
Copy Markdown
Collaborator Author

#1319 rewrites docker-compose.yaml as the light-client default (prebuilt KMS image, no source builds) and removes compose-dev.yaml. This PR is the interim fix until #1319 lands; whichever merges second keeps #1319's version of the file and README line.

@kvinwang
kvinwang enabled auto-merge October 28, 2026 09:14
@kvinwang
kvinwang merged commit 994cc0a into next Oct 28, 2026
12 checks passed
@kvinwang
kvinwang deleted the security/emsign-kms-legacy-compose branch October 28, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant