Comments (14)
libsecret is a library for storing and retrieving passwords and other secrets. It communicates with the "Secret Service" using D-Bus. gnome-keyring and ksecretservice are both implementations of a Secret Service.
libsecret
needs an implementation to be available on the user's machine to act as the secret service, and I recommend either gnome-keyring
or ksecretservice
be installed, but it looks like neither KWallet or ksecretservice ever completed their support for it.
The original goal with choosing libsecret
was to avoid being directly coupled to gnome-keyring
, and it's not clear to me a way out of this if there's not a KDE-based alternative available.
from node-keytar.
We are seeing the same on KDE systems in our LBRY app which uses keytar - please see lbryio/lbry-desktop#386
Any updates on this?
from node-keytar.
No real progress on this issue - the use of libsecret
is supposed to mean keytar
can interoperate with other providers, but even KWallet doesn't support it (see this discussion for more details).
from node-keytar.
By the way, aside from gnome-keyring
, keepassxc also implements needed Secret Service interfaces, see details in this FAQ. So keepassxc
is an alternative to gnome-keyring
.
from node-keytar.
KDE support is still pretty badly needed tho. :(
from node-keytar.
@alxpettit An interesting MR was made to the KWallet repository, just a week ago, aimed at supporting the org.freedesktop.secrets API, but the discussion is still underway.
https://invent.kde.org/frameworks/kwallet/-/merge_requests/11
from node-keytar.
same problem
opensuse leap 42.2
libsecret-1-0
skype for linux 5.5 or skype for linux preview 8.5 use keytar and claim using libsecret but
- installing skype installs gnome keyring
- use gnome keyring
from node-keytar.
Hi,
I have the same @promeneur skype problem.
from node-keytar.
If I understand right, this affects also using Mailspring under KDE Plasma:
Is there any progress on this issue?
from node-keytar.
👍
from node-keytar.
ksecretservice is unfinished and KWallet itself is in maintenance mode, so we have a few options:
- get ksecrets/ksecretservice to a state where KWallet can be replaced (probably hard, but would be the best way)
- implement a library that wraps libsecret and KWallet for the time being (a stopgap solution, as the secret service standard exposed by libsecret should be the real thing. would be reusable by a lot of software that becomes aware of it and easier than to replace KWallet in KDE)
- just add support for KWallet in keytar (would probably be easiest, but least reusable, since only JS projects can benefit)
from node-keytar.
@shiftkey wouldn't using keyctl
instead of (or as a fallback for) libsecret
be a viable solution? It's built in the Linux kernel.
It doesn't offer persistence across reboots, but as a user of apps depending on this package, I prefer my apps to be working out of the box and re-enter passwords after reboots than installing packages I didn't plan to use.
from node-keytar.
@nglgzz I don't have the time available to write a second backend and support gracefully degrading from one to the other if the first is not available. If someone else wants to take a shot at it, that's great, but I can't promise I'll support it officially because it feels risky.
@vladimiry that's great to hear. I had a look at the changelog for keepassxc
and it looks like support was added in 2.5.0
which was published in October 2019. I then checked the packages registry for Ubuntu and found this package which is still based on 2.4.3
.
Archlinux seems to have the latest version, and perhaps other distributions do too so that users don't need to build from source themselves, so maybe we can update the README to mention this as being important for Linux usage.
from node-keytar.
Arch Linux requires gnome-keyring
.
from node-keytar.
Related Issues (20)
- Prebuild problem on Windows HOT 1
- Not being able to install on Windows. v8.h missing
- electron-rebuild fails after updating keytar to 7.7.0
- WSL Support
- Upgrade dependencies' major versions HOT 7
- https://www.instagram.com/p/CaAP2_VsEFp/?utm_medium=copy_linkc
- [win] handle different value for cred.Persist = CRED_PERSIST_ENTERPRISE;
- [Windows] Old credential comes back after current one is deleted HOT 3
- Keytar installation fails on Alpine Linux (Docker image) HOT 1
- Switch to prebuildify & node-gyp-build HOT 2
- Proposal: Support buffers for binary keychain data
- Not attempting prebuilt install
- setPassword error
- Add a new setPasswordDescription method
- Opt out from having the service name implicitly be concatenated with the account name on windows.
- Setting a password throws strange Error: �ڴ���Դ���㣬�����������” HOT 2
- `FindCredentials` call on Linux without unlocking the key store crashes
- Fails to install on Windows ARM
- Node
- Farewell, my dear Keytar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-keytar.