You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> The SHA-256 of this manifest becomes the **compose-hash**, which is embedded in `mr_config_id` in the TDX quote.
171
-
>
172
-
> **Important:** The `pre_launch_script` is included in the hash. Phala Cloud injects its own prelaunch script (for SSH setup, environment config, etc.). To fully audit, you need the complete `app-compose.json` — fetch it via `phala cvms attestation <app>` or from trust-center's output. See [prelaunch-script](../../prelaunch-script) for the Phala Cloud script source.
173
-
>
174
-
> To verify a remote app matches your local code:
175
-
> 1. Build `app-compose.json` from your docker-compose (attest.sh `compose` does this)
176
-
> 2. Calculate `sha256(app-compose.json)` → your expected compose-hash
177
-
> 3. Get the remote app's quote and extract `mr_config_id`
178
-
> 4. Compare: if `mr_config_id` starts with your compose-hash, the app is running your code
127
+
> The SHA-256 of this manifest is the **compose-hash** in RTMR3.
179
128
>
180
-
> **trust-center vs attest.sh:**
181
-
> - **attest.sh**: You provide compose file + OS version. Fully local — downloads binaries (dcap-qvl, dstack-mr) and OS image from GitHub, calculates measurements, compares with quote. Works against any dstack instance.
182
-
> - **trust-center**: You provide appId/domain. Hybrid — fetches app metadata from Phala Cloud API (`cloud-api.phala.network`) and quote from the app's RPC endpoint, but runs verification (dcap-qvl, dstack-mr) locally. Downloads OS images from GitHub. Easier discovery but relies on Phala Cloud API for app lookup.
129
+
> **Important:** The `pre_launch_script` is included in the hash. Phala Cloud injects its own prelaunch script. To audit, fetch the complete `app-compose.json` via `phala cvms attestation <app>`. See [prelaunch-script](../../prelaunch-script) for the Phala Cloud script source.
183
130
>
184
-
> See [attestation/configid-based](../../attestation/configid-based) for the standalone verification script.
131
+
> For standalone verification that builds app-compose.json locally: [attestation/configid-based](../../attestation/configid-based)
0 commit comments