app-crypt/libsecret has a fixed PDEPEND on >=gnome-base/gnome-keyring-3. https://bugs.gentoo.org/475182#c2 explains this is due to gnome-keyring being the only package implementing the fdo Secret Service API in portage. This is not true anymore: >=app-admin/keepassxc-2.5.0 implements this API and actually collides at runtime when gnome-keyring-daemon is running ( see e.g. https://github.com/keepassxreboot/keepassxc/issues/3945 ), so ideally, users should disable (or not install) gnome-keyring when using KeepassXC as fdo Secret Service API provider. A clean replacement of gnome-keyring in Gentoo as fdo Secret Service API provider by KeepassXC is not yet possible due to the hard dependency enforced by libsecret. Reproducible: Always
*** Bug 710072 has been marked as a duplicate of this bug. ***
Created attachment 677158 [details] libsecret-0.20.3-r1.ebuild Could this work? Anyone dare to try? Signed-off-by: Paolo Pedroni <paolo.pedroni@iol.it>
Works for me. Allows me to have a system without gnome-keyring. I am using keepassxc for quite some time as fdo Secret Service API provider which also works fine.
Thanks for the heads-up, I have been meaning to get rid of gnome-keyring for quite some time. KeePassXC seems to be working like a charm as a Secret Service provider.
*** Bug 777456 has been marked as a duplicate of this bug. ***
One could also add gnome-base/gnome-keyring to /etc/portage/profile/package.provided for testing/as a workaround.
*** Bug 773346 has been marked as a duplicate of this bug. ***
In addition to keepassxc, it might be possible to add more options: 1) kwallet too with WIP patch: https://invent.kde.org/frameworks/kwallet/-/merge_requests/11 also, see https://bugs.kde.org/show_bug.cgi?id=313216 2) dev-libs/qtkeychain "If running, GNOME Keyring is used, otherwise QtKeychain tries to use KWallet (via D-Bus), if available. Libsecret (common API for desktop-specific solutions) is also supported."
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=375d4ecea4f6065b75cdd99cc19c372ab7fd5c64 commit 375d4ecea4f6065b75cdd99cc19c372ab7fd5c64 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-06-30 13:33:59 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-06-30 17:55:05 +0000 app-crypt/libsecret: virtualise Secret Service API dependency User tests - including my own - show that app-admin/keepassxc works fine as a Secret Service API provider, and KDE will likely acquire a compatible provider soon. Change made with permission from leio on behalf of the Gnome Project. Closes: https://bugs.gentoo.org/705132 Signed-off-by: Marek Szuba <marecki@gentoo.org> app-crypt/libsecret/libsecret-0.20.4-r1.ebuild | 89 ++++++++++++++++++++++++++ 1 file changed, 89 insertions(+)