Skip to main content

check_novalidate

Function check_novalidate 

Source
pub fn check_novalidate<R: Read>(
    data: &mut R,
    armored_sig: &str,
    namespace: &str,
) -> Result<(), GitwayError>
Expand description

Verifies the cryptographic signature and namespace, but not the signer identity. This matches ssh-keygen -Y check-novalidate.

ยงErrors

Returns GitwayError::signature_invalid on malformed armor, namespace mismatch, or failed cryptographic check.