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
Copy file name to clipboardExpand all lines: verifier/README.md
+56-52Lines changed: 56 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,19 @@
1
1
# dstack-verifier
2
2
3
-
A HTTP server that provides CVM (Confidential Virtual Machine) verification services using the same verification process as the dstack KMS.
4
-
5
-
## Features
6
-
7
-
-**TDX Quote Verification**: Uses dcap-qvl to verify TDX quotes
8
-
-**Event Log Verification**: Validates event logs and extracts app information
9
-
-**OS Image Hash Verification**: Uses dstack-mr to ensure OS image hash matches expected measurements
10
-
-**Automatic Image Download**: Downloads and caches OS images automatically when not found locally
11
-
-**RESTful API**: Simple HTTP endpoints for verification requests
3
+
A HTTP server that provides dstack quote verification services using the same verification process as the dstack KMS.
12
4
13
5
## API Endpoints
14
6
15
7
### POST /verify
16
8
17
-
Verifies a CVM attestation with the provided quote, event log, and VM configuration.
9
+
Verifies a dstack quote with the provided quoteand VM configuration. The body can be grabbed via [getQuote](https://github.com/Dstack-TEE/dstack/blob/master/sdk/curl/api.md#3-get-quote).
18
10
19
11
**Request Body:**
20
12
```json
21
13
{
22
14
"quote": "hex-encoded-quote",
23
15
"event_log": "hex-encoded-event-log",
24
16
"vm_config": "json-vm-config-string",
25
-
"pccs_url": "optional-pccs-url"
26
17
}
27
18
```
28
19
@@ -71,11 +62,6 @@ Health check endpoint that returns service status.
71
62
72
63
## Configuration
73
64
74
-
Configuration can be provided via:
75
-
1. TOML file (default: `dstack-verifier.toml`)
76
-
2. Environment variables with prefix `DSTACK_VERIFIER_`
77
-
3. Command line arguments
78
-
79
65
### Configuration Options
80
66
81
67
-`host`: Server bind address (default: "0.0.0.0")
@@ -90,14 +76,16 @@ Configuration can be provided via:
0 commit comments