git-crypt

A command-line tool that transparently encrypts selected files in a Git repository.

These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.

About git-crypt

git-crypt encrypts chosen files in a Git repository so they are stored encrypted in commits and on remote hosts, while appearing as normal files in your working copy once the repository is unlocked. You choose which files are encrypted through .gitattributes patterns.

It suits projects that keep a few secrets, such as keys or configuration files, alongside otherwise public code. It is written in C++ and uses OpenSSL.

Strengths

  • Encryption is transparent during normal Git use
  • Encrypt only selected files in a repository
  • Widely used, with a large user base on GitHub

Limitations

  • Command line only
  • Not meant for encrypting a whole repository

Details

Pricing
FreeFree, with source code published on GitHub.
License
Open source, license not stated
Developer
Andrew Ayer
Platforms
Windows, macOS, Linux, Command line
How it runs
Downloadable app
Account
Not required
Works offline
Yes
Best suited for
Keeping a few secrets encrypted inside a Git repository
Last verified
Added
Provenance
Facts checked against the developer's own pages and store listings, 1 sources on file.

Alternatives to git-crypt

Compare all

Software that can replace git-crypt for an important use case, and what changes if you switch.

  • transcrypt

    A shell script that transparently encrypts chosen files stored in a Git repository.

    FreeProprietaryCommand line

    transcrypt also encrypts chosen files on commit and checkout, but it is a shell script relying on a shared password rather than per-user keys, and it is not open source.

git-crypt as an alternative

Listings that name git-crypt as an alternative.

  • Infisical

    Open-source platform for storing and distributing application secrets.

    git-crypt transparently encrypts selected files in a Git repository from the command line, with no service, dashboard, audit logs or Kubernetes operator.

  • Sealed Secrets

    A Kubernetes controller and command-line tool that encrypts Secrets so they can be stored in Git.

    git-crypt transparently encrypts selected files in any Git repository from the command line with no Kubernetes controller. It is not designed around Kubernetes Secrets or GitOps workflows.

  • SOPS

    Encrypts values inside YAML, JSON and env files so they can live in Git.

    git-crypt encrypts whole selected files transparently during normal Git use, instead of encrypting only values inside YAML, JSON and env files.

Similar software

Related functionality, not necessarily a direct replacement.

Report a wrong fact or a dead link on this listing