From a6e8fd6d1725291840c0d785bae807b33400e309 Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~eythian" Date: Fri, 6 Sep 2013 23:35:37 +0000 Subject: [PATCH] --- .../GPG_can__39__t_handle_some_files.mdwn | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 doc/bugs/GPG_can__39__t_handle_some_files.mdwn diff --git a/doc/bugs/GPG_can__39__t_handle_some_files.mdwn b/doc/bugs/GPG_can__39__t_handle_some_files.mdwn new file mode 100644 index 0000000000..5ae03b0ecb --- /dev/null +++ b/doc/bugs/GPG_can__39__t_handle_some_files.mdwn @@ -0,0 +1,21 @@ +### Please describe the problem. + +It looks like GPG is being used in text mode, or at least isn't overriding the GPG config. + +### What steps will reproduce the problem? + +Have a binary file with long lines, and attempt to copy it into git-annex. + +This will happen: + + $ git-annex copy 09\ Into\ The\ Dissonance.mp3 -t rsync.net_annex + copy 09 Into The Dissonance.mp3 (gpg) (checking rsync.net_annex...) (to rsync.net_annex...) gpg: can't handle text lines longer than 19995 characters + failed + git-annex: copy: 1 failed + +A workaround is to remove "textmode" from your gpg.conf, but git-annex should force this. + +### What version of git-annex are you using? On what operating system? + +7ae625363bcb6e1fc8b3733c1d7814aca05a2368 on Ubuntu 13.04 x86_64 +