File: gcrypt_os_x_app_vs_brew.mdwn

package info (click to toggle)
git-annex 10.20230126-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 69,344 kB
  • sloc: haskell: 74,654; javascript: 9,103; sh: 1,304; makefile: 203; perl: 136; ansic: 44
file content (18 lines) | stat: -rw-r--r-- 924 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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