Comments (15)
On 2014-01-05, snaggen [email protected] wrote:
could you use libsecret instead of libgnome-keyring? That
would work for KDE keyring too, I believe.
Furthermore libgnome-keyring has been deprecated:
https://github.com/GNOME/libgnome-keyring/commit/6a5adea4aec931708d2b16decff7405fb0ae67c3
from mozilla-gnome-keyring.
I'm working on getting the libsecret DBus API working with keepassx as well, so if this were added, users could use it as well.
from mozilla-gnome-keyring.
I'm going to look into it.
from mozilla-gnome-keyring.
Thanks!
from mozilla-gnome-keyring.
I have a WIP prototype at https://github.com/fcrozat/moz-gnome-keyring-integration/tree/libsecret
It is NOT functionnal (still fighting with type conversion between JS and C) but it doesn't crash firefox anymore. Feel free to look at it.
I did a big replace in gnome-keyring.js, a saner approach (once libsecret works) would be to move the code to libsecret.js and loads this code and fallback to gnome-keyring.js if libsecret is not found.
from mozilla-gnome-keyring.
I thought both gnome-keyring and libsecret already have JS APIs? Why is it necessary to redeclare them in js-ctypes?
from mozilla-gnome-keyring.
The API from gnome-keyring and libsecret are for use in gnome-shell and gjs (and are autogenerated by gobject-introspection). They aren't available in Firefox AFAIK
from mozilla-gnome-keyring.
The JS bindings for gobject are indeed only useable in gjs, which means that the gobject introspection data is kinda useless for us. One could try to implement gobject bindings for firefox but that would be a bigger project (gjs has >10k LOC).
That leaves us to either writing all the bindings by hand, which is really awkward and hard, or to write a c wrapper.
I'd honestly prefer to use ctypes just to bind to a library which does all the heavy lifting. The disadvantage is that the addon would contain a binary which is platform specific.
If that's the route we're going to take, I'd like to make this a new project and break with the current storage format, implementing the password meta data and maybe even get compatibility with either chrome or gnome-web.
from mozilla-gnome-keyring.
Is there some way to just talk over DBus directly? I think Firefox already talks to DBus, so maybe there's some API available?
from mozilla-gnome-keyring.
libsecret is a wrapper around Secret DBus api..
from mozilla-gnome-keyring.
@mathstuf Firefox uses dbus internally, there is no way to use it from JS.
from mozilla-gnome-keyring.
Any news on that? libgnome-keyring0
not available on debian buster anymore see here.
I love this extension for thunderbird!
from mozilla-gnome-keyring.
Sorry, no news. libsecret in flatpak saves passwords locally and not to the global keyring now anyways so I don't see any value in this addon anymore at all.
from mozilla-gnome-keyring.
Thx @swick for the fast reply. Bad news though. There is no alternative!?
I like to open my keyring at login and there is no need to enter another master-password.
from mozilla-gnome-keyring.
Even if I would support libsecret the addon would only work in non-flatpak thunderbird so I won't do it. It can obviously be done but I won't be the one doing it.
from mozilla-gnome-keyring.
Related Issues (20)
- Cannot delete saved login-password pair from Firefox UI HOT 2
- Addon is not signed HOT 1
- Only store master password in gnome-keyring HOT 4
- Seamonkey Support HOT 3
- Firefox 48 requires extensions to be signed HOT 1
- Get rid of maxVersion HOT 8
- Doesn't work with firefox 49 HOT 9
- Passwords stored and expected in a format not readable by Epiphany and presumably other browsers HOT 2
- Hogs CPU and never finishes HOT 2
- Stopped working (in Firefox 51?) HOT 4
- Web extensions are the future! HOT 18
- i386 -> amd64 breaks a lot
- Passwort still stored in plain text in Firefox. HOT 4
- FIrefox 57 Quantum Support?? HOT 1
- Thunderbird password displayed without master passord.
- Support for Firefox 57 HOT 1
- Document how-to export passwords and form logins from gnome-keyring
- appears to be corrupt HOT 3
- Add manifest.json to gain thunderbird 68 comaptibilty
- Can I use it? HOT 1
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 mozilla-gnome-keyring.