voltagegpu-cli 2.0.1__tar.gz → 2.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/PKG-INFO +16 -8
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/README.md +292 -284
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/pyproject.toml +7 -6
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/__init__.py +1 -1
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/cli/cmd_account.py +179 -179
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/cli/cmd_misc.py +6 -3
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/cli/vgpu.py +500 -485
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/mcp/__init__.py +1 -1
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/mcp/server.py +351 -344
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/sdk/attest.py +317 -296
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/sdk/catalog.py +163 -163
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/sdk/client.py +240 -240
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/sdk/errors.py +14 -4
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/sdk/fleet.py +220 -220
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/sdk/models.py +336 -336
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/sdk/ssh.py +157 -157
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/sdk/ttl.py +104 -104
- voltagegpu_cli-2.0.1/CHANGELOG.md +0 -166
- voltagegpu_cli-2.0.1/examples/deploy_standard_pod.py +0 -52
- voltagegpu_cli-2.0.1/tests/__init__.py +0 -0
- voltagegpu_cli-2.0.1/tests/conftest.py +0 -130
- voltagegpu_cli-2.0.1/tests/fixtures/ark-milan.pem +0 -37
- voltagegpu_cli-2.0.1/tests/fixtures/bundle.json +0 -822
- voltagegpu_cli-2.0.1/tests/fixtures/manifest.json +0 -11
- voltagegpu_cli-2.0.1/tests/test_cli.py +0 -261
- voltagegpu_cli-2.0.1/tests/test_cli_account.py +0 -156
- voltagegpu_cli-2.0.1/tests/test_client.py +0 -171
- voltagegpu_cli-2.0.1/tests/test_config.py +0 -101
- voltagegpu_cli-2.0.1/tests/test_hardening.py +0 -165
- voltagegpu_cli-2.0.1/tests/test_live.py +0 -42
- voltagegpu_cli-2.0.1/tests/test_models.py +0 -57
- voltagegpu_cli-2.0.1/tests/test_package.py +0 -53
- voltagegpu_cli-2.0.1/tests/test_ssh.py +0 -59
- voltagegpu_cli-2.0.1/tests/test_vgpu_attest.py +0 -252
- voltagegpu_cli-2.0.1/tests/test_vgpu_cli.py +0 -494
- voltagegpu_cli-2.0.1/tests/test_vgpu_mcp.py +0 -205
- voltagegpu_cli-2.0.1/tests/test_vgpu_remote.py +0 -77
- voltagegpu_cli-2.0.1/tests/test_vgpu_ttl.py +0 -61
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/.gitignore +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/LICENSE +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/__main__.py +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/cli/__init__.py +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/cli/cmd_deploy.py +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/cli/cmd_machines.py +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/cli/cmd_pods.py +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/cli/main.py +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/cli/output.py +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/cli/state.py +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/sdk/__init__.py +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/sdk/config.py +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/sdk/remote.py +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/sdk/scripts/snp-proof-in-the-vm.sh +0 -0
- {voltagegpu_cli-2.0.1 → voltagegpu_cli-2.0.3}/volt/sdk/scripts/two-proofs-in-the-vm.sh +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: voltagegpu-cli
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.3
|
|
4
4
|
Summary: VoltageGPU CLI and Python SDK: Confidential VMs (Intel TDX), Confidential CPU (AMD SEV-SNP), standard GPU pods, dedicated machines and sandboxes, with the vgpu command for scripts and AI agents.
|
|
5
5
|
Project-URL: Homepage, https://voltagegpu.com
|
|
6
6
|
Project-URL: Documentation, https://docs.voltagegpu.com/cli
|
|
7
7
|
Project-URL: API reference, https://docs.voltagegpu.com/api-reference
|
|
8
|
-
Project-URL: Source, https://github.com/VoltageGPU/VOLTAGEGPU-CLI/tree/release/
|
|
9
|
-
Project-URL: Changelog, https://github.com/VoltageGPU/VOLTAGEGPU-CLI/blob/release/
|
|
8
|
+
Project-URL: Source, https://github.com/VoltageGPU/VOLTAGEGPU-CLI/tree/release/2.0
|
|
9
|
+
Project-URL: Changelog, https://github.com/VoltageGPU/VOLTAGEGPU-CLI/blob/release/2.0/CHANGELOG.md
|
|
10
10
|
Project-URL: Issues, https://github.com/VoltageGPU/VOLTAGEGPU-CLI/issues
|
|
11
11
|
Author-email: "VoltageGPU (VOLTAGE EI)" <contact@voltagegpu.com>
|
|
12
12
|
License: MIT License
|
|
@@ -59,7 +59,7 @@ Requires-Dist: pytest>=8; extra == 'dev'
|
|
|
59
59
|
Requires-Dist: ruff>=0.6; extra == 'dev'
|
|
60
60
|
Requires-Dist: twine>=5; extra == 'dev'
|
|
61
61
|
Provides-Extra: verify
|
|
62
|
-
Requires-Dist: voltage-verify>=0.
|
|
62
|
+
Requires-Dist: voltage-verify>=0.3.0; extra == 'verify'
|
|
63
63
|
Description-Content-Type: text/markdown
|
|
64
64
|
|
|
65
65
|
# voltagegpu-cli
|
|
@@ -155,13 +155,17 @@ commands). On your own machine:
|
|
|
155
155
|
|
|
156
156
|
```bash
|
|
157
157
|
pip install "voltagegpu-cli[verify]" # installs voltage-verify
|
|
158
|
-
voltagegpu verify bundle.json --offline
|
|
159
158
|
voltagegpu verify bundle.json --challenge <hex-you-issued> --gpus 1
|
|
159
|
+
voltagegpu verify bundle.json --challenge <hex-you-issued> --offline --accept-offline-tcb
|
|
160
160
|
```
|
|
161
161
|
|
|
162
162
|
`voltagegpu verify` runs [voltage-verify](https://pypi.org/project/voltage-verify/),
|
|
163
163
|
which checks the Intel TDX quote up to Intel's root and the NVIDIA GPU
|
|
164
|
-
attestation tokens, without trusting VoltageGPU.
|
|
164
|
+
attestation tokens, without trusting VoltageGPU. Online, the TCB status and
|
|
165
|
+
revocation are checked against Intel's collateral of today. `--offline` uses
|
|
166
|
+
the Intel collateral inside the bundle: the verdict names that limit and the
|
|
167
|
+
exit code is 3, unless `--accept-offline-tcb` (voltage-verify 0.3.0 or later).
|
|
168
|
+
`voltagegpu verify` returns voltage-verify's own exit code.
|
|
165
169
|
|
|
166
170
|
## Scripting
|
|
167
171
|
|
|
@@ -223,8 +227,11 @@ balance` show the balance as hidden: only a full key reads it.
|
|
|
223
227
|
script in the machine (`two-proofs-in-the-vm.sh` for a Confidential VM,
|
|
224
228
|
`snp-proof-in-the-vm.sh` for a Confidential CPU tier, both embedded and pinned
|
|
225
229
|
by SHA-256), copies the archive back and verifies it here: `voltage-verify`
|
|
226
|
-
for Intel TDX + NVIDIA (`pip install 'voltagegpu-cli[verify]'
|
|
227
|
-
|
|
230
|
+
for Intel TDX + NVIDIA (`pip install 'voltagegpu-cli[verify]'`). `--offline`
|
|
231
|
+
verifies without network, with the Intel collateral inside the bundle: the TCB
|
|
232
|
+
and revocation are then not checked against Intel today, so the result stays
|
|
233
|
+
`VERIFIED` but names that limit (`limits` in `--json`) and exits with 10,
|
|
234
|
+
unless `--accept-offline-tcb`. For SEV-SNP: the report is requested at `--vmpl` (0 by
|
|
228
235
|
default, sent as `SNP_VMPL`; if VMPL 0 is refused, the script says so and asks
|
|
229
236
|
again at 1, and the result reports it), REPORT_DATA equals the challenge, the
|
|
230
237
|
report policy forbids debug and its VMPL field is the level requested (the
|
|
@@ -249,6 +256,7 @@ attestation and are refused.
|
|
|
249
256
|
| 7 | unavailable: sold out, over `--max-price`, rate limited, offer closed |
|
|
250
257
|
| 8 | attestation failed |
|
|
251
258
|
| 9 | attestation incomplete, or a local tool is missing (ssh, scp, voltage-verify) |
|
|
259
|
+
| 10 | attestation verified with a limit: `--offline`, TCB and revocation not checked against Intel today (`--accept-offline-tcb` accepts it; local MCP server: `ATTESTATION_LIMITED`) |
|
|
252
260
|
|
|
253
261
|
With `--json`, an error is also printed on stdout as
|
|
254
262
|
`{"error": {"code", "message", "exit_code", ...}}`.
|