aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar http://www.dbruhn.de/ <Dominik@web>2012-09-08 16:56:50 +0000
committerGravatar admin <admin@branchable.com>2012-09-08 16:56:50 +0000
commit5df0b86a57c4d9583c58cedcbe1733a6ada23e5b (patch)
tree198808aa651807fa597f4c9468d9846e4e06af57 /doc
parent0c01348b65bb3d0364f90ce9785236fa05985f75 (diff)
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/transferkey_fails_due_to_gpg.mdwn34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/bugs/transferkey_fails_due_to_gpg.mdwn b/doc/bugs/transferkey_fails_due_to_gpg.mdwn
new file mode 100644
index 000000000..93346f31e
--- /dev/null
+++ b/doc/bugs/transferkey_fails_due_to_gpg.mdwn
@@ -0,0 +1,34 @@
+What steps will reproduce the problem?
+Create a new annex, add a new repository:
+ git annex initremote vserver2 type=rsync rsyncurl=vserver.dbruhn.de:/annex encryption=dominik@dbruhn.de
+Add some files, add them to annex, try to transfer them:
+/home/dominik/bin/git-annex transferkey SHA256-s6486446--df84b11a0e9543134224d0ac1e0f2567bcd79d86605117c5af008a1b133cee3a --to vserver2 --file MKBD/OB.mp3 --debug
+
+What is the expected output? What do you see instead?
+I expect the file to be transfered to my remote server. Instead I see a 'gpg>' prompt with nothing happening. When pressing CTRL+C, the following mesage is shown:
+
+gpg: Interrupt caught ... exiting
+
+There must be some faults when interfacing gpg. The other console-output is:
+
+-----
+[2012-09-08 18:50:12 CEST] read: git ["--git-dir=/home/dominik/Annex/.git","--work-tree=/home/dominik/Annex","show-ref","git-annex"]
+[2012-09-08 18:50:12 CEST] read: git ["--git-dir=/home/dominik/Annex/.git","--work-tree=/home/dominik/Annex","show-ref","--hash","refs/heads/git-annex"]
+[2012-09-08 18:50:12 CEST] read: git ["--git-dir=/home/dominik/Annex/.git","--work-tree=/home/dominik/Annex","log","refs/heads/git-annex..245fa80db6733dbbeff6c40d46bd65ed00811548","--oneline","-n1"]
+[2012-09-08 18:50:12 CEST] chat: git ["--git-dir=/home/dominik/Annex/.git","--work-tree=/home/dominik/Annex","cat-file","--batch"]
+(gpg) [2012-09-08 18:50:12 CEST] chat: gpg ["--batch","--no-tty","--use-agent","--quiet","--trust-model","always","--decrypt"]
+[2012-09-08 18:50:12 CEST] chat: gpg ["--batch","--no-tty","--use-agent","--quiet","--trust-model","always","--passphrase-fd","8","--symmetric","--force-mdc"]
+sdgdg
+dsgdgs
+^C
+gpg: Interrupt caught ... exiting
+-----
+
+What version of git-annex are you using? On what operating system?
+git-annex version: 3.20120826
+Ubuntu 12.04, GHC 7.4.1
+gpg is 'gpg (GnuPG) 1.4.11'
+
+Please provide any additional information below.
+
+The key which is used for the remote is password protected. The GnuPG Agent asks me for the password, so this seems to work. I do not know what content the gpg expects but does not recieve.