This commit is contained in:
parent
c7fe67a592
commit
48efaa3223
1 changed files with 42 additions and 0 deletions
42
doc/bugs/GPG_issues_with_pubkey___40__Again__63____41__.mdwn
Normal file
42
doc/bugs/GPG_issues_with_pubkey___40__Again__63____41__.mdwn
Normal file
|
@ -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.
|
||||
"""]]
|
Loading…
Reference in a new issue