| What it is | Transparent file encryption in git | A Kubernetes controller and tool for one-way encrypted Secrets | A secure dotenv, from the creator of dotenv | Simple and flexible tool for managing secrets |
| Features | - transparent encryption on commit and decryption on checkout through git filters
- choose files with .gitattributes patterns (filter=git-crypt diff=git-crypt)
- multi-user access with GPG keys: git-crypt add-gpg-user commits a GPG-encrypted key file
- symmetric key mode: git-crypt export-key and git-crypt unlock /path/to/key, no GPG needed
- git-crypt lock to re-encrypt a working copy
- AES-256 in CTR mode with a synthetic IV from an HMAC-SHA1 of the file: deterministic but semantically secure
- degrades gracefully: people without the key can clone and commit
| - kubeseal CLI encrypts Secrets into SealedSecret resources with the controller's public certificate
- only the controller in the target cluster can decrypt; no backdoor
- strict (default), namespace-wide and cluster-wide scopes
- spec.template sets the generated Secret's type, labels, annotations and immutability, with Sprig functions
- sealing keys renewed every 30 days by default (--key-renew-period); old keys kept
- early key renewal with --key-cutoff-time after a suspected compromise
- kubeseal --re-encrypt, --merge-into, --raw, --validate and offline sealing with --cert
- recovery of sealed secrets from backed-up keys with --recovery-unseal
- All 11 features
| - encrypt .env values with secp256k1
- run any command with decrypted env vars injected
- separate files and keys per environment
- keys in .env.keys, OS keychains, 1Password or Bitwarden
- leak prevention for plaintext secrets
- SDKs for Node.js, Python, Ruby, Rust and PHP
- Armor managed key custody (paid)
- human approvals and audit logs (Armor)
| - encrypts values in YAML, JSON, ENV and INI files, and whole binary files
- age, PGP, AWS KMS, GCP KMS, Azure Key Vault, HuaweiCloud KMS and HashiCorp Vault / OpenBao keys
- creation rules in .sops.yaml
- key groups with Shamir's Secret Sharing thresholds
- exec-env and exec-file to pass secrets to a process
- cleartext diffs in git with a textconv
- publish decrypted or re-encrypted files to S3, GCS or Vault
- extract or set one value in a document tree
|
| Limitations | - Doesn't encrypt file names, commit messages or other metadata: only file contents are encrypted
- No way to revoke access or rotate keys: there's no command to remove a GPG user, and the symmetric key can't be rotated
- Not suited to encrypting a whole repository: the README recommends git-remote-gcrypt for that
- Encrypted files aren't stored as deltas: every change stores the whole encrypted file again
- Windows support is experimental: build it yourself with MinGW, and key files don't get restrictive permissions
| - Doesn't rotate the secrets themselves: renewing the sealing keys leaves existing sealed secrets and the credentials in them unchanged
- Can't decrypt sealed secrets without the controller's private key: there's no backdoor, so you back up the keys yourself
| | |