Interview Prep/Git & GitHub/Security: secrets, signing, access and supply chain

What is `git-crypt` and when would you not use it?

IntermediateProductionSecurity: secrets, signing, access and supply chain
Answer

It transparently encrypts selected files in a repo with a symmetric key shared to users via GPG. It does not hide file names or history metadata, makes diffs useless and key rotation or removing a user requires re-encrypting history. For modern teams SOPS plus a KMS is easier to operate.

All Git & GitHub questions Roadmap: Git & GitHub

More on Security: secrets, signing, access and supply chain