I encountered a strange problem according to the new GnuPG 2.0.14 and gpg-agent.
While using gpg-agent as a drop in replacement for ssh-agent gpg-agent always
complaines about a wrong passphrase after an initial ssh-add.
The specific steps I did:
- Installed gnupg2, setup gpg to "use-agent" and use gpg-agent with pinentry-curses
- Import all my gpg keys.
- Started gpg-agent with enable-ssh-support in daemon mode and set the env
variables accordingly.
- Did a ssh-add, unlocked my ssh-key and specified a new passphrase.
- Tried to ssh to my server, gpg-agent asked for the passphrase and complains
that I supplied a wrong one.
I tested this on three different computers. Since I got a working setup on my
desktop pc I copied the correct ~/.gnupg/private-keys-v1.d/.. file I created
with gnupg 2.0.13 to my laptop and voila, it worked.
Seems somethin is broken in the new passphrase method introduced in 2.0.14.
Best regards,
Oli