aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/annex.gnupg-options_not_used_by_assistant/comment_1_724e68d2980fd28fa39707692bf22520._comment
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/annex.gnupg-options_not_used_by_assistant/comment_1_724e68d2980fd28fa39707692bf22520._comment')
-rw-r--r--doc/bugs/annex.gnupg-options_not_used_by_assistant/comment_1_724e68d2980fd28fa39707692bf22520._comment19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/bugs/annex.gnupg-options_not_used_by_assistant/comment_1_724e68d2980fd28fa39707692bf22520._comment b/doc/bugs/annex.gnupg-options_not_used_by_assistant/comment_1_724e68d2980fd28fa39707692bf22520._comment
new file mode 100644
index 000000000..31a1897f6
--- /dev/null
+++ b/doc/bugs/annex.gnupg-options_not_used_by_assistant/comment_1_724e68d2980fd28fa39707692bf22520._comment
@@ -0,0 +1,19 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2016-05-10T16:30:04Z"
+ content="""
+annex.gnupg-options is only used when encrypting content, not when
+decrypting. And it has to decrypt the shared encryption key first,
+so that's why the error shows it was running gpg with --decrypt.
+
+Probable, even if you were able to make it always run gpg with
+--no-tty, it wouldn't help, because gpg needs to prompt for a passphrase.
+
+There should be a way to get gnupg to use gpg-agent, which would let it
+prompt for your password with a dialog box, rather than trying to prompt on
+the terminal. That would work better with the webapp.
+
+I do think there ought to be a config setting that allows passing options
+to gpg when it's decrypting things, and so I'll add something.
+"""]]