# 使用 Homebrew, Nix 安装 zsign

查看 zsign 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:zsign
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zsign
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#zsign
```

  证据: nixpkgs package indexes: pkgs/by-name/zs/zsign/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:zsign
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/zsign>
- **版本:** 1.1.1
- **来源摘要:** Cross-platform codesigning tool for iOS apps
- **主页:** <https://github.com/zhlynn/zsign>
- **仓库:** <https://github.com/zhlynn/zsign>
- **许可证:** MIT
- **源码归档:** <https://github.com/zhlynn/zsign/archive/refs/tags/v1.1.1.tar.gz>
- **最后更新:** 2026-07-16T10:03:34Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- zsign (cli)
- zsign (别名)

## 依赖

- minizip-ng
- openssl@4

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.1.1
- 管理器更新时间: 2026-07-16
- 本地数据: OK
- 上游仓库: https://github.com/zhlynn/zsign
- 检测到的最新版本: v1.1.1 (当前)
## 项目历史与用法

zsign is a fast cross-platform command-line code-signing tool for iOS apps. It focuses on signing IPA/app bundles with certificates, provisioning profiles, entitlements, and embedded frameworks outside Apple's Xcode GUI workflow.

### 项目历史

The public GitHub repository was created on 2019-09-19. Its README presents zsign as a fast cross-platform iOS code-signing tool and documents command-line signing examples for `.ipa`, `.app`, `.dylib`, and `.framework` targets.

zsign appeared in a tooling niche created by Apple's signing model: iOS apps require valid signatures and provisioning data, but developers, CI systems, jailbreak-adjacent workflows, and enterprise resigning flows often need a scriptable tool rather than a full Xcode-driven build.

### 采用历史

Adoption has been practical and tooling-driven. The repository has substantial GitHub interest for a small native utility, and Homebrew/Nix packaging makes it easier to install on developer machines and CI runners that need repeatable resigning commands.

Because iOS signing is platform-sensitive and operationally finicky, zsign's appeal is not broad consumer usage; it is operators and developers who already have certificates and provisioning profiles and need a concise command-line path.

### 使用方式

Typical usage passes a certificate, mobile provisioning profile, entitlements, and an input IPA or app bundle to `zsign`, producing a resigned output artifact. The README also documents signing embedded dynamic libraries and frameworks, which matters because iOS bundles contain nested code that must be signed consistently.

Package users should treat it as a signing automation tool, not a credential manager. Certificates, private keys, and provisioning profiles remain external inputs supplied by the user or CI environment.

### 为什么软件包爱好者会关心

zsign is package-nerd significant because it packages a piece of mobile-release infrastructure as a small Unix-style CLI. It turns a GUI-heavy Apple platform operation into something package managers can install and scripts can call.

It also sits at an interesting boundary between legitimate CI/app-distribution workflows and more informal IPA resigning ecosystems, so clear package metadata and source provenance matter.

### 时间线

- 2019-09-19: The zhlynn/zsign GitHub repository is created.
- 2020s: zsign becomes available through package managers such as Homebrew and Nix for command-line iOS signing workflows.
- 2026: The GitHub repository remains active, with recent pushes in 2026 according to GitHub metadata.

### Related projects

- Related projects include Apple's codesign, Xcode signing tools, ldid, fastlane sigh/gym, ios-deploy, AltStore-related signing workflows, and mobile provisioning-profile tooling.

### 来源

- <https://api.github.com/repos/zhlynn/zsign>
- <https://developer.apple.com/documentation/technotes/tn3125-inside-code-signing-provisioning-profiles>
- <https://github.com/zhlynn/zsign>
- <https://raw.githubusercontent.com/zhlynn/zsign/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** zsign
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - zsign: normalized package name match | nixpkgs package indexes: pkgs/by-name/zs/zsign/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [openssl@4](https://pkg.so/zh-hans/brew/openssl-4/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ipsw](https://pkg.so/zh-hans/brew/ipsw/) - Shares pkgdb curated category or tags: cli, ios, security.
- [osslsigncode](https://pkg.so/zh-hans/brew/osslsigncode/) - Shares pkgdb curated category or tags: cli, code-signing, security.
- [jsign](https://pkg.so/zh-hans/brew/jsign/) - Shares pkgdb curated category or tags: cli, code-signing, security.
- [ios-class-guard](https://pkg.so/zh-hans/brew/ios-class-guard/) - Shares pkgdb curated category or tags: cli, ios, security.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Shares pkgdb curated category or tags: cli, security.
- [gnutls](https://pkg.so/zh-hans/brew/gnutls/) - Shares pkgdb curated category or tags: cli, security.
- [p11-kit](https://pkg.so/zh-hans/brew/p11-kit/) - Shares pkgdb curated category or tags: cli, security.
- [gnupg](https://pkg.so/zh-hans/brew/gnupg/) - Shares pkgdb curated category or tags: cli, security.
- [jose](https://pkg.so/zh-hans/brew/jose/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, openssl, openssl-4, security, signing.
- [findomain](https://pkg.so/zh-hans/brew/findomain/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cross, cross-platform, openssl, platform.

## Combined YAML source

View the package source record on GitHub. [combined/zsign.yml](https://github.com/mxcl/pkgdb/blob/main/combined/zsign.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
