This commit is contained in:
lex 2014-07-13 06:52:38 +00:00 committed by admin
parent a384c61d57
commit 48868f5b01

View file

@ -0,0 +1,49 @@
### Please describe the problem.
git-annex assistant uses wrong key if multiple are available. If there is only one gpg available it works without issue.
### What steps will reproduce the problem?
I tried to creating a new key through cli or assistant UI. I also tried to select preexisting key but it always appears to choose the initial key. Log below is creating a new key through assistant UI.
### What version of git-annex are you using? On what operating system?
git-annex version: 5.20140709-gc75193e on linux amd64 & os x 10.9.4
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
[2014-07-12 23:22:57 PDT] main: starting assistant version 5.20140709-gc75193e
[2014-07-12 23:22:57 PDT] Cronner: You should enable consistency checking to protect your data.
(Recording state in git...)
(scanning...) [2014-07-12 23:22:57 PDT] Watcher: Performing startup scan
(started...) gpg: Signature made Wed Jul 9 19:09:28 2014 PDT using DSA key ID 89C809CB
gpg: Can't check signature: public key not found
(encryption setup) (hybrid cipher with gpg key A1FE7E9BECB5C7CA) gcrypt: Development version -- Repository format MAY CHANGE
gcrypt: Repository not found: ssh://admin@nappy.local/share/backups/annex/
gcrypt: Development version -- Repository format MAY CHANGE
gcrypt: Repository not found: ssh://admin@nappy.local/share/backups/annex/
gcrypt: Setting up new repository
gcrypt: Remote ID is :id:smTV2DKvbvPIi7ftJLey
gcrypt: Encrypting to: -R A1FE7E9BECB5C7CA
gcrypt: Requesting manifest signature
To gcrypt::ssh://admin@nappy.local/share/backups/annex/
* [new branch] git-annex -> git-annex
ok
[2014-07-12 23:23:42 PDT] main: Syncing with nappy.local__share_backups_annex
gcrypt: Development version -- Repository format MAY CHANGE
gcrypt: Decrypting manifest
gpg: anonymous recipient; trying secret key 6DF1BC5D ...
gpg: cannot open tty `/dev/tty': Device not configured
gcrypt: Failed to decrypt manifest!
gcrypt: Development version -- Repository format MAY CHANGE
gcrypt: Decrypting manifest
gpg: anonymous recipient; trying secret key 6DF1BC5D ...
gpg: cannot open tty `/dev/tty': Device not configured
gcrypt: Failed to decrypt manifest!
# End of transcript or log.
"""]]