If a GitHub user only has read permissions .i.e. deploy key they cannot disable git-crypt on a repo right? I want to use multiple keys to limit access depending on the user.
For example:
git clone git@github.com:FooInc/AcmeProject.git
cd AcmeProject
git-crypt unlock # decrypts only a select number of encrypted files based on their gpg user
rm -f .gitattributes
git add .
git commit -am "removed .gitattributes"
They don't have access to all decrypted files now do they?
I don't know what "deploy key" means, but if a user can only read - not write - the repository, they can't mess with .gitattributes to disable encryption.
If a GitHub user only has read permissions
.i.e. deploy key
they cannot disable git-crypt on a repo right? I want to use multiple keys to limit access depending on the user.For example:
They don't have access to all decrypted files now do they?