You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I first run git-crypt unlock but then I forget to run git-crypt lock back after I'm done and the data stays unencrypted at times. I see it as a security risk.
I was thinking to create a .envrc hook with direnv that calls the unlock command when exiting the directory. I'm not sure how to best implement this though.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I first run
git-crypt unlock
but then I forget to rungit-crypt lock
back after I'm done and the data stays unencrypted at times. I see it as a security risk.I was thinking to create a
.envrc
hook with direnv that calls the unlock command when exiting the directory. I'm not sure how to best implement this though.Is there another (better) way to auto lock?
Beta Was this translation helpful? Give feedback.
All reactions