Gcrypt remotes work when using the git-annex command bundled in the git-annex.app. But gcrypt doesn't work when git-annex is installed via home-brew (brew install git-annex).
The initial push will work, any subsequent commands (push/pull) will fail with:
gpg: anonymous recipient; trying secret key...
gpg: anonymous recipient; trying secret key...
gpg: anonymous recipient; trying secret key...
gpg: anonymous recipient; trying secret key...
gpg: decryption failed: No secret key
gcrypt: Failed to decrypt manifest!
In both cases (app/brew) it tries the same keys. The app version will use its own version of gpg, which will trigger password prompts. With the brew version gpgtools is used, so I won't get any prompts. (Keychain)
I tried "echo i | gpg -e -R XX -R XX | gpg -d" with the same recipients as the repo. It works well.
Has anybody hints or ideas what to try next?
Best, Jean-Louis
git config gcrypt.publish-participants true
-- this is done by default by the assistant when setting up new gcrypt remotes. It needs my branch of git-remote-gcrypt, which is included in the osx app, I don't know which one is being used in brew.Brew doesn't include git-remote-gcrypt, so I installed your fork of it manually. That works well and if you use a symlink to include it in the PATH you can easily update (pull) the repo. If one can install git-remote-gcrypt using brew, I don't know how.
Best, Jean-Louis