Skip to main content

Crate native_code_sign

Crate native_code_sign 

Source
Expand description

Platform-native code signing.

Wraps native platform tools to sign binaries:

  • [macos]: Apple codesign via ephemeral keychain (for CI) or ad-hoc signing.
  • [windows]: Microsoft signtool.exe with local certificate or Azure Trusted Signing.

Structs§

MacOsSigner
Configuration for identity-based macOS signing.
MacOsSigningSession
An active identity-signing session backed by a shared ephemeral keychain.
WindowsSigner
Configuration for Windows signtool signing.

Enums§

CodesignConfigError
CodesignError
CommandError
Error from running an external command (codesign, security, signtool).
KeychainSetupError
The underlying error during a keychain setup step.
KeychainStep
The step during ephemeral keychain setup that failed.
SignConfigError
SignError
Signer
A configured signer, determined from the environment and target triple.
SigningSession
An active signing session.
SigntoolConfigError
SigntoolError

Functions§

adhoc_sign
Sign a file with an ad-hoc identity (no certificate needed).