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 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

Follow

@Parienve @turak passtomb and passwordstore were both new to me. Thanks for the references!

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.