I'm trying to store my git credentials using libsecret on Ubuntu 20.04. I followed these instructions:
sudo apt-get install libsecret-1-0 libsecret-1-dev gnome-keyring
sudo make --directory=/usr/share/doc/git/contrib/credential/libsecret
git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
I also export the DBUS_SESSION_BUS_ADDRESS
: export $(dbus-launch)
.
However, after logging in, I get the following error when libsecret tries to store the credentials. It seems a class is missing somewhere, but I haven't found an answer where to get it.
store failed: No such interface ?org.freedesktop.Secret.Collection? on object at path /org/freedesktop/secrets/collection/login
Does anybody know what am I missing?