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
Crash with gi.repository.GLib.GError: g-dbus-error-quark: The name org.freedesktop.secrets was not provided by any .service files #600
Comments
lazka
added a commit
to lazka/keyring
that referenced
this issue
Oct 31, 2022
In case libsecret and its Python bindings are available the libsecret backend will get selected. This doesn't mean though that the system service it connects to is available. This leads to the backend being used and then failing, for example in get_credential() with: g-dbus-error-quark: The name org.freedesktop.secrets is unknown (2) To avoid this ask libsecret to connect to the system service first before considering to use it. Fixes jaraco#600
I've created #603 for this |
jaraco
pushed a commit
to lazka/keyring
that referenced
this issue
Nov 4, 2022
In case libsecret and its Python bindings are available the libsecret backend will get selected. This doesn't mean though that the system service it connects to is available. This leads to the backend being used and then failing, for example in get_credential() with: g-dbus-error-quark: The name org.freedesktop.secrets is unknown (2) To avoid this ask libsecret to connect to the system service first before considering to use it. Fixes jaraco#600
jaraco
pushed a commit
to lazka/keyring
that referenced
this issue
Nov 4, 2022
In case libsecret and its Python bindings are available the libsecret backend will get selected. This doesn't mean though that the system service it connects to is available. This leads to the backend being used and then failing, for example in get_credential() with: g-dbus-error-quark: The name org.freedesktop.secrets is unknown (2) To avoid this ask libsecret to connect to the system service first before considering to use it. Fixes jaraco#600
lazka
added a commit
to lazka/keyring
that referenced
this issue
Nov 4, 2022
In case libsecret and its Python bindings are available the libsecret backend will get selected. This doesn't mean though that the system service it connects to is available. This leads to the backend being used and then failing, for example in get_credential() with: g-dbus-error-quark: The name org.freedesktop.secrets is unknown (2) To avoid this ask libsecret to connect to the system service first before considering to use it. Fixes jaraco#600
lazka
added a commit
to lazka/keyring
that referenced
this issue
Nov 4, 2022
In case libsecret and its Python bindings are available the libsecret backend will get selected. This doesn't mean though that the system service it connects to is available. This leads to the backend being used and then failing, for example in get_credential() with: g-dbus-error-quark: The name org.freedesktop.secrets is unknown (2) To avoid this ask libsecret to connect to the system service first before considering to use it. Fixes jaraco#600
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
It crashes
To Reproduce
Steps to reproduce the behavior:
keyring set system test
Expected behavior
Not an error
Environment
Additional context
At this is now a dependency of poetry, I cannot run poetry anymore. I can workaround this using:
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
The text was updated successfully, but these errors were encountered: