# Install sss-cli with Homebrew, Nix

Shamir secret share command-line interface. Version 0.1.1 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#sss-cli.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:sss-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/sss-cli>
- **Version:** 0.1.1
- **Source summary:** Shamir secret share command-line interface
- **Homepage:** <https://github.com/dsprenkels/sss-cli>
- **Repository:** <https://github.com/dsprenkels/sss-cli>
- **License:** MIT
- **Source archive:** <https://github.com/dsprenkels/sss-cli/archive/refs/tags/v0.1.1.tar.gz>
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- secret-share-combine (cli)
- secret-share-split (cli)
- secret-share-combine (alias)
- secret-share-split (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.1.1
- Local data: ok
- Upstream repository: https://github.com/dsprenkels/sss-cli
- Upstream latest detected: v0.1.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://pkg.so/brew/rust/) - Build dependency declared by Homebrew.
- [ssss](https://pkg.so/brew/ssss/) - Shares pkgdb curated category or tags: cli, cryptography, key-splitting, secret-sharing, security.
- [nettle](https://pkg.so/brew/nettle/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [nss](https://pkg.so/brew/nss/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [mbedtls](https://pkg.so/brew/mbedtls/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [argon2](https://pkg.so/brew/argon2/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [openssh](https://pkg.so/brew/openssh/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [libxmlsec1](https://pkg.so/brew/libxmlsec1/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [opensc](https://pkg.so/brew/opensc/) - Shares pkgdb curated category or tags: cli, cryptography, security.
- [libgfshare](https://pkg.so/brew/libgfshare/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, secret, secret-sharing, security.
- [pius](https://pkg.so/brew/pius/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, key, security.
- [ares](https://pkg.so/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)


## Sources

- 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
