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