Closed nodesocket closed 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.
client-a
client-b
unlock
Nevermind, found the answer at https://github.com/AGWA/git-crypt/blob/master/doc/multiple_keys.md.
Is it possible to encrypt different files/directories in a single repo with different keys?
i.e.
client-a
uses one key, andclient-b
a different key? When you callunlock
it should decrypt the files that it can given the current gpg secret key. The rest stay encrypted.