For a git secrets encryption tool, the first results are stackexchange/blackbox (Blackbox is a GPG-based secret management tool that integrates with Git to encrypt sensitive files for safe storage and automatically decrypt them for authorized users, making it a direct fit for the visitor's requested encrypted-Git-secrets-manager category), agwa/git-crypt (git-crypt is a transparent encryption layer for Git that automatically encrypts specified files on commit and decrypts them on checkout, covering the core workflow you described with support for both symmetric and asymmetric key management) and sobolevn/git-secret (git-secret is a bash tool that encrypts files with GPG and stores them safely inside a Git repository, decrypting on checkout — it directly matches your need for a Git-integrated encrypted secrets manager with multiple key support). getsops/sops and cryptomator/android round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
These utilities encrypt sensitive credentials and configuration files before they are committed to version control.
Blackbox is a GPG secret management tool and asymmetric encryption wrapper used to securely store and share sensitive files within version control systems like Git, Mercurial, or Subversion. It functions as a version control secret store that encrypts files for safe storage at rest while allowing authorized users and machines to decrypt them. The system distinguishes itself by integrating directly with version control to provide plaintext diff and log visualization of encrypted files. It supports multi-recipient encryption and automated secret decryption via passphrase-less GPG subkeys, enabl
Blackbox is a GPG-based secret management tool that integrates with Git to encrypt sensitive files for safe storage and automatically decrypt them for authorized users, making it a direct fit for the visitor's requested encrypted-Git-secrets-manager category.
git-crypt is a transparent cryptography layer and secret manager for Git repositories. It encrypts specific files so they remain as ciphertext on remote servers while appearing as plaintext in local directories. The tool uses Git attributes to define the scope of files and directories targeted for encryption. It supports both symmetric secret key encryption for shared access and asymmetric public key encryption to control decryption permissions among multiple collaborators. The system automates the encryption and decryption process through hook-based filters that trigger during commit and ch
git-crypt is a transparent encryption layer for Git that automatically encrypts specified files on commit and decrypts them on checkout, covering the core workflow you described with support for both symmetric and asymmetric key management.
git-secret is a command line tool and Bash encryption utility used to manage sensitive configuration files and passwords within Git repositories. It enables version controlled secret storage by encrypting files with GPG public keys, ensuring that sensitive data can be committed to a repository without exposing plaintext. The tool utilizes a PGP encryption workflow to control access through a managed keyring of authorized public keys. This allows for the granting and revocation of decryption permissions for specific users. To prevent accidental data leaks, it automatically integrates with Git
git-secret is a bash tool that encrypts files with GPG and stores them safely inside a Git repository, decrypting on checkout — it directly matches your need for a Git-integrated encrypted secrets manager with multiple key support.
This tool is a command-line utility designed to manage sensitive data by encrypting specific values within structured files such as YAML or JSON. By protecting only the sensitive portions of a file while leaving the structure intact, it ensures that configuration files remain readable for version control systems and automated workflows. The utility provides a secure development workflow by transparently decrypting files into memory for editing and automatically re-encrypting them upon saving, which prevents plaintext secrets from being written to the local disk. It supports a variety of encry
SOPS encrypts individual values inside structured config files for secure storage, which is often used alongside Git, but it lacks built-in Git-hook integration, automatic checkout decryption, and plaintext-in-.gitignore enforcement that a dedicated git-encrypted secrets manager typically provides.
Cryptomator offers multi-platform transparent client-side encryption of your files in the cloud.
Cryptomator encrypts files for cloud storage but does not integrate with Git for automatic encryption/decryption on checkout, making it a neighbouring tool rather than a dedicated Git secrets manager.
Dotenv is a configuration management library designed to load environment variables from local files into the process environment. By separating application settings from source code, it enables developers to maintain consistent configurations across different deployment stages and team environments. The utility provides mechanisms to transform plain text configuration files into encrypted formats, allowing sensitive secrets to be stored securely within version control systems. It handles the parsing and normalization of key-value pairs, ensuring that configuration data is consistently proces
dotenv is a library for loading environment variables from files, not a dedicated tool that encrypts secrets in a git repo and decrypts them on checkout—it lacks built‑in git hooks and per‑file encryption workflows.
gopass is a terminal-based password manager and GPG secret store used for generating, storing, and retrieving encrypted credentials. It functions as a collaborative secret manager that encrypts data using GPG or age and synchronizes it across devices and teams using Git. The system distinguishes itself by treating version control repositories as the primary storage backend, enabling secure secret sharing and version history for credentials. It utilizes a hierarchical directory structure to organize secrets on the filesystem and supports multi-store mounting to combine multiple independent rep
gopass is a password manager that syncs encrypted secrets via Git, but it stores them in a separate store rather than encrypting files inside your project repository with automatic decryption on checkout as this search requires.
gocryptfs is a FUSE-based encrypted filesystem that transparently encrypts and decrypts file contents and filenames on disk. It uses block-level authenticated encryption with AES-GCM or AES-SIV-512, binding each block to its file header and offset for integrity, while obfuscating filenames with EME or AES-SIV wide-block ciphers using per-directory initialization vectors. The system derives all encryption keys and initialization vectors deterministically from a master key using HKDF and SHA256, enabling reproducible ciphertext for reliable backup and synchronization workflows. The project dist
gocryptfs is a FUSE-based encrypted filesystem that transparently encrypts files on disk, but it lacks built-in Git integration, pre-commit hooks, or decryption-on-checkout features—it's a general-purpose encryption layer, not a tool designed specifically for committing and syncing encrypted secrets in a Git repository.
dotenvx is a cross-platform command-line tool that encrypts .env files using public-key cryptography and decrypts them at runtime, injecting the plaintext secrets into a process environment before execution. It treats encrypted environment files as self-contained vaults that are loaded and decrypted entirely in memory each time a command runs. What sets dotenvx apart is its ability to armor the private decryption key itself with a passphrase, allowing that key to be stored remotely and retrieved only when decryption is needed. A single encrypted vault file can be bound to multiple per-envir
dotenvx encrypts .env files for version control but decrypts them at runtime (when a command runs), not transparently on checkout, which is a different workflow from the Git-integrated checkout decryption you are looking for.
Gaia is a polyglot pipeline orchestrator and continuous integration and delivery automation platform. It functions as a multi-language workflow engine that coordinates the movement and transformation of data by executing tasks written in different programming languages through a dependency graph. The platform distinguishes itself with a visual pipeline configurator for mapping function arguments via a management portal and a secure secret manager that uses ciphers to encrypt passwords and tokens. It further automates the software lifecycle by cloning repositories and recompiling applications
Gaia is a CI/CD pipeline orchestrator with a built-in secret manager that encrypts credentials, but it is not a tool for transparently encrypting individual files in a Git repository so they stay safe on commit and decrypt on checkout — it focuses on pipeline automation rather than file-level Git encryption.
Sops is a secrets encryption tool designed to encrypt and decrypt sensitive values within configuration files. It functions as a manager for secrets that integrates with cloud key vaults and PGP keys to secure data stored in version-controlled files. The tool utilizes structure-preserving encryption to encrypt individual values while keeping the overall file format and non-sensitive keys intact. It employs a KMS-backed encryption model, interfacing with external key management services from AWS, GCP, and Azure to handle cryptographic operations without exposing private keys locally. The proj
Mozilla sops encrypts individual values in configuration files using cloud KMS or PGP, but it does not automatically encrypt files on commit and decrypt on checkout via Git filters—the core workflow this search asks for.
Libsodium is a portable, C-based cryptographic library that provides a collection of modern primitives for encryption, decryption, digital signatures, password hashing, and secure key exchange. It is designed to facilitate secure communication and data integrity across diverse hardware architectures and operating systems. The library distinguishes itself by utilizing constant-time primitive execution to prevent side-channel attacks and employing memory-hard algorithms to increase the difficulty of brute-force password attacks. It abstracts complex mathematical operations into simplified inter
Libsodium is a low-level cryptographic library that provides encryption primitives, but it does not integrate with Git to automatically encrypt and decrypt files on checkout — you would need to build a tool around it to meet this query.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| stackexchange/blackbox | 6.8K | Go | MIT | |
| agwa/git-crypt | 10K | C++ | GPL-3.0 | |
| sobolevn/git-secret |
| 4K |
| Shell |
| MIT |
| getsops/sops | 22.1K | Go | MPL-2.0 |
| cryptomator/android | 1.1K | Kotlin | GPL-3.0 |
| motdotla/dotenv | 20.3K | JavaScript | bsd-2-clause |
| gopasspw/gopass | 6.9K | Go | MIT |
| rfjakob/gocryptfs | 4.8K | Go | MIT |
| dotenvx/dotenvx | 5K | JavaScript | bsd-3-clause |
| gaia-pipeline/gaia | 5.2K | Go | Apache-2.0 |