summaryrefslogtreecommitdiff
path: root/doc/todo/wishlist:_GnuPG_options.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-11 02:07:04 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-11 02:07:04 -0400
commitc7041e0bd171832114182a2ba5d10ab6cd1723d6 (patch)
treeea7e8f48669a5344acd8d2cb1b1ad3458f5a3bc8 /doc/todo/wishlist:_GnuPG_options.mdwn
parent117fe402f5d931060f02a446aeb74da3530a8f17 (diff)
moved all wishlist stuff out of the forum; and closed a bunch of themmoved
all wishlist stuff out of the forum; and closed a bunch of themmoved all wishlist stuff out of the forum; and closed a bunch of themmoved all wishlist stuff out of the forum; and closed a bunch of themmoved all wishlist stuff out of the forum; and closed a bunch of themmoved all wishlist stuff out of the forum; and closed a bunch of themmoved all wishlist stuff out of the forum; and closed a bunch of themmoved all wishlist stuff out of the forum; and closed a bunch of themmoved all wishlist stuff out of the forum; and closed a bunch of them
Diffstat (limited to 'doc/todo/wishlist:_GnuPG_options.mdwn')
-rw-r--r--doc/todo/wishlist:_GnuPG_options.mdwn14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/todo/wishlist:_GnuPG_options.mdwn b/doc/todo/wishlist:_GnuPG_options.mdwn
new file mode 100644
index 000000000..4d8bfb401
--- /dev/null
+++ b/doc/todo/wishlist:_GnuPG_options.mdwn
@@ -0,0 +1,14 @@
+[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.
+
+Here is how I envision the <tt>.git/config</tt>:
+<pre> <code>[annex]
+ gnupg-options = --s2k-cipher-algo AES256 --s2k-digest-algo SHA512 --s2k-count 8388608 --cipher-algo AES256 --compress-algo none
+</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"
+</code></pre>
+
+This is something I could probably hack on if you think it'd be a worthwhile option ;-)