Skip to main content

sign_test_binary

Function sign_test_binary 

Source
pub fn sign_test_binary(path: &Path, identity: Option<&OsStr>)
Expand description

Best-effort macOS signing. The explicit identity wins over CORTEXKIT_TEST_SIGNING_IDENTITY; without either, signing is skipped. Pass Some(OsStr::new("-")) to select ad-hoc signing without a certificate or a signing identity from the user’s keychain. Already-valid signatures are left alone; other platforms do nothing.