Comment 68 for bug 41179

Revision history for this message
In , Yury-sobolev (yury-sobolev) wrote :

(In reply to comment #26)
> The current patch implements nsILoginManagerStorage directly in C++. Another
> approach I thought about would be to wrap the low-level Gnome Keyring API in a
> C++ component and then implement nsILoginManagerStorage in JS. That should make
> things simpler for adding caching (if needed), managing preferences (keyring
> name is hardcoded right now for instance) or others.
> (https://wiki.mozilla.org/JSctypes could be useful here but I don't think it's
> ready yet)

If there is interest, I have a mostly working version written in pyxpcom. It is not quite compatible with the C++ version, but that can be easily changed. I do not think it is especially useful, since it does require the python extensions, but it may be handy for prototyping.