@tashian/tsm
v0.1.10
Published
Touch ID-gated secrets manager for macOS
Maintainers
Readme
tsm
Touch ID-gated secrets manager for macOS. The CLI talks to a small daemon (tsmd) that owns the encrypted vault, the macOS Keychain entry for the master key, and the LocalAuthentication Touch ID prompt.
Install
# npm
npm install -g @tashian/tsm
# bun
bun install -g @tashian/tsm
# pnpm
pnpm add -g @tashian/tsmThis package is a thin shim. The actual binaries are pulled in via optionalDependencies based on your platform — currently only @tashian/tsm-darwin-arm64 (Apple Silicon Macs).
After an upgrade, the running tsmd keeps serving until your sessions all hit their TTL and the daemon has been idle for 30 minutes — at which point it exits and the next tsm command spawns a fresh daemon from the new binary. If you want the new daemon immediately, run tsm daemon stop.
Usage
tsm init # create a new vault
tsm add # add a secret (TUI)
tsm list # list secrets
tsm get GITHUB_TOKEN # print a secret to stdout (rejects writing to a TTY)
tsm run -- ./script.sh # exec a command with secrets in envSee the project README on GitHub for design notes, threat model, and the Claude Code plugin.
Verifying provenance
Every release is built from a tagged commit on GitHub Actions and signed via npm Trusted Publishing (sigstore-backed). To verify before installing:
npm audit signaturesThe corresponding GitHub Release tarball also carries an Artifact Attestation:
gh attestation verify tsm_<version>_darwin_arm64.tar.gz --repo tashian/tsmLicense
MIT — see LICENSE.
