Skip to main content

verify_from_file

Function verify_from_file 

Source
pub fn verify_from_file(binary_path: &Path, signature_path: &Path) -> Result<()>
Expand description

Verify a signature from a detached .sig file.

§Arguments

  • binary_path - Path to the binary to verify
  • signature_path - Path to the detached signature file

§Errors

Returns an error if the signature file cannot be read or verification fails.