Automic VaultAutomic Vault

brew

git-crypt を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop でインストール

git-crypt のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install git-crypt

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install git-crypt

MacPorts ports tree · devel/git-crypt/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add git-crypt

Alpine Linux edge package indexes · git-crypt · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install git-crypt

Debian stable package indexes · git-crypt · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install git-crypt

Fedora Rawhide package metadata · git-crypt · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#git-crypt

nixpkgs package indexes · pkgs/by-name/gi/git-crypt/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S git-crypt

Arch Linux sync databases · git-crypt · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install git-crypt

openSUSE Tumbleweed package metadata · git-crypt · ソース: download.opensuse.org

Windows

Scoop確認済み · 92%
scoop install main/git-crypt

Scoop official bucket manifest trees · bucket/git-crypt.json · ソース: api.github.com

概要

パッケージ概要

Enable transparent encryption/decryption of files in a git repo

コマンドとエイリアス

  • git-crypt

履歴

プロジェクトの歴史と使われ方

git-crypt is Andrew Ayer's transparent encryption tool for selected files in a Git repository. It uses Git filters so protected files are encrypted in commits and decrypted in a working tree after the repository is unlocked.

プロジェクトの歴史

The Git history starts in July 2012, and the first release, 0.1, followed in November 2012. The author's project page explains the motivation: protecting secret material in a configuration-management repository while still letting other people inspect and contribute to the non-secret parts.

Version 0.4 in 2014 was a major workflow release: it added optional GPG support, stored the symmetric key inside `.git`, added multiple-key support, introduced `git-crypt status`, and began experimental Windows support. Version 0.5 in 2015 added the man page and improved lock and unlock performance with newer Git versions.

Later releases were maintenance-oriented. Version 0.6 in 2017 added OpenSSL 1.1 support, switched to C++11, honored Git configuration such as `gpg.program`, and added `git-crypt.repoStateDir`. Version 0.7 in 2022 addressed macOS argument-list issues, and version 0.8 in 2025 adjusted OpenSSL support and avoided problematic short GPG key IDs.

採用の歴史

git-crypt became a common answer for repositories that are mostly public or shareable but contain a small number of encrypted secrets. Its README and project page stress graceful degradation: contributors without the key can clone and commit, but cannot read encrypted file contents.

Package-manager adoption is broad for a niche security tool, with packages across Homebrew, Debian and Ubuntu, Fedora-family distributions, MacPorts, Nix, Arch-family repositories, Scoop, and others in the input metadata. That breadth reflects stable CLI demand rather than a large framework ecosystem.

使われ方

Users initialize a repository with `git-crypt init`, mark protected paths in `.gitattributes` with `filter=git-crypt diff=git-crypt`, and unlock after cloning with either GPG keys or an exported symmetric key.

Practitioners use it for secrets that belong beside source or infrastructure code, such as private keys, passwords, API credentials, or environment-specific files. The documentation is explicit about limits: file names, commit messages, symlink targets, and other metadata are not encrypted, and access revocation is not solved for old history.

パッケージ好きにとっての重要性

git-crypt is significant because it turns Git's filter machinery into a packaging-friendly secrets workflow without requiring a service, a custom remote, or a separate encrypted repository. That simplicity made it attractive to developers who wanted secrets-in-repo ergonomics with ordinary Git hosting.

It also has the classic maintainer tradeoffs of a security CLI: OpenSSL compatibility, GPG behavior, Git filter semantics, deterministic encryption constraints, and clear documentation of what is not protected.

タイムライン

  • 2012: Development begins in Git, followed by the 0.1 release.
  • 2014: Version 0.4 adds optional GPG support, multiple-key support, status reporting, and experimental Windows support.
  • 2015: Version 0.5 adds a man page and improves lock and unlock performance.
  • 2017: Version 0.6 adds OpenSSL 1.1 support and switches to C++11.
  • 2022: Version 0.7 fixes macOS and argument-handling issues.
  • 2025: Version 0.8 adjusts OpenSSL support and avoids short GPG key IDs.

Related projects

  • git-remote-gcrypt is named in the README as a better fit for encrypting an entire repository.
  • GnuPG is used by git-crypt's multi-user sharing mode.
  • Git attributes and Git filter drivers are the Git mechanisms that make transparent encryption and decryption work.

セキュリティ状態

リスクレベル: blue

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

リスク分類器

リスク blue · 信頼度 中 · tool

理由

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

信号

  • text:encrypt,decrypt

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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
.gitattributes.git-crypt/

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
git-cryptcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版0.8.0
マネージャ更新日2026-05-25
ローカルデータOK
上流not checked
検出された最新未検出

https://www.agwa.name/projects/git-crypt/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:git-crypt
バージョン0.8.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/git-crypt
ホームページhttps://www.agwa.name/projects/git-crypt/
リポジトリhttps://github.com/AGWA/git-crypt
上流ドキュメントhttps://github.com/AGWA/git-crypt#readme
ライセンスGPL-3.0-or-later
ソースアーカイブhttps://www.agwa.name/projects/git-crypt/downloads/git-crypt-0.8.0.tar.gz
最終更新2026-05-25T16:07:30Z
Pulseupdated
依存関係openssl@4
ビルド依存関係docbook, docbook-xsl
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

git-crypt 0.7.0-0.1+b1

Transparent file encryption in git

https://www.agwa.name/projects/git-crypt

sudo apt install git-crypt
  • Section: vcs
  • Architecture: amd64
  • Source Package: git-crypt
  • 5 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Git Crypt
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-crypt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

git-crypt

nix profile install nixpkgs#git-crypt
  • normalized package name match
  • 一致条件: Git Crypt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/git-crypt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

git-crypt 0.7.0-0.1build3

Transparent file encryption in git

https://www.agwa.name/projects/git-crypt

sudo apt install git-crypt
  • Section: universe/vcs
  • Architecture: amd64
  • 5 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Git Crypt
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: git-crypt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

git-crypt 0.7.0-r0

Transparent file encryption in git

https://www.agwa.name/projects/git-crypt

sudo apk add git-crypt
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: git-crypt
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Git Crypt
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-crypt from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-crypt-doc 0.7.0-r0

Transparent file encryption in git (documentation)

https://www.agwa.name/projects/git-crypt

sudo apk add git-crypt-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: git-crypt
  • normalized package name match
  • 一致条件: Git Crypt
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-crypt-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

git-crypt 0.8.0-2.fc44

Transparent file encryption in git

https://www.agwa.name/projects/git-crypt

sudo dnf install git-crypt
  • License: GPL-3.0-or-later AND X11
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: git-crypt
  • 6 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Git Crypt
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: git-crypt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

git-crypt 0.8.0-1

Transparent file encryption in Git

https://www.agwa.name/projects/git-crypt

sudo pacman -S git-crypt
  • License: GPL3
  • Architecture: x86_64
  • 2 依存関係
  • normalized package name match
  • 一致条件: Git Crypt
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: git-crypt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

git-crypt 0.8.0-1.2

Transparent file encryption in git

https://www.agwa.name/projects/git-crypt/

sudo zypper install git-crypt
  • License: GPL-3.0-or-later
  • Category: Productivity/Security
  • Architecture: x86_64
  • Source Package: git-crypt
  • 5 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Git Crypt
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: git-crypt from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

git-crypt

sudo port install git-crypt
  • normalized package name match
  • 一致条件: Git Crypt
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/git-crypt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/git-crypt

scoop install main/git-crypt
  • normalized package name match
  • 一致条件: Git Crypt
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/git-crypt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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