jaraco / jaraco/keyring

RuntimeError: The Secret Service daemon is neither running nor activatable through D-Bus

Open
#710 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.5k
Forks
196
PR merge metrics
No merged PRs in 30d

Description

I can't use keyring. When I want to set a new password, I get an error as below:

File "/home/ubuntu/mybotenv/lib/python3.12/site-packages/keyring/backends/fail.py", line 28, in get_password
raise NoKeyringError(msg)
keyring.errors.NoKeyringError: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.

When I run:

keyring.backends.SecretService.Keyring.viable
gives: False

keyring.backends.SecretService.Keyring.priority
gives:
File "/home/ubuntu/mybotenv/lib/python3.12/site-packages/keyring/backends/SecretService.py", line 44, in priority
raise RuntimeError(
RuntimeError: The Secret Service daemon is neither running nor activatable through D-Bus

Please, kindly help me to resolve this issue

Operating system is Ubuntu 24.04

Contributor guide

No contributing guide indexed for this repository

Research direction

The report points to keyring/backends/fail.py and keyring/backends/SecretService.py in the installed package. Start by determining whether the behavior is reproducible in keyring on Ubuntu 24.04 rather than caused by the user's environment; no repository test is named. Done would require a confirmed project change or clear documentation addressing the reported failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.