-
Notifications
You must be signed in to change notification settings - Fork 110
Description
As @perost-l14 mentioned in these comments on #78 transcrypt currently does some things that hinder its use for encrypting many and/or large files.
This ticket is to draw out suggested improvements so they don't get lost in the broader discussion in #78.
In particular, as paraphrased by me (@jmurty):
-
encrypted files are Base64 encoded with the
-a
flag toopenssl enc
which takes up more space than binary data. This textual encoding may not be necessary since encrypted content isn't human-readable or diff-able as text. -
adding
-delta
to encrypted file lines in.gitattributes
disables git packing (delta compression) to avoid wasteful work when pushing encrypted files that aren't compressible. Example:*.jpg filter=crypt diff=crypt -delta
Would it make sense to update transcrypt to use binary data instead of base64, and set or recommend -delta
in .gitattributes
by default?
What would be the implications of doing these things, for both new transcrypt'ed repos and existing ones?