macOS
brew install git-secretlocal Homebrew formula metadata
sudo port install git-secretMacPorts ports tree · devel/git-secret/Portfile · 来源: api.github.com
安装
brew install git-secretlocal Homebrew formula metadata
sudo port install git-secretMacPorts ports tree · devel/git-secret/Portfile · 来源: api.github.com
sudo apk add git-secretAlpine Linux edge package indexes · git-secret · 来源: dl-cdn.alpinelinux.org
sudo apt install git-secretDebian stable package indexes · git-secret · 来源: deb.debian.org
sudo dnf install git-secretFedora Rawhide package metadata · git-secret · 来源: dl.fedoraproject.org
nix profile install nixpkgs#git-secretnixpkgs 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 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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
git-secret | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/sobolevn/git-secret
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | git-secret |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
git-secret 0.5.0-1
store encrypted credential inside source code git repository
https://github.com/sobolevn/git-secret
sudo apt install git-secretgit-secret
nix profile install nixpkgs#git-secretgit-secret 0.5.0-1
store encrypted credential inside source code git repository
https://github.com/sobolevn/git-secret
sudo apt install git-secretgit-secret 0.5.0-r0
A bash-tool to store your private data inside a git repository
sudo apk add git-secretgit-secret-doc 0.5.0-r0
A bash-tool to store your private data inside a git repository (documentation)
sudo apk add git-secret-docgit-secret 0.5.0-10.fc44
A bash-tool to store your private data inside a git repository
sudo dnf install git-secretgit-secret
sudo port install git-secret来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.