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 `f40fa7ed94a028b56b5a59342eaf55982ba5cf7d`.
Combined help SHA-256: `04bab0ac1e9691119efcb70627b534a73431f51bb44ed8ba81d93cc10afd6569`; binary SHA-256: `08424ee2465261eafaa112d13ef05a20ce1fe1b6479e896341e22fbc55e61d3e`.