Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid usage of libgnomekeyring in favor of dbus interface #151

Open
Ri0n opened this issue Oct 4, 2019 · 4 comments
Open

Avoid usage of libgnomekeyring in favor of dbus interface #151

Ri0n opened this issue Oct 4, 2019 · 4 comments

Comments

@Ri0n
Copy link
Contributor

Ri0n commented Oct 4, 2019

Since qtkeychain on gnome can't work without libgnomekeyring the application using qtkeychain should explicitly add a dependency on this library (in deb/rpm/etc).
And this is wrong for Qt applications to depend on gnome stuff when theoretically for a specifc user it will work in kde.

Gnome keyring has DBUS Secret API and this should be used instead to remedy the situation.

I can be wrong about anything from above. But installing libgnomekeyring helped many times for our Psi users.

@tehnick
Copy link
Contributor

tehnick commented Oct 4, 2019

Tiny addition: @Ri0n is talking about libgnome-keyring0 package in Ubuntu, which is not installed in Ubuntu by default, despite it comes with GNOME Shell. And yes, adding of strong dependency from this library in psi, psi-plus and other packages is not a solution here, because they often used in other DEs (sometimes even without installed GTK+ libraries, not to mention gnome libraries).

@jtojnar
Copy link
Contributor

jtojnar commented Oct 28, 2019

Just to clarify, libgnome-keyring has been deprecated for a long time. Instead the GNOME Keyring (which is a separate project from the aforementioned library) should be accessed through the Freedesktop.org Secret Service API, for example, using the libsecret library, or directly through D-Bus as you suggest.

@tehnick
Copy link
Contributor

tehnick commented Oct 28, 2019

Just to clarify, libgnome-keyring has been deprecated for a long time.

Yep, it was recently removed from Debian and Ubuntu repos:
https://bugs.debian.org/941821
https://bugs.launchpad.net/ubuntu/+source/libgnome-keyring/+bug/1825972

@vadi2
Copy link
Contributor

vadi2 commented May 13, 2020

Would this be why KDE Wallet is being preferred over Gnome keyring on Ubuntu 20.04?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants