Skip to main content

ssh_verify

Function ssh_verify 

Source
pub fn ssh_verify(
    content: &str,
    signature: &str,
    identity: &str,
    allowed_signers_path: &Path,
) -> Result<bool, String>
Expand description

Verify an SSH signature against the message content. Requires an allowed_signers file listing trusted public keys.