macOS
brew install blackboxlocal Homebrew formula metadata
sudo port install blackboxMacPorts ports tree · x11/blackbox/Portfile · source: api.github.com
brew
Safely store secrets in Git/Mercurial/Subversion. Version 1.20220610 via Homebrew; verified 2026-06-22.
install
brew install blackboxlocal Homebrew formula metadata
sudo port install blackboxMacPorts ports tree · x11/blackbox/Portfile · source: api.github.com
sudo apk add blackboxAlpine Linux edge package indexes · blackbox · source: dl-cdn.alpinelinux.org
sudo apt install blackboxDebian stable package indexes · blackbox · source: deb.debian.org
sudo dnf install blackboxFedora Rawhide package metadata · blackbox · source: dl.fedoraproject.org
sudo pacman -S blackboxArch Linux sync databases · blackbox · source: geo.mirror.pkgbuild.com
overview
Safely store secrets in Git/Mercurial/Subversion
history
StackExchange BlackBox is a shell-based secrets-management tool for keeping selected files encrypted inside version-control repositories. It is historically important as a pragmatic pre-cloud-KMS DevOps utility, though the upstream README now marks the project abandoned and warns new users away.
The repository was created in 2014 under StackExchange. The README says BlackBox was originally written for Puppet and later worked with Git, Mercurial, Subversion, Perforce, and even no-VCS cases when the .blackbox directory is intact.
BlackBox wraps GPG so teams do not have to memorize low-level encryption flags. It stores encrypted copies of selected files in the repository, tracks authorized administrators by public key, and provides commands to register files, edit encrypted files, rotate admins, and decrypt files after deployment.
BlackBox became popular enough to be packaged by Homebrew, MacPorts, Debian/Ubuntu, Fedora, Alpine, Arch, pkgsrc, Nix, and shell plugin managers such as Antigen and Zgenom. That breadth reflects how many infrastructure teams wanted a simple Git-compatible way to ship encrypted Puppet, Ansible, certificate, or API-key material before centralized secret stores became common.
The README now opens with an abandonment notice and points users to alternatives. That status is part of its history: BlackBox remains in package managers and old automation, but upstream no longer presents it as a recommended new choice.
A repository is initialized with blackbox_initialize. Users add administrators with blackbox_addadmin, register files with blackbox_register_new_file, edit secrets with blackbox_edit or blackbox_edit_start/blackbox_edit_end, and deploy plaintext copies with blackbox_postdeploy.
BlackBox's metadata normally lives under .blackbox or $BLACKBOXDATA, with keyrings/live used for enrolled public keys. The README emphasizes that it is a simple GPG wrapper for a small number of files, not an enterprise encryption platform.
BlackBox is package-nerd significant because it captures a specific era of infrastructure packaging: secrets were often kept near Puppet or Ansible code, Git was the collaboration substrate, and a pile of shell commands around GPG was acceptable if it made deployments repeatable.
It also shows the lifecycle problem of security tooling in package managers. A widely packaged and still-installable CLI can become abandoned upstream, so curation has to record both historical adoption and current maintenance warnings.
Its command sprawl is notable: the Homebrew formula exposes many blackbox_* executables rather than one subcommand-based binary, a style common in older Unix toolkits and shell-script suites.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$BLACKBOXDATA.blackboxkeyrings/liveexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
_blackbox_common.sh | cli | global executable | |
_blackbox_common_test.sh | cli | global executable | |
_stack_lib.sh | cli | global executable | |
blackbox_addadmin | cli | global executable | |
blackbox_cat | cli | global executable | |
blackbox_decrypt_all_files | cli | global executable | |
blackbox_decrypt_file | cli | global executable | |
blackbox_deregister_file | cli | global executable | |
blackbox_diff | cli | global executable | |
blackbox_edit | cli | global executable | |
blackbox_edit_end | cli | global executable | |
blackbox_edit_start | cli | global executable | |
blackbox_initialize | cli | global executable | |
blackbox_list_admins | cli | global executable | |
blackbox_list_files | cli | global executable | |
blackbox_listadmins | cli | global executable | |
blackbox_postdeploy | cli | global executable | |
blackbox_recurse | cli | global executable | |
blackbox_register_new_file | cli | global executable | |
blackbox_removeadmin | cli | global executable | |
blackbox_shred_all_files | cli | global executable | |
blackbox_update_all_files | cli | global executable | |
blackbox_view | cli | global executable | |
blackbox_whatsnew | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/StackExchange/blackbox
install metadata
| Package key | brew:blackbox |
|---|---|
| Version | 1.20220610 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/blackbox |
| Homepage | https://github.com/StackExchange/blackbox |
| Repository | https://github.com/StackExchange/blackbox |
| Upstream docs | https://github.com/StackExchange/blackbox#readme |
| License | MIT |
| Source archive | https://github.com/StackExchange/blackbox/archive/refs/tags/v1.20220610.tar.gz |
| Last updated | 2026-06-22T14:02:53-07:00 |
| Pulse | updated |
| Dependencies | gnupg |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | blackbox |
| Version Scheme | 1 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
blackbox 0.70.1-39+b3
Window manager for X
https://sourceforge.net/projects/blackboxwm/
sudo apt install blackboxlibbt-dev 0.70.1-39+b3
Blackbox - development library
https://sourceforge.net/projects/blackboxwm/
sudo apt install libbt-devlibbt0 0.70.1-39+b3
Blackbox - shared library
https://sourceforge.net/projects/blackboxwm/
sudo apt install libbt0blackbox 0.70.1-39build1
Window manager for X
https://sourceforge.net/projects/blackboxwm/
sudo apt install blackboxlibbt-dev 0.70.1-39build1
Blackbox - development library
https://sourceforge.net/projects/blackboxwm/
sudo apt install libbt-devlibbt0 0.70.1-39build1
Blackbox - shared library
https://sourceforge.net/projects/blackboxwm/
sudo apt install libbt0blackbox 1.20220610-r1
Safely store secrets in Git/Mercurial/Subversion
https://github.com/StackExchange/blackbox
sudo apk add blackboxblackbox 0.77-17.fc45
Very small and fast Window Manager
https://github.com/bbidulock/blackboxwm
sudo dnf install blackboxblackbox-devel 0.77-17.fc45
Development files for blackbox
https://github.com/bbidulock/blackboxwm
sudo dnf install blackbox-develblackbox 0.77-3
A window manager for X11
https://github.com/bbidulock/blackboxwm
sudo pacman -S blackboxblackbox
sudo port install blackboxsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.