Automic VaultAutomic Vault

brew

Install blackbox with Homebrew, apk, apt, dnf, MacPorts, pacman

Safely store secrets in Git/Mercurial/Subversion. Version 1.20220610 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install blackbox

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install blackbox

MacPorts ports tree · x11/blackbox/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add blackbox

Alpine Linux edge package indexes · blackbox · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install blackbox

Debian stable package indexes · blackbox · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install blackbox

Fedora Rawhide package metadata · blackbox · source: dl.fedoraproject.org

Arch Linux pacmanverified · 92%
sudo pacman -S blackbox

Arch Linux sync databases · blackbox · source: geo.mirror.pkgbuild.com

overview

Package summary

Safely store secrets in Git/Mercurial/Subversion

Commands and aliases

  • _blackbox_common.sh
  • _blackbox_common_test.sh
  • _stack_lib.sh
  • blackbox_addadmin
  • blackbox_cat
  • blackbox_decrypt_all_files
  • blackbox_decrypt_file
  • blackbox_deregister_file
  • blackbox_diff
  • blackbox_edit
  • blackbox_edit_end
  • blackbox_edit_start
  • blackbox_initialize
  • blackbox_list_admins
  • blackbox_list_files
  • blackbox_listadmins
  • blackbox_postdeploy
  • blackbox_recurse
  • blackbox_register_new_file
  • blackbox_removeadmin
  • blackbox_shred_all_files
  • blackbox_update_all_files
  • blackbox_view
  • blackbox_whatsnew

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2014: StackExchange/blackbox repository is created.
  • 2010s: BlackBox is used for GPG-encrypted secrets in Git, Mercurial, Subversion, and Puppet-oriented workflows.
  • 2020s: BlackBox is packaged across Homebrew, MacPorts, Linux distributions, Nix, and shell plugin managers.
  • 2022: The current GitHub release history contains v1.20220610.
  • 2020s: Upstream README marks the project abandoned and recommends alternatives.

Related projects

  • The README names git-crypt as a competing project and includes an alternatives section for newer choices.
  • BlackBox overlaps with hiera-eyaml, Ansible Vault, git-crypt, Mozilla SOPS, and cloud KMS-backed secret workflows, but its design is deliberately a small GPG wrapper around files in VCS.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:decrypt

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
$BLACKBOXDATA.blackboxkeyrings/live

executables

Installed executables

CommandKindExposureNote
_blackbox_common.shcliglobal executable
_blackbox_common_test.shcliglobal executable
_stack_lib.shcliglobal executable
blackbox_addadmincliglobal executable
blackbox_catcliglobal executable
blackbox_decrypt_all_filescliglobal executable
blackbox_decrypt_filecliglobal executable
blackbox_deregister_filecliglobal executable
blackbox_diffcliglobal executable
blackbox_editcliglobal executable
blackbox_edit_endcliglobal executable
blackbox_edit_startcliglobal executable
blackbox_initializecliglobal executable
blackbox_list_adminscliglobal executable
blackbox_list_filescliglobal executable
blackbox_listadminscliglobal executable
blackbox_postdeploycliglobal executable
blackbox_recursecliglobal executable
blackbox_register_new_filecliglobal executable
blackbox_removeadmincliglobal executable
blackbox_shred_all_filescliglobal executable
blackbox_update_all_filescliglobal executable
blackbox_viewcliglobal executable
blackbox_whatsnewcliglobal executable

freshness

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

page generated2026-07-08
manager version1.20220610
manager updated2026-06-22
local dataok
upstreamcurrent
latest detectedv1.20220610

https://github.com/StackExchange/blackbox

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:blackbox
Version1.20220610
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/blackbox
Homepagehttps://github.com/StackExchange/blackbox
Repositoryhttps://github.com/StackExchange/blackbox
Upstream docshttps://github.com/StackExchange/blackbox#readme
LicenseMIT
Source archivehttps://github.com/StackExchange/blackbox/archive/refs/tags/v1.20220610.tar.gz
Last updated2026-06-22T14:02:53-07:00
Pulseupdated
Dependenciesgnupg
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameblackbox
Version Scheme1
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

blackbox 0.70.1-39+b3

Window manager for X

https://sourceforge.net/projects/blackboxwm/

sudo apt install blackbox
  • Section: x11
  • Architecture: amd64
  • Source Package: blackbox
  • 6 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Blackbox
Debian stable package indexes · deb.debian.org · Debian stable package indexes: blackbox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbt-dev 0.70.1-39+b3

Blackbox - development library

https://sourceforge.net/projects/blackboxwm/

sudo apt install libbt-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: blackbox
  • 3 dependencies
  • normalized package name match
  • Matched by: Blackbox
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbt-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbt0 0.70.1-39+b3

Blackbox - shared library

https://sourceforge.net/projects/blackboxwm/

sudo apt install libbt0
  • Section: libs
  • Architecture: amd64
  • Source Package: blackbox
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Blackbox
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbt0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

blackbox 0.70.1-39build1

Window manager for X

https://sourceforge.net/projects/blackboxwm/

sudo apt install blackbox
  • Section: universe/x11
  • Architecture: amd64
  • 6 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Blackbox
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: blackbox from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libbt-dev 0.70.1-39build1

Blackbox - development library

https://sourceforge.net/projects/blackboxwm/

sudo apt install libbt-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: blackbox
  • 3 dependencies
  • normalized package name match
  • Matched by: Blackbox
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbt-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libbt0 0.70.1-39build1

Blackbox - shared library

https://sourceforge.net/projects/blackboxwm/

sudo apt install libbt0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: blackbox
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Blackbox
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbt0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

blackbox 1.20220610-r1

Safely store secrets in Git/Mercurial/Subversion

https://github.com/StackExchange/blackbox

sudo apk add blackbox
  • License: MIT
  • Architecture: x86_64
  • Source Package: blackbox
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Blackbox
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: blackbox from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

blackbox 0.77-17.fc45

Very small and fast Window Manager

https://github.com/bbidulock/blackboxwm

sudo dnf install blackbox
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: blackbox
  • 10 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Blackbox
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: blackbox from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

blackbox-devel 0.77-17.fc45

Development files for blackbox

https://github.com/bbidulock/blackboxwm

sudo dnf install blackbox-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: blackbox
  • 5 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Blackbox
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: blackbox-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

blackbox 0.77-3

A window manager for X11

https://github.com/bbidulock/blackboxwm

sudo pacman -S blackbox
  • License: MIT
  • Architecture: x86_64
  • 8 dependencies
  • normalized package name match
  • Matched by: Blackbox
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: blackbox from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

blackbox

sudo port install blackbox
  • normalized package name match
  • Matched by: Blackbox
MacPorts ports tree · api.github.com · MacPorts ports tree: x11/blackbox/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment