Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix 安装 git-secret

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install git-secret

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install git-secret

MacPorts ports tree · devel/git-secret/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add git-secret

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

Debian apt已验证 · 92%
sudo apt install git-secret

Debian stable package indexes · git-secret · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install git-secret

Fedora Rawhide package metadata · git-secret · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#git-secret

nixpkgs package indexes · pkgs/by-name/gi/git-secret/package.nix · 来源: api.github.com

概览

软件包摘要

Bash-tool to store the private data inside a git repo

命令和别名

  • git-secret

历史

项目历史与用法

git-secret is a Bash and GPG tool for storing encrypted private files inside a Git repository. It targets the deployment and configuration problem of keeping secrets versioned with code without committing plaintext values.

项目历史

The GitHub repository was created in 2016 by the sobolevn project, and the documentation frames the tool around GPG public-key access control. The command set grew around `init`, `tell`, `add`, `hide`, `reveal`, `cat`, and access-removal operations.

The changelog records steady hardening of a shell-based security tool: path mappings moved into `.gitsecret/paths/mapping.cfg`, modified-file hiding was added, FreeBSD and BusyBox support improved, Fedora packaging was noted, CI moved across platforms, and the 0.5.0 series added armored-output support and more robust permission handling.

采用历史

git-secret gained a broader footprint than many Git secret tools because it was packaged for Homebrew, Debian-family systems, Fedora/RPM workflows, Alpine, and other downstream repositories. Its documentation also includes CI/CD usage, which made it attractive for deployment pipelines that already rely on Git and GPG.

使用方式

Practitioners initialize `.gitsecret`, add trusted users' public keys with `git secret tell`, mark files with `git secret add`, encrypt them with `git secret hide`, and decrypt them with `git secret reveal` or `git secret cat`. Teams rotate access by removing a person from the keyring and re-encrypting files for the remaining recipients.

为什么软件包爱好者会关心

The package is significant because it is a portable shell implementation of repository-local secret sharing. It appeals to users who want encrypted files to travel with Git history and package managers rather than adopting an external secrets service.

时间线

  • 2016: Public GitHub repository created.
  • 0.2.3: `.gitsecret/paths/mapping.cfg` introduced for tracked secret path metadata.
  • 0.2.6: Fedora package availability noted and FreeBSD/Windows testing work expanded.
  • 0.3.0: BusyBox support and additional GPG behavior handling added.
  • 0.5.0: Armored encrypted output and stronger key-directory permissions added.

Related projects

  • Related technologies include GnuPG, Git hooks, CI/CD secret injection, repository-local encrypted files, and other Git-centered secret-management tools.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
git-secretcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/sobolevn/git-secret

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

安装元数据

软件包元数据

软件包键brew:git-secret
版本0.5.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/git-secret
主页https://sobolevn.me/git-secret
仓库https://github.com/sobolevn/git-secret
上游文档https://github.com/sobolevn/git-secret#readme
许可证MIT
源码归档https://github.com/sobolevn/git-secret/archive/refs/tags/v0.5.0.tar.gz
最后更新2026-06-22T14:03:31-07:00
Pulseupdated
依赖gawk, gnupg
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegit-secret
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

git-secret 0.5.0-1

store encrypted credential inside source code git repository

https://github.com/sobolevn/git-secret

sudo apt install git-secret
  • Section: vcs
  • Architecture: all
  • 4 依赖
  • normalized package name match
  • 匹配方式:Git Secret
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-secret from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

git-secret

nix profile install nixpkgs#git-secret
  • normalized package name match
  • 匹配方式:Git Secret
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/git-secret/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

git-secret 0.5.0-1

store encrypted credential inside source code git repository

https://github.com/sobolevn/git-secret

sudo apt install git-secret
  • Section: universe/vcs
  • Architecture: all
  • 4 依赖
  • normalized package name match
  • 匹配方式:Git Secret
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: git-secret from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

git-secret 0.5.0-r0

A bash-tool to store your private data inside a git repository

https://git-secret.io/

sudo apk add git-secret
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-secret
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Secret
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-secret from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

git-secret-doc 0.5.0-r0

A bash-tool to store your private data inside a git repository (documentation)

https://git-secret.io/

sudo apk add git-secret-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-secret
  • normalized package name match
  • 匹配方式:Git Secret
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-secret-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

git-secret 0.5.0-10.fc44

A bash-tool to store your private data inside a git repository

http://git-secret.io/

sudo dnf install git-secret
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: git-secret
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Secret
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: git-secret from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

git-secret

sudo port install git-secret
  • normalized package name match
  • 匹配方式:Git Secret
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/git-secret/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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment