diff options
author | 2016-05-10 13:03:56 -0400 | |
---|---|---|
committer | 2016-05-10 13:03:56 -0400 | |
commit | ae8a630b3cfac9ed3ea8c3137619e13ee021071e (patch) | |
tree | 4c28656ee3a81c09b99cfee48844069a7958908b /doc/bugs/annex.gnupg-options_not_used_by_assistant | |
parent | ce8dcc753490e2a51cf86005944a5255520059cf (diff) |
Added annex.gnupg-decrypt-options and remote.<name>.annex-gnupg-decrypt-options, which are passed to gpg when it's decrypting data.
The naming is unofrtunately not consistent, but the gnupg-options
were only used for encrypting, and it's too late to change that.
It would be nice to have a third setting that is always passed to gnupg,
but ~/.gnupg/options can be used to specify such global options when really
needed.
Diffstat (limited to 'doc/bugs/annex.gnupg-options_not_used_by_assistant')
-rw-r--r-- | doc/bugs/annex.gnupg-options_not_used_by_assistant/comment_1_724e68d2980fd28fa39707692bf22520._comment | 19 |
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. +"""]] |