CLI command
probierz restore
Decrypt a protected evidence bundle into an explicit destination.
Invocation#
probierz restore [BUNDLE] [DESTINATION]Required inputs and options#
- `<bundle>` and `<destination>` are required. A 32-byte decryption key is required through `--key-file <path>` or `PROBIERZ_ARTIFACT_ENCRYPTION_KEY_FILE`.
Output and state effects#
Restores verified bundle contents to the destination and writes the result as JSON; the protected bundle remains intact.
Exact refusals#
- Missing paths: `restore needs a bundle and destination`.
- If present without a path, `--key-file` is refused as `--key-file needs a path`.
- Invalid bundle metadata, key mismatch, integrity failure, or unsafe destination content is refused by `restoreBundle`.
Source snapshot#
Generated from the Rust binaries at https://github.com/wisent-ai/probierz.git revision `c589d6917201c31f57e6a7f24522c0d50ae5bd0f`.
Combined help SHA-256: `43f0d9cd136ac2c46ec3eedb2824bd5d6168f235dea4caaa50610c005f40c84a`; binary SHA-256: `7e42c843082863ed265817de90a110a2f27546426a54d372e10009fd665a4d8e`.