Skip to main content

verify_commit_sshsig

Function verify_commit_sshsig 

Source
pub fn verify_commit_sshsig(
    sig_armor: &str,
    signed_payload: &[u8],
    store: &ForgeStore,
) -> Option<CommitSigStatus>
Expand description

Verify an OpenSSH SSHSIG signature over signed_payload against registered keys in store. Returns None if sig_armor is not an OpenSSH signature (e.g., OpenPGP/X.509 — caller should fall back to "Signed (unverified)").