Skip to main content

ssh_sign

Function ssh_sign 

Source
pub fn ssh_sign(content: &str, key_path: &Path) -> Result<String, String>
Expand description

Sign a message body using the user’s SSH key. Uses ssh-keygen -Y sign which is the same mechanism as git commit -S.