aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar guilhem <guilhem@web>2013-03-08 16:51:51 +0000
committerGravatar admin <admin@branchable.com>2013-03-08 16:51:51 +0000
commitd5bbf23fd439855b4fad93454e445e62f1567285 (patch)
tree3a4a543f1031ac00987f08507e495fee014583a1
parente476e6a2ba1f2b03a84c625baa185a3908c9b8b7 (diff)
-rw-r--r--doc/forum/wishlist:_GnuPG_options.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/forum/wishlist:_GnuPG_options.mdwn b/doc/forum/wishlist:_GnuPG_options.mdwn
index aa11f13ca..4d8bfb401 100644
--- a/doc/forum/wishlist:_GnuPG_options.mdwn
+++ b/doc/forum/wishlist:_GnuPG_options.mdwn
@@ -1,4 +1,4 @@
-[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.]
+[Maybe I should have extented [[this thread|http://git-annex.branchable.com/forum/wishlist:_simpler_gpg_usage/]], but I thought 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 <tt>.gitattributes</tt> 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 <tt>gpg.conf</tt>, but it's somewhat dirty since I do want to use compression in general.
@@ -8,7 +8,7 @@ Here is how I envision the <tt>.git/config</tt>:
</code></pre>
And compression could be enabled on say, text files, with a suitable wildcard in the <tt>.gitattributes</tt> file.
-<pre> <code>*.txt annex.gnupg-options = --s2k-cipher-algo AES256 --s2k-digest-algo SHA512 --s2k-count 8388608 --cipher-algo AES256 --compress-algo zlib
+<pre> <code>*.txt annex.gnupg-options="--s2k-cipher-algo AES256 --s2k-digest-algo SHA512 --s2k-count 8388608 --cipher-algo AES256 --compress-algo zlib"
</code></pre>
This is something I could probably hack on if you think it'd be a worthwhile option ;-)