Here’s a Yet Another Question about the clash between ssh and gnome-keyring-daemon, since after spending hours and hours on the Internet I finally gave up.
- OS: openSUSE 15.0
- DE: XFCE
- gnome-keyring-daemon version: 3.20.1
- seahorse version: 3.20.0
- git version: 2.16.4
- ssh version: OpenSSH_7.6p1, OpenSSL 1.1.0i-fips 14 Aug 2018
git pull a repo leads to a message
sign_and_send_pubkey: signing failed: agent refused operation
, even though for years I was getting a neat GUI prompt which remembered the typed password throughout the current session. (AFAIU, this prompt was shown by Seahorse?).
After doing a
killall gnome-keyring-daemon, successive attempts to do a git pull lead to a terminal prompt
Enter passphrase for key '/home/user/.ssh/id_rsa':
which does not store the password anywhere (AFAIU, this means that ssh-agent is not working?).
The same effect can be achieved by adding
SSH_AUTH_SOCK=0 in front of
What I want
- Doing a
git pullcaches my SSH password over the course of my current login session (like it was before). Neat GUI prompt is optional.
- Ed25519 keys are supported. (Apparently GNOME Keyring has (had?) some problems with them).
What I tried
- Disabling “SSH Key Agent” in
XFCE settings → Startup Applications
~/.config/autostartand then appending the line
Hidden=trueto the copied file
Neither of the above prevented
gnome-keyring-daemon from starting up on boot, since I still can see it in
- Reverting back to RSA
- Playing with
git config --global credential.helper /usr/lib/git/git-credential-libsecret
- Toying with the thought of obliterating the
gnome-keyringpackage altogether, which was abandoned because apparently several important packages depend on it