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

Follow

@turak Totally agree about not including sensitive information in code repos. These would be private (re: not even Github/lab) repos. But I have essentially avoided git for these files because it simply doesn't work. Is there any kind of internal solution that would maintain public encryption, but allow git-like reviewable synchronization of encrypted files?

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.