How can `secret-tool` commands stores/retrieves secret even when "Default keyring" wallet is closed

I have made sure that i don’t have gnome-keyring installed or even runing. But then how is secret-tool command able to store and retrieve items? Also i can’t see the items in kwalletManager.

man secret-tool


Actually, that’d be one way to make sure nobody can understand or read passwords - not compatible with Keyring for sure :wink:

Now imagine some folks use Linux without installing Gnome, or KDE Plasma - then you might see the need for a tool that isn’t tied to existing frameworks which might not be installed.

`kwallet-query’ is for kwallet.

Let me know if i am long, but i think kde-wallet implement two interfaces, one as you mentioned, that is kwallet-query but there’s another one →

Since KDE Frameworks 5.97.0 KDE Wallet supports org.freedesktop.secrets DBus API and can now be used by libsecret for storing and retrieving passwords and other secrets using the Secret Service API.

source - ArchWiki

So, secret-tool should interact with org.freedesktop.secrets, but then i can’t see the secrets stored in kwallet-manager.

I tried finding matrix group for k-wallet, but there’s none.