wire-verify
Source: crates/lvcs-net/src/wire/mod.rs.
/// Check that `envelope.sig` is its sender's Ed25519 (`SIGNATURE`)
/// signature over [`signing_input`]; [`WireError::BadSignature`] otherwise.
///
/// # Errors
///
/// [`WireError::BadSignature`] when the sender's key is not an Ed25519
/// public key or the signature does not verify.
pub fn verify(envelope: &Envelope) -> Result<(), WireError> {