# 使用 Homebrew, Nix 安装 sss-cli

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

## 安装

```sh
sudo av install brew:sss-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sss-cli
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#sss-cli
```

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

## 软件包事实

- **软件包键:** brew:sss-cli
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sss-cli>
- **版本:** 0.1.1
- **来源摘要:** Shamir secret share command-line interface
- **主页:** <https://github.com/dsprenkels/sss-cli>
- **仓库:** <https://github.com/dsprenkels/sss-cli>
- **许可证:** MIT
- **源码归档:** <https://github.com/dsprenkels/sss-cli/archive/refs/tags/v0.1.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- secret-share-combine (cli)
- secret-share-split (cli)
- secret-share-combine (别名)
- secret-share-split (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.1.1
- 本地数据: OK
- 上游仓库: https://github.com/dsprenkels/sss-cli
- 检测到的最新版本: v0.1.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

sss-cli is a small Rust command-line wrapper around David Sprenkels's SSS library. Its two executables split a secret into Shamir shares and recombine a threshold number of shares.

### 项目历史

The official GitHub repository was created in 2017. The project packages the author's secure Shamir secret-sharing implementation as the `secret-share-split` and `secret-share-combine` commands.

The 0.1.2 change documented in the README moved the cryptographic wrapper to RustCrypto's `crypto-secretbox` crate. The tool adds authenticated encryption so tampered shares are detected when a secret is reconstructed.

### 采用历史

Upstream originally documented installation from a Git branch with Cargo and from a third-party Homebrew tap. The supplied package metadata records later availability in Homebrew and Nix, giving the focused Rust utility conventional Unix package-manager distribution.

### 使用方式

Users pipe a secret into `secret-share-split`, select the number of shares and reconstruction threshold, store each output line separately, and later pipe enough shares into `secret-share-combine`. The commands are stream-oriented and therefore fit shell pipelines without a project configuration file.

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

sss-cli is a compact example of packaging a cryptographic primitive as composable Unix filters. It is notable for exposing secret splitting without a service, account, or credentials store and for distributing the same Rust code through Cargo and system package managers.

### 时间线

- 2017: The official sss-cli GitHub repository was created.
- 2020s: The project became available through Homebrew and Nix in addition to Cargo-based installation.

### Related projects

- The upstream `dsprenkels/sss` library supplies the Shamir secret-sharing implementation wrapped by sss-cli; RustCrypto's `crypto-secretbox` supplies the authenticated-encryption primitive noted in the changelog.

### 来源

- <https://github.com/dsprenkels/sss-cli>
- <https://github.com/dsprenkels/sss-cli#readme>
- source_facts.package-manager


## 安全说明

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:** sss-cli
- **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 - sss-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/ss/sss-cli/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.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [ssss](https://pkg.so/zh-hans/brew/ssss/) - Shares pkgdb curated category or tags: cli, cryptography, key-splitting, secret-sharing, security.
- [nettle](https://pkg.so/zh-hans/brew/nettle/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [nss](https://pkg.so/zh-hans/brew/nss/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [mbedtls](https://pkg.so/zh-hans/brew/mbedtls/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [argon2](https://pkg.so/zh-hans/brew/argon2/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [openssh](https://pkg.so/zh-hans/brew/openssh/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [libxmlsec1](https://pkg.so/zh-hans/brew/libxmlsec1/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [opensc](https://pkg.so/zh-hans/brew/opensc/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [libgfshare](https://pkg.so/zh-hans/brew/libgfshare/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, secret, secret-sharing, security.
- [pius](https://pkg.so/zh-hans/brew/pius/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, key, security.
- [ares](https://pkg.so/zh-hans/brew/ares/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cryptography, rust, security.

## Combined YAML source

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