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

"The name org.freedesktop.secrets was not provided by any .service files" #34

Closed
ghost opened this issue Jul 16, 2018 · 4 comments
Closed

Comments

@ghost
Copy link

ghost commented Jul 16, 2018

I did some googling and found that if you install gnome keyring this issue is fixed. However, I'm using KDE and its own keyring manager (Kde Wallet). Any way to get this app working with that instead?

@joshirio
Copy link
Contributor

joshirio commented Jul 16, 2018

I'm interested in this as well.

'node-keytar' uses libsecret so it should work with any keychain service implementing the API.

Some links:
atom/node-keytar#17
shiftkey/desktop#7

Looks like KWallet doesn't implement this API, not sure what the progress is, did not find much info.

As a workaround I did enable pam unlocking of the gnome-keyring in sddm, it doesn't work sometimes though (randomly).

@vladimiry
Copy link
Owner

I remember I faced the same issue running e2e tests on Travis CI. To make it work there I added into the .travis.yml gnome-keyring package and below lines to execute:

      eval $(dbus-launch --sh-syntax);
      eval $(echo -n "" | /usr/bin/gnome-keyring-daemon --login);
      eval $(/usr/bin/gnome-keyring-daemon --components=secrets --start);
      /usr/bin/python -c "import gnomekeyring;gnomekeyring.create_sync('login', '');";

As far as I know, there is no known solution for how to make keytar work without gnome-keyring. I'm closing this issue since node-keytar tracker has got already relevant issue opened, I just subscribed to it.

@brenthuisman
Copy link

Pending this fix in ksecretsservice, what is the recommended way to use this application on KDE?

@vladimiry
Copy link
Owner

@brenthuisman pre 2.3.2 build is going to work regardless of keytar support. See details here #57 (comment). 2.3.2 will be released later this week.

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

3 participants