20 breaking releases

new 0.28.0 Nov 3, 2024
0.27.0 Jan 17, 2024
0.26.0 Nov 17, 2023
0.22.0 Dec 21, 2022
0.10.0 Mar 28, 2022

#20 in macOS and iOS APIs

Download history 1350/week @ 2024-07-18 1145/week @ 2024-07-25 1426/week @ 2024-08-01 2370/week @ 2024-08-08 2228/week @ 2024-08-15 1446/week @ 2024-08-22 1621/week @ 2024-08-29 1715/week @ 2024-09-05 1854/week @ 2024-09-12 1436/week @ 2024-09-19 1985/week @ 2024-09-26 2734/week @ 2024-10-03 2934/week @ 2024-10-10 2818/week @ 2024-10-17 2909/week @ 2024-10-24 3270/week @ 2024-10-31

12,388 downloads per month
Used in 17 crates (6 directly)

MPL-2.0 license

1MB
24K SLoC

apple-codesign

apple-codesign is a crate implementing functionality related to code signing on Apple platforms.

All functionality is implemented in pure Rust and doesn't require any 3rd party or proprietary software nor do we require running on Apple platforms.

We believe this crate provides the most comprehensive implementation of Apple code signing outside the canonical Apple tools. We have support for the following features:

  • Signing Mach-O binaries (the executable file format on Apple operating systems).
  • Signing, notarizing, and stapling directory bundles (e.g. .app directories).
  • Signing, notarizing, and stapling XAR archives / .pkg installers.
  • Signing, notarizing, and stapling DMG disk images.

What this all means is that you can sign, notarize, and release Apple software from anywhere you can get the Rust crate to compile. Linux, Windows, and macOS are officially supported by other operating systems (like BSDs) should work as well.

See the crate documentation at https://docs.rs/apple-codesign/latest/apple_codesign/ and the end-user documentation at https://gregoryszorc.com/docs/apple-codesign/main/ for more.

rcodesign CLI

This crate defines an rcodesign binary which provides a CLI interface to some of the crate's capabilities. To install:

# From a Git checkout
$ cargo run --bin rcodesign -- --help
$ cargo install --bin rcodesign

# Remote install.
$ cargo install --git https://github.com/indygreg/apple-platform-rs --branch main --bin rcodesign apple-codesign

Dependencies

~43–66MB
~1M SLoC