# 使用 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
- **版本:** 0.2.0
- **来源摘要:** S/MIME signing utility for use with Git
- **主页:** <https://github.com/github/smimesign>
- **仓库:** <https://github.com/github/smimesign>
- **最后更新:** 2026-07-26T04:03:42+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- smimesign (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
