Skip to content

Commit

Permalink
collect: 'divviup hpke-config' -> 'divviup collect-credential' (#2231)
Browse files Browse the repository at this point in the history
  • Loading branch information
inahga authored Nov 8, 2023
1 parent dc0a6ae commit e9fdfa4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/src/hpke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ impl HpkeKeypair {
}
}

/// HPKE configuration compatible with the output of `divviup hpke-config generate`.
/// HPKE configuration compatible with the output of `divviup collector-credential generate`.
#[derive(Debug, Clone, PartialEq, Eq, Deserialize)]
pub struct DivviUpHpkeConfig {
id: HpkeConfigId,
Expand Down
2 changes: 1 addition & 1 deletion tools/src/bin/collect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ struct Options {
#[derivative(Debug = "ignore")]
hpke_private_key: Option<HpkePrivateKey>,
/// Path to a JSON document containing the collector's HPKE configuration and private key, in
/// the format output by `divviup hpke-config generate`.
/// the format output by `divviup collector-credential generate`.
#[clap(
long,
help_heading = "DAP Task Parameters",
Expand Down
2 changes: 1 addition & 1 deletion tools/tests/cmd/collect.trycmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ DAP Task Parameters:
[env: HPKE_PRIVATE_KEY]

--hpke-config-json <HPKE_CONFIG_JSON>
Path to a JSON document containing the collector's HPKE configuration and private key, in the format output by `divviup hpke-config generate`
Path to a JSON document containing the collector's HPKE configuration and private key, in the format output by `divviup collector-credential generate`

Authorization:
--dap-auth-token <DAP_AUTH_TOKEN>
Expand Down
2 changes: 1 addition & 1 deletion tools/tests/cmd/collect_fpvec_bounded_l2.trycmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ DAP Task Parameters:
[env: HPKE_PRIVATE_KEY]

--hpke-config-json <HPKE_CONFIG_JSON>
Path to a JSON document containing the collector's HPKE configuration and private key, in the format output by `divviup hpke-config generate`
Path to a JSON document containing the collector's HPKE configuration and private key, in the format output by `divviup collector-credential generate`

Authorization:
--dap-auth-token <DAP_AUTH_TOKEN>
Expand Down

0 comments on commit e9fdfa4

Please sign in to comment.