summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawkzwmw_zyMpZC9_J7ey--woeYPoZkAOgGw <dxtrish@web>2014-02-06 10:59:15 +0000
committerGravatar admin <admin@branchable.com>2014-02-06 10:59:15 +0000
commit8419e2cf7cbd8e28334fc3eac91b64ac5d16cc2a (patch)
treec48d853980975d731a42f58098740087ddac5c27
parent37debe2251026eb7553fc9fbd0bedc78cdbeb762 (diff)
-rw-r--r--doc/bugs/GPG_issues_with_pubkey___40__Again__63____41__.mdwn42
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/bugs/GPG_issues_with_pubkey___40__Again__63____41__.mdwn b/doc/bugs/GPG_issues_with_pubkey___40__Again__63____41__.mdwn
new file mode 100644
index 000000000..c273c7e46
--- /dev/null
+++ b/doc/bugs/GPG_issues_with_pubkey___40__Again__63____41__.mdwn
@@ -0,0 +1,42 @@
+### Please describe the problem.
+When I try to create a megaannex remote with pubkey encryption GPG complains about not finding the public key.
+
+### What steps will reproduce the problem?
+See below
+
+
+### What version of git-annex are you using? On what operating system?
+5.20140129 under OSX.
+
+
+### Please provide any additional information below.
+
+[[!format sh """
+% USERNAME="<username>" PASSWORD='<password>' git annex -vd initremote mega type=external externaltype=mega encryption=pubkey keyid=X folder=Documents mac=HMACSHA512
+[2014-02-06 11:39:14 CET] read: git ["--git-dir=/Users/dxtr/Documents/.git","--work-tree=/Users/dxtr/Documents","show-ref","git-annex"]
+[2014-02-06 11:39:14 CET] read: git ["--git-dir=/Users/dxtr/Documents/.git","--work-tree=/Users/dxtr/Documents","show-ref","--hash","refs/heads/git-annex"]
+[2014-02-06 11:39:14 CET] read: git ["--git-dir=/Users/dxtr/Documents/.git","--work-tree=/Users/dxtr/Documents","log","refs/heads/git-annex..62dc22cced06268fa5adcf54992eb1169c6ca1aa","--oneline","-n1"]
+[2014-02-06 11:39:14 CET] chat: git ["--git-dir=/Users/dxtr/Documents/.git","--work-tree=/Users/dxtr/Documents","cat-file","--batch"]
+initremote mega (encryption setup) [2014-02-06 11:39:14 CET] read: gpg ["--batch","--no-tty","--use-agent","--quiet","--trust-model","always","--with-colons","--list-public-keys","46726B9A"]
+[2014-02-06 11:39:14 CET] read: gpg ["--batch","--no-tty","--use-agent","--quiet","--trust-model","always","--gen-random","--armor","2","256"]
+[2014-02-06 11:39:14 CET] chat: gpg ["--batch","--no-tty","--use-agent","--quiet","--trust-model","always","--recipient","X","--encrypt","--no-encrypt-to","--no-default-recipient","--force-mdc","--no-textmode"]
+(pubkey crypto with gpg key X) [2014-02-06 11:39:15 CET] chat: git-annex-remote-mega []
+[2014-02-06 11:39:15 CET] git-annex-remote-mega --> VERSION 1
+[2014-02-06 11:39:15 CET] git-annex-remote-mega <-- INITREMOTE
+[2014-02-06 11:39:15 CET] git-annex-remote-mega --> GETCONFIG encryption
+[2014-02-06 11:39:15 CET] git-annex-remote-mega <-- VALUE pubkey
+[2014-02-06 11:39:15 CET] git-annex-remote-mega --> GETCONFIG folder
+[2014-02-06 11:39:15 CET] git-annex-remote-mega <-- VALUE Documents
+[2014-02-06 11:39:15 CET] git-annex-remote-mega --> SETCREDS mycreds <username> <password>
+(gpg) [2014-02-06 11:39:15 CET] chat: gpg ["--batch","--no-tty","--use-agent","--quiet","--trust-model","always","--decrypt"]
+[2014-02-06 11:39:15 CET] chat: gpg ["--batch","--no-tty","--use-agent","--quiet","--trust-model","always","--batch","--encrypt","--no-encrypt-to","--no-default-recipient","--force-mdc","--no-textmode"]
+gpg: no valid addressees
+gpg: [stdin]: encryption failed: no such user id
+
+git-annex: user error (gpg ["--batch","--no-tty","--use-agent","--quiet","--trust-model","always","--batch","--encrypt","--no-encrypt-to","--no-default-recipient","--force-mdc","--no-textmode"] exited 2)
+failed
+git-annex: initremote: 1 failed
+
+
+# End of transcript or log.
+"""]]