Closed aellison9 closed 3 years ago
More additional info: .gitattributes file at the repo TLD contains the following:
/helm//-stage-secret filter=git-crypt-stage diff=git-crypt-stage /helm//-prod-secret filter=git-crypt-prod diff=git-crypt-prod
.git-crypt directory structure is as follows:
.git-crypt/keys/stage/0/
the .gitattributes file under .git-crypt contains the following:
RTFM
I couldn't for the life of me find documentation surrounding different access levels based upon keys. I knew the answer lay somewhere within our usage across environments.
it is amazing what the -k parameter does for you when you bifurcate your keys.
macOS Catalina 10.15.6
Having an issue trying to add a new gpg user to git-crypt within our repository.
Steps to reproduce:
Results: git-crypt: Error: Unable to open key file - have you unlocked/initialized this repository yet?
Results: Error: this repository is already locked.
Additional information:
I made a backup of the repo and re-cloned from Github. Files in the clone were encrypted. Ran git-crypt unlock and the files were decrypted. Still encountered the issues describe above when trying to add the new user to the newly cloned repo.
Having the same issue in another repo in which we used git-crypt.
Thoughts: For some reason, unlock seems to be failing to flip a flag somewhere at the repo level. Just a guess.
OR something is really weird within my environment setup.