AGWA / git-crypt

Transparent file encryption in git
https://www.agwa.name/projects/git-crypt/
GNU General Public License v3.0
8.11k stars 472 forks source link

Encrypt different files/directories in a single repo with different keys #197

Closed nodesocket closed 4 years ago

nodesocket commented 4 years ago

Is it possible to encrypt different files/directories in a single repo with different keys?

i.e.

secrets
├── client-a
│   └── values.secret.yaml
└── client-b
    └── values.secret.yaml

client-a uses one key, and client-b a different key? When you call unlock it should decrypt the files that it can given the current gpg secret key. The rest stay encrypted.

nodesocket commented 4 years ago

Nevermind, found the answer at https://github.com/AGWA/git-crypt/blob/master/doc/multiple_keys.md.