# 使用 Homebrew, MacPorts, Nix, scoop, winget 安装 smimesign

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

## 安装

```sh
sudo av install brew:smimesign
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install smimesign
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install smimesign
```

  证据: MacPorts ports tree: security/smimesign/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#smimesign
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/smimesign
```

  证据: Scoop official bucket manifest trees: bucket/smimesign.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id GitHub.smimesign -e
```

  证据: Windows Package Manager source index: GitHub.smimesign from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:smimesign
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/smimesign>
- **版本:** 0.2.0
- **来源摘要:** S/MIME signing utility for use with Git
- **主页:** <https://github.com/github/smimesign>
- **仓库:** <https://github.com/github/smimesign>
- **许可证:** MIT
- **源码归档:** <https://github.com/github/smimesign/archive/refs/tags/v0.2.0.tar.gz>
- **最后更新:** 2026-07-26T04:03:42+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- smimesign (cli)
- smimesign (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

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

smimesign is GitHub's S/MIME signing utility for Git commits and tags on macOS and Windows. It matters in CLI packaging because it bridges Git's signing hooks with native X.509 certificate stores instead of requiring GnuPG keys.

### 项目历史

The official README describes smimesign as an S/MIME signing utility compatible with Git, using X.509 certificates from public or internal certificate authorities. It also states that the tool uses keys and certificates already stored in macOS Keychain or Windows Certificate Store.

### 采用历史

The README documents Homebrew installation on macOS and Scoop installation on Windows, while the supplied package metadata also lists MacPorts, Nix, and winget. This made it installable through the same package managers developers already use for Git tooling.

### 使用方式

Users configure Git to invoke smimesign for signing. For Git 2.19 and newer, the README shows setting `gpg.x509.program` to `smimesign` and `gpg.format` to `x509`, either locally per repository or globally for all repositories.

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

Package maintainers care because smimesign is security-sensitive, platform-specific, and tied to native certificate stores and smart cards. It is also a clear example of package managers distributing small developer-security helpers that integrate with a larger tool, Git.

### 时间线

- 2018: First GitHub release returned by the releases API was 0.0.1.
- 2018: README documents the Git 2.19 configuration split for X.509 signing.
- 2021: Repository release list shows v0.2.0-rc1 as the latest listed release.

### Related projects

- The README discusses Git, GnuPG, PKI, S/MIME, macOS Keychain, Windows Certificate Store, smart cards, OpenSC, and YubiKey PIV tooling.

### 来源

- GitHub releases API for github/smimesign: first listed release 0.0.1 on 2018-09-11.
- <https://github.com/github/smimesign README: purpose, platform support, certificate stores, Git configuration, package-manager installation, smart-card notes.>
- input source_facts.package-manager: Homebrew, MacPorts, Nix, Scoop, and winget package names.


## 安全说明

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:** smimesign
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Nix - smimesign: normalized package name match | nixpkgs package indexes: pkgs/by-name/sm/smimesign/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - smimesign: normalized package name match | MacPorts ports tree: security/smimesign/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/smimesign: normalized package name match | Scoop official bucket manifest trees: bucket/smimesign.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - GitHub.smimesign: normalized package name match | Windows Package Manager source index: GitHub.smimesign from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [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.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [libksba](https://pkg.so/zh-hans/brew/libksba/) - Shares pkgdb curated category or tags: cli, cryptography, security, smime, x509.
- [step](https://pkg.so/zh-hans/brew/step/) - Shares pkgdb curated category or tags: certificates, cli, cryptography, security, x509.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Shares pkgdb curated category or tags: certificates, cli, cryptography, security.
- [p11-kit](https://pkg.so/zh-hans/brew/p11-kit/) - Shares pkgdb curated category or tags: certificates, cli, cryptography, security.
- [mbedtls](https://pkg.so/zh-hans/brew/mbedtls/) - Shares pkgdb curated category or tags: cli, cryptography, security, x509.
- [openssl@4](https://pkg.so/zh-hans/brew/openssl-4/) - Shares pkgdb curated category or tags: certificates, cli, cryptography, security.
- [openssl@3.5](https://pkg.so/zh-hans/brew/openssl-3-5/) - Shares pkgdb curated category or tags: certificates, cli, cryptography, security.
- [botan](https://pkg.so/zh-hans/brew/botan/) - Shares pkgdb curated category or tags: cli, cryptography, security, x509.
- [gimmecert](https://pkg.so/zh-hans/brew/gimmecert/) - Security-sensitive metadata or terminology overlaps. Shared terms: certificates, cli, cryptography, security, x509.
- [showcert](https://pkg.so/zh-hans/brew/showcert/) - Security-sensitive metadata or terminology overlaps. Shared terms: certificates, cli, cryptography, security, x509.
- [certigo](https://pkg.so/zh-hans/brew/certigo/) - Security-sensitive metadata or terminology overlaps. Shared terms: certificates, cli, security, x509.

## Combined YAML source

View the package source record on GitHub. [combined/smimesign.yml](https://github.com/mxcl/pkgdb/blob/main/combined/smimesign.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
