Ask Ubuntu Asked on December 29, 2021
When I try to log in to Github I get this error: "The name org.freedesktop.secrets was not provided by any .service files"
.
How can I resolve my problem?
OS: Kubuntu 20.04 LTS
Writing login information to the keychain failed with error 'The name org.freedesktop.secrets was not provided by any .service files'.
On KDE desktops (that don't have gnome-keyring installed), you also have the option to use KeePassXC as the Secrets Service.
The configuration steps for KeePassXC are:
Optional. Install libsecret-tools. It contains a binary called secret-tool which can be used from the cli to test if things are working.
In KeePassXC, open a database in which you want to hold the secrets and create a group inside the database. Can be named anything. e.g. 'Secret-Service-Integration'
In KeePassXC, go to Tools > Settings > Secret-Service-Integration and check the Enable KeepassXC Freedesktop.org Secret Service integration
check box. Press Ok to close the Application Settings screen.
In KeePassXC, go to Tools > Settings > Secret-Service-Integration and in the General tab, in the Exposed database groups table, click the small pencil icon next to the database you want to host the secrets. Doing this will switch you to the Database's Settings dialog which also now has a Secret Service Integration section. Click on Secret Service Integration and then check the Expose entries under this group
radio option. Select the group you created in step 2 above. Click Ok.
Optional. Whilst the database is unlocked in KeePassXC, test storing a credential via:
secret-tool store --label='Created from cli' account test1
You will be prompted for a password and this is the password for the new secret being created and can be anything you want. e.g. 'blah'
If you now check the group set up in step 2 above, you will see a new KeePass entry in that group.
Doing the above allowed me to use Visual Studio Code's Settings Sync functionality without needing to install gnome-keyring.
Sources:
Answered by Jinesh Choksi on December 29, 2021
Type command -v gnome-keyring
. If the output is empty, run sudo apt install gnome-keyring
. Maybe it's missing.
Answered by karel on December 29, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP