Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions crates/rite/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ enum Commands {
/// Verify a ceremony transcript's integrity
///
/// Re-checks the append-only hash chain, re-derives the recorded entropy,
/// and, for a run directory, re-hashes the artifacts against their recorded
/// digests and reads each wrapped key back to confirm it was produced the
/// way the transcript says.
/// and, for a run directory or a bundle, re-hashes the artifacts against
/// their recorded digests and reads each wrapped key back to confirm it was
/// produced the way the transcript says. For a bundle, it also checks the
/// index and the ceremony definition, and for a disclosure, that exactly
/// the facts above its level are withheld.
Verify(verify::Args),
/// Create and derive evidence bundles
///
Expand Down
7 changes: 4 additions & 3 deletions crates/rite/src/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ use rite_runtime::read_verified_transcript;

#[derive(ClapArgs, Debug)]
pub struct Args {
/// Transcript file or run output directory
/// Transcript file, run output directory, or evidence bundle
///
/// Accepts a `transcript.jsonl` file or the output directory produced by
/// `rite run` (which contains `transcript.jsonl`).
/// Accepts a `transcript.jsonl` file, or a directory that contains one: the
/// output directory of `rite run`, a bundle from `rite bundle create`, or a
/// disclosure from `rite bundle disclose`.
pub transcript: PathBuf,
/// Output path (`-` for stdout)
///
Expand Down
2 changes: 1 addition & 1 deletion crates/rite/src/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const DRY_RUN_SOURCE: &str = "dry-run";

#[derive(ClapArgs, Debug)]
pub struct Args {
/// Transcript file or run output directory
/// Transcript file, run output directory, or evidence bundle
pub file: PathBuf,
/// Accept a transcript with no terminal fact (an interrupted run)
///
Expand Down
Loading