CLI command

probierz restore

Decrypt a protected evidence bundle into an explicit destination.

Invocation#

Shell
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 `f65b755da397f2ec7435eb80ed722aa6017437c1`.

Combined help SHA-256: `4a12655d233812abc29eeebbf3db3065efe3e00288024383f3eef3970d092e94`; binary SHA-256: `d5398832d3ab52c541b1efe979730dea62941ac6197898a20fccfc5d3fca44df`.