I would like to use git to back-up, vc, and sync everything crucial on my text-based system, but some content, most notably my passwords file, are gpg encypted. This breaks git because reviewing changes essentially produces comparisons of gibberish. Does anyone know a solution for syncing/VC of encrypted data, which won't be only passwords?
@worldsendless maybe not the answer you’re looking for, but adding those files (or the directory) to gitignore might be the best way to go. It’s not a great idea to track passwords in git anyhow, even if they’re encrypted
@turak
As long as the repo is treated as a secret, the https://www.passwordstore.org/ style of using git to track changes to passwords should be fine. An obvious way to protect the repo is to encrypt the directory, e.g. with pass-tomb.
@worldsendless
@Parienve @turak
Wow. Motherload of the ideas I've been looking for! Let me see if I understand the workflow right:
1. create Pass location, in which
2. every file represents one password
3. git-control the whole location, so eg /Pass/.git
Is it a decision of tomb vs git? The tomb bit is the one I'm having a harder time piece together. Tomb encrypts entire directories, right?