Review for KDE5 Wallet password integration by Noitidart
Rated 5 out of 5 stars
Thanks very much for reply Guillermo! It seems masterpassword addon uses DBus from js-ctypes to tap into KWallet - https://addons.mozilla.org/en-US/firefox/files/browse/359914/file/lib/dbus.js#L21 - does that not allow us to use full power of KWallet?
There is a jscpp-types which is just some code we can drop into our addons - https://github.com/ochameau/jscpptypes - would you be able to use this to bypass the .SO file? I am super eager to see someone use js-ctypes to use C++ stuff on Linux. I did it on Windows with COM here - https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes/Examples/Using_COM_from_js-ctypes - if you have sometime and could try to use this to do KWallet with no .SO I would be so so interested to see that! I would document/blog about it :P If you get a chance may you please try? :) haha
------------
> Thank you
> by Guillermo Molina (Developer) on November 22, 2015 · permalink · translate
>
> Thank you but js-ctypes works only with C, not C++:
>
> "Note: js-ctypes only works with C libraries; you can't use C++ methods directly. Instead, you'll need to create a shim library that uses C functions that then call into the C++ library for you. Examples can be found here: Bugzilla :: Bug 505907 - Support C++ calling from JSctypes"
>
> And AFAIK there is no C interface for kwallet, cheers.
>
> ------------------------------
> > 5 STARS
> > by Noitidart on November 22, 2015 · permalink · translate
> >
> > This is a very cool addon. You use a native .SO file and tap into it with js-ctypes.
> >
> > There is an addon here that bypasses the .SO file and uses the platform API directly with js-ctypes. You might find it interesting. I mentioned it because I'm hoping the two you authors can get togather and have some synergy :) To make an even cooler experience. :)
> >
> > Here is the addon: https://addons.mozilla.org/en-US/firefox/addon/masterpassword-firefox/
Both are excellent ideas, but right now I am involved in another open source project, I don't have the time. I will try to do it but I can not promise anything
To create your own collections, you must have a Mozilla Add-ons account.