Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, pacman 安装 blackbox

查看 blackbox 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install blackbox

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install blackbox

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add blackbox

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

Debian apt已验证 · 92%
sudo apt install blackbox

Debian stable package indexes · blackbox · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install blackbox

Fedora Rawhide package metadata · blackbox · 来源: dl.fedoraproject.org

Arch Linux pacman已验证 · 92%
sudo pacman -S blackbox

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

概览

软件包摘要

Safely store secrets in Git/Mercurial/Subversion

命令和别名

  • _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

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:decrypt

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
_blackbox_common.shcli全局可执行文件
_blackbox_common_test.shcli全局可执行文件
_stack_lib.shcli全局可执行文件
blackbox_addadmincli全局可执行文件
blackbox_catcli全局可执行文件
blackbox_decrypt_all_filescli全局可执行文件
blackbox_decrypt_filecli全局可执行文件
blackbox_deregister_filecli全局可执行文件
blackbox_diffcli全局可执行文件
blackbox_editcli全局可执行文件
blackbox_edit_endcli全局可执行文件
blackbox_edit_startcli全局可执行文件
blackbox_initializecli全局可执行文件
blackbox_list_adminscli全局可执行文件
blackbox_list_filescli全局可执行文件
blackbox_listadminscli全局可执行文件
blackbox_postdeploycli全局可执行文件
blackbox_recursecli全局可执行文件
blackbox_register_new_filecli全局可执行文件
blackbox_removeadmincli全局可执行文件
blackbox_shred_all_filescli全局可执行文件
blackbox_update_all_filescli全局可执行文件
blackbox_viewcli全局可执行文件
blackbox_whatsnewcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.20220610
管理器更新时间2026-06-22
本地数据OK
上游当前
检测到的最新版本v1.20220610

https://github.com/StackExchange/blackbox

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:blackbox
版本1.20220610
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/blackbox
主页https://github.com/StackExchange/blackbox
仓库https://github.com/StackExchange/blackbox
上游文档https://github.com/StackExchange/blackbox#readme
许可证MIT
源码归档https://github.com/StackExchange/blackbox/archive/refs/tags/v1.20220610.tar.gz
最后更新2026-06-22T14:02:53-07:00
Pulseupdated
依赖gnupg
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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