Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/cvm-agent-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ The server will broadcast on 2 ports:
```

- `/offchain/golden-measurement` [GET]
- Port Availability: 8000
- Port Availability: 7999, 8000
- Generates offchain golden measurements for the current CVM
- **Important Note**: Generated golden measurements are specific to:
- The CVM type (SEV-SNP, TDX)
Expand Down
4 changes: 2 additions & 2 deletions docs/detailed-cvm-walkthrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ To verify that the workload is running a CVM with the expected measurements, the
- If the verifier runs within a TEE environment that is created from our cvm-image, the verifier can use the cvm-agent to verify the collaterals against the published golden measurements:
```bash
# Assuming that the verifier saves the collaterals as collaterals.json:
jq -s '{ golden_measurement: (.[1].golden_measurement | @json), collaterals: (.[0] | @json) }' collaterals.json signed-golden-measurement.json | curl -X POST 127.0.0.1:7999/offchain-verify -H "Content-Type: application/json" -d @-
jq -s '{ golden_measurement: (.[1].golden_measurement | @json), collaterals: (.[0] | @json) }' collaterals.json signed-golden-measurement.json | curl -X POST 127.0.0.1:7999/offchain/verify -H "Content-Type: application/json" -d @-
```
- If the verifier runs outside of a TEE environment, the [cvm-verifier SDK](https://github.com/automata-network/cvm-verifier) can be used to verify the collaterals against the golden-measurement:
```bash
Expand Down Expand Up @@ -434,7 +434,7 @@ This use-case describes the remote attestation flow between two **Confidential V
The **attester workload** replies the verifier workload with its collaterals.

5. **Verify Evidence**
The **verifier workload** calls its **attestation agent** using `/offchain-verify` to perform cryptographic validation and verify trustworthiness.
The **verifier workload** calls its **attestation agent** using `/offchain/verify` to perform cryptographic validation and verify trustworthiness.

#### ✅ Outcome

Expand Down