aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-07-05 09:40:14 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-07-05 09:40:14 -0400
commit182b47d902ead0e3a8acd9f9b7a6201102444bf7 (patch)
tree3b0edb2157f6ebfc773f6425d8db15628a11202d /doc
parent7d13245552e7f87744e4c85ca1efce788684062f (diff)
comment
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/initremote_doesn__39__t_work_in_scripts/comment_1_da93784aa66baad31f86231bf7cdce61._comment22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/bugs/initremote_doesn__39__t_work_in_scripts/comment_1_da93784aa66baad31f86231bf7cdce61._comment b/doc/bugs/initremote_doesn__39__t_work_in_scripts/comment_1_da93784aa66baad31f86231bf7cdce61._comment
new file mode 100644
index 000000000..277a79499
--- /dev/null
+++ b/doc/bugs/initremote_doesn__39__t_work_in_scripts/comment_1_da93784aa66baad31f86231bf7cdce61._comment
@@ -0,0 +1,22 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2016-07-05T13:28:12Z"
+ content="""
+I tried running initremote without a tty, and it worked ok,
+using the following test case:
+
+ #!/bin/sh
+ set -e
+ cd /tmp/r
+ pwd
+ git annex initremote test type=directory directory=../d encryption=hybrid keyid=2512E3C7 --fast --debug >/dev/null
+
+So, I need more information to reproduce this.
+
+It seems likely that, if gpg is trying to read from the tty, it needs to
+prompt for your key's passphrase for some reason. In which case setting
+--batch would only make it fail differently. If you want to script
+something that needs access to your gpg secret key, you need to configure
+gpg to use a gpg agent.
+"""]]