-
-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UX flow idea: automatic, without .secrets clutering your directory. #1087
Comments
Hm, I am not sure about how we can potentially integrate this. Providing an option? This option should be stored somewhere. Or we should detect where the files are and how to store them. Do you have any ideas about it? |
I understand, I just wanted to write out what the ideal workflow would be, no intention to force change, just share thoughts :)
I think you may have the perfect API in place for what I'm suggesting, so concerns can remain separated and use what already is git-secret for it's API Imagine we have computer-a with the following repo:
same repo on computer-b
Then I decide to mark I still have the same structure.
An encrypted file serves no purpose while it's encrypted so it's just clutter when I browse the folder or list its content.
Note the original filename and path can be obfuscated or directly encrypted in an sqlite db where you have all your files:
Then some hooks are added to the git repo: When you push, it ensures Then on computer-b you pull and on your you get:
Of course git is not going to play very well with this, but I'm pretty sure this can be sorted in the future keeping an encrypted version control log. Ideally a |
Hello,
I was testing this project and I liked it, however, I think it would benefit from a more automatic workflow, I'd want to be able to:
~/.gitsecrets/*
that doesn't pollute my original directory with 2 versions.I know this may not be feasible and/or out of the scope of the project, feel free to discuss. Note that the automatic flow and the secrets being stored in a parallel path are 2 independent ideas that may be individually implemented if the other is not viable, or obviously to make it easier to implement divided in 2 tasks.
Further study:
git-crypt may be similar, but never used and seems abandoned.
The text was updated successfully, but these errors were encountered: