Attention: git-credential-libsecret for storing git passwords in the GNOME keyring is now an extra package


If you are following this or similar guides to store your git passwords in the GNOME keyring, with a recent update you may experience problems, because since Fedora’s build of git v2.25.2 (git v2.25.2-1) there is a big change as you can read in the changelog here:

* Wed Feb 19 2020 Todd Zullinger <> - 2.25.1-2
- split libsecret credential helper into a subpackage (#1804741)

The reason for this is that it apparently bloated the whole dependency chain.


The apparent problem you’ll notice/see is that you cannot authenticate anymore when git pull’ing (for private repos) or git push’ing. git will show you an error like this one:

$ git push
/usr/libexec/git-core/git-credential-libsecretx get: /usr/libexec/git-core/git-credential-libsecret: No such file or directory
Username for '': 


In any case, what that means is that if you want to continue using it, you (just) need to install it again manually:

$ sudo dnf install git-credential-libsecret

Or, on Silverblue:

$ rpm-ostree install git-credential-libsecret

The entry in your .gitconfig file can then stay the same:

	helper = libsecret

Edit: If that does not work, the full path to the file is /usr/libexec/git-core/git-credential-libsecret.


@rugk you can also use just helper = libsecret instead of the full path in the config file.

1 Like

Okay interesting, thanks, I did change it in the post.

1 Like