pub fn ssh_sign(content: &str, key_path: &Path) -> Result<String, String>
Sign a message body using the user’s SSH key. Uses ssh-keygen -Y sign which is the same mechanism as git commit -S.
ssh-keygen -Y sign
git commit -S