Open yujinlim opened 7 years ago
I hand the same issue. git crypt lock
then checkout worked for me for checking out the branch, but can't unlock afterwards
@yujinlim using the method outlined here to resolve this worked for me: https://github.com/AGWA/git-crypt/issues/78#issuecomment-278071567
I hand the same issue.
git crypt lock
then checkout worked for me for checking out the branch, but can't unlock afterwards
This worked for me, thanks @sx5640! Will create an issue suggesting git-crypt lock
gets documented in the README.
I think that git-crypt should actually lock (remove symmetric key) when checking out a different branch. I want to have different branches encrypted with a different key (accessible to different users). When I go from an encrypted branch to non-encrypted and type git crypt init
there the key is already present; I need to do git crypt lock
. Otherwise I could accidentally use the same symmetric key for different user sets.
I have some encrypted file in this
feature/xxx
branch that doesn't exists in my current branch, when i try to checkout to it, it seems there is a failure on filter process of git-crypt. Has anyone encountered this before?