Skip to content

Commit

Permalink
fixup! docs: Add docs for the KeyId
Browse files Browse the repository at this point in the history
  • Loading branch information
poljar committed Sep 20, 2024
1 parent 50b8fd3 commit d9e9a70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ pub enum KeyError {
///
/// For more details on contributory behavior please refer to the
/// [`x25519_dalek::SharedSecret::was_contributory()`] method.
#[error("At least one of the keys did not have contributory behaviour")]
#[error(
"One or more keys lacked contributory behavior in the Diffie-Hellman operation, \
resulting in an insecure shared secret"
)]
NonContributoryKey,
}

Expand Down

0 comments on commit d9e9a70

Please sign in to comment.