Dstack spike — boot the universal image in a CVM, verify the chain end-to-end
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 15/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- cloud, docker, github, typescript
- Ambito
- infrastructure, security
Direzione di ricerca
Start with ADR 0027 and the deploy train that produces BOS_IMAGE_DIGEST; issue #490 must land first. The spike requires provisioning a Phala Dstack TDX CVM, booting the pinned universal image, and checking attestation, trustless verification, and in-CVM TLS. Record the Path B feasibility verdict and findings in ADR 0027, then update its status.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Blocked by: #490 (ADR 0027 must exist first)
What to build
A throwaway spike proving the confidential verified-serving tier (ADR 0027) end to end: deploy the universal image to a testnet Phala Dstack CVM and verify the full chain of trust. Output is spike notes appended to ADR 0027 and a go/no-go on its strong version — then promote the ADR to Accepted or amend it.
Steps
- Prereqs (human-side): Phala Cloud account + TDX CVM provisioning; decide instance sizing. No platform code changes expected — the universal image is already the right artifact.
- Boot Path A first (self-contained): build/push a testnet image whose compose pins the GHCR digest (the deploy train already produces
BOS_IMAGE_DIGEST); stage the tenant namespace so the instance boots self-contained; run it in the CVM withBOS_ACCOUNT/BOS_GATEWAYenv. - Verify the chain:
- compose-hash (RTMR3) ↔ pushed GHCR digest ↔ the exact bytes CI built
/.well-known/attestationreturns quote + event log + VM config; nonce freshness viareportDataworks- Trustless verification locally with
dcap-qvl/dstack-verifier(not just Phala's hosted API) - TLS terminated inside the CVM (ZT-TLS pattern): enclave-held ACME keys,
/evidences/bound to the quote, CAA records set
- Go/no-go: config-hash runtime-data binding (Path B's anchor). Can the enclave report the resolved FastKV config hash (+ registry height) in runtime data, and hard-gate CDN-fetched bundles against the config's SRI pins? If awkward, record the fallback: Path A-only verification (compose-hash ↔ digest, no config binding).
- Write up: append spike notes to ADR 0027 with findings, friction points, and the Path B verdict; update the ADR Status (Proposed → Accepted, or amend). Flag future work:
bos deploy --confidential,bos verify <domain>, on-chain DCAP verification, FastKV-published measurement allowlist.
Acceptance criteria
- Universal image boots in a testnet Dstack CVM, self-contained, identity-driven (
BOS_ACCOUNT/BOS_GATEWAY) - Compose-hash verified against the pushed GHCR digest
-
/.well-known/attestationverified trustlessly (localdcap-qvl/dstack-verifier), nonce-fresh - TLS termination inside the CVM with evidence binding demonstrated
- Path B (config-hash runtime-data binding + in-enclave SRI pin gating) verdict recorded: feasible or fallback
- Spike notes appended to ADR 0027; Status updated
- Lingua principale
- TypeScript
- Stelle
- 5
- Fork
- 3
- Merge medio
- 10h 12m
- PR unite (30g)
- 102
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NEARBuilders/everything-dev
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NEARBuilders/everything-dev#400 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
NEARBuilders/everything-dev#531 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
NEARBuilders/everything-dev#526 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
NEARBuilders/everything-dev#518 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs-triage
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
NEARBuilders/everything-dev#496 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di NEARBuilders/everything-dev
Issue simili
-
ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
xavxyz/bei-shan-lin-shui#57 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] rag: sentence content can cross the reported sentence boundariesForse già presa @LJK-ikun l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
README: the Resource URI Schemas example's file://documents/* pattern only matches that literal URIAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
platformatic/mcp#361 ·
I maintainer di solito rispondono entro 1 giorno
-
最近文档这个弹窗,左右宽度没有最小宽度限制Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
siyuan-note/siyuan#20799 · 7 commenti ·
I maintainer di solito rispondono entro 1 giorno