Skip to main content

Module commit

Module commit 

Source
Expand description

Git commit SSH signature extraction and verification.

Provides native Rust verification of SSH-signed git commits, replacing the ssh-keygen -Y verify subprocess pipeline.

Structs§

ExtractedSignature
Extracted SSH signature and signed payload from a git commit object.
VerifiedCommit
A successfully verified commit signature.

Functions§

extract_ssh_signature
Extract the SSH signature PEM and signed payload from a raw git commit object.
verify_commit_signature
Verify an SSH-signed git commit against a list of allowed Ed25519 keys.