From bd580f035f8cc58a594dd0724631c8b3ee07cab9 Mon Sep 17 00:00:00 2001 From: guilhem Date: Fri, 8 Mar 2013 14:25:20 +0000 Subject: --- doc/forum/wishlist:_GnuPG_options.mdwn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/forum/wishlist:_GnuPG_options.mdwn diff --git a/doc/forum/wishlist:_GnuPG_options.mdwn b/doc/forum/wishlist:_GnuPG_options.mdwn new file mode 100644 index 000000000..aa11f13ca --- /dev/null +++ b/doc/forum/wishlist:_GnuPG_options.mdwn @@ -0,0 +1,14 @@ +[Maybe I should have on [[this thread|http://git-annex.branchable.com/forum/wishlist:_simpler_gpg_usage/]], but I figured I'd make my own since it's perhaps too old.] + +I second Justin and [[his idea|http://git-annex.branchable.com/forum/wishlist:_simpler_gpg_usage/#comment-e120f8ede0d4cffce17cbf84564211c1]] of having per-remote GnuPG options. I'd even go one step further, and propose the option in the .gitattributes file. Indeed by default GnuPG compresses the data before encryption, which doesn't make a lot of sense for git-annex (in my use-case at least); My work-around to save this waste of CPU cycles was to customize my gpg.conf, but it's somewhat dirty since I do want to use compression in general. + +Here is how I envision the .git/config: +
    [annex]
+        gnupg-options = --s2k-cipher-algo AES256 --s2k-digest-algo SHA512 --s2k-count 8388608 --cipher-algo AES256 --compress-algo none
+
+ +And compression could be enabled on say, text files, with a suitable wildcard in the .gitattributes file. +
    *.txt annex.gnupg-options = --s2k-cipher-algo AES256 --s2k-digest-algo SHA512 --s2k-count 8388608 --cipher-algo AES256 --compress-algo zlib
+
+ +This is something I could probably hack on if you think it'd be a worthwhile option ;-) -- cgit v1.2.3