# 使用 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
- **版本:** 0.1.1
- **来源摘要:** Shamir secret share command-line interface
- **主页:** <https://github.com/dsprenkels/sss-cli>
- **仓库:** <https://github.com/dsprenkels/sss-cli>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.1.1
## 项目历史与用法

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

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

- 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


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