Re:Ask HN: Does versioning an encrypted file in a git repo m...
by mifchip on Monday May 13, 2013 @07:10AM
(#5698061)
Depends on algorithm. Do not store binary data in GIT, make separate archive with binary files if you need them.
[ Parent
| on HN ]
Re:Ask HN: Does versioning an encrypted file in a git repo m...
by 616c on Monday May 13, 2013 @07:30AM
(#5698108)
To follow up on what mifchip said, binary data can possibly be quite large, and git-annex was designed to manage files in git and create syncing mechanisms without the disk space and overhead of managing the file contents inside said git repo. I would recommend that over using straight git, as it also has options for encryption which might simplify the workflow or make things more transparent. Again, ask around for better info regarding how versioning the file can be used by an adversary (it does depend on the encryption algorithm and implementation, YMMV), but this might be a more suitable solution for you.