| What it is | A simple, modern and secure file encryption tool, format, and Go library | The GNU Privacy Guard: a free, complete implementation of OpenPGP for encrypting and signing data | Simple and flexible tool for managing secrets | Transparent file encryption in git |
| Features | - small explicit keys (
age1...) - multiple recipients and recipient files
- passphrase encryption with autogenerated passphrases
- encrypt to ssh-ed25519 and ssh-rsa public keys
- hybrid post-quantum keys (
age-keygen -pq) - plugins such as age-plugin-yubikey
age-inspect for file metadata- ASCII armor (PEM) output
- All 10 features
| - encrypt and sign files and messages with OpenPGP
- key management with public key directory access
- S/MIME support
- Secure Shell (ssh) support
- command-line interface designed for integration
- frontends and libraries such as Gpg4win and GPGME
| - 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
| - 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
|
| Limitations | - Doesn't decrypt with keys held in ssh-agent: SSH private keys must be given as files
| | | - 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
|