Function verify_binary_signature
Source pub fn verify_binary_signature(
binary_path: &Path,
signature: &[u8],
) -> Result<()>
Expand description
Verify the ML-DSA signature on a binary file using the embedded release key.
§Arguments
binary_path - Path to the binary to verify
signature - The ML-DSA-65 signature bytes
§Errors
Returns an error if:
- The binary file cannot be read
- The signature format is invalid
- The signature verification fails