Use gnome-keyring (and others) with git
06 May 2018Steps on how to use libsecret to store git-login-data.
libsecret supports implementations of XDG Secret Service API such as the gnome-keyring.
- install
libsecret
dev libs:~ % sudo apt-get install libsecret-1-0 libsecret-1-dev
- build the credential manager
~ % cd /usr/share/doc/git/contrib/credential/libsecret libsecret % sudo make
- let git know what you have prepared:
~ % git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
Note: needs at least git 2.11