mozilla-gnome-keyring icon indicating copy to clipboard operation
mozilla-gnome-keyring copied to clipboard

Web extensions are the future!

Open rugk opened this issue 8 years ago • 18 comments

The current plan is that Firefox 57 will only support web extensions. Your add-on is not a web extension yet as far as I can see, so you should consider remaking your add-on. The Firefox 57 release is planned for 28th November 2017. Already for Firefox 53 (planned release: 18th April 2017) it is planned to no longer accept other new add-on submissions than web extensions on AMO (addons.mozilla.org). Old extensions can however still be updated. The good message is that one should be able to use your web extensions add-on in all mayor browsers. That's the idea behind web extensions. Note that you can use so-called hybrid extensions for switching to WebExtensions.

Note that all dates are estimates and may be changed.

German source: https://www.soeren-hentzschel.at/firefox/firefox-57-mit-exklusiver-webextension-unterstuetzung/ Original source: https://blog.mozilla.org/addons/2016/11/23/add-ons-in-2017/

rugk avatar May 22 '17 12:05 rugk

https://bugzilla.mozilla.org/show_bug.cgi?id=309807#c133

Known issue, however there doesn't seem to be any interest in providing an API.

swick avatar May 22 '17 20:05 swick

Nice, I've commented there, voted for the bug and also opened a new bug for another GNOME feature: https://bugzilla.mozilla.org/show_bug.cgi?id=1366986

rugk avatar May 23 '17 08:05 rugk

Is there any update here? Firefox 57 was released yesterday.

sdroege avatar Nov 15 '17 11:11 sdroege

@swick See also how https://github.com/ttyridal/masterpassword-firefox/wiki/Key-vault-troubleshooting fixed this.

adanielvv avatar Nov 16 '17 12:11 adanielvv

Current status: not looking good.

There are two parts to the addon:

  1. Communication with the keyring, which is currently done by calling into libgnome-keyring.so using the ctypes module. Native Messaging is supposed to be the the replacement. The problem here is that it requires the user to install an executable and add a configuration file which is ridiculous. It gets even more ridiculous if you run firefox with flatpak.

  2. letting firefox use, add and modify the passwords. this is done by implementing the nsILoginManagerStorage interface. There is no replacement for this and there doesn't seem to be much interest from the firefox team. Other password managers reimplement all of the UI to fill in forms, insert, update and delete passwords. That's not something I'd like to do because it's a lot to do, it's security relevant and I honestly don't feel like I know enough to make it reasonably secure.

I'm tracking this bug but even then I'm not sure what to do about the "Native Messaging" thingy.

swick avatar Nov 29 '17 22:11 swick

Wow, so basically mozilla doesn't want to implement the storage backends themselves, nor do they trust anyone else to implement them securely...

orbisvicis avatar Nov 30 '17 06:11 orbisvicis

For me the first problem is not a big deal, at least for me (I mean to install another executable). Second problem is bigger, but if you could do it when Mozilla give proper API, I will buy you not one but at least few beers:)

saleksin avatar Nov 30 '17 15:11 saleksin

This is also an issue for a mac Firefox extension, Keychain Services Extension, which integrates with the Mac Keychain and which I've contributed to. I think they will add a logins API eventually? But it's not as high priority as some other APIs (such as their current focus - a toolbar API)... bothering Mozilla about adding an API probably couldn't hurt, though.

The bug previously referenced, regarding nsiLoginManagerStorage (https://bugzilla.mozilla.org/show_bug.cgi?id=1344788) is currently waiting on a bug for the regular nsiLoginManager API (https://bugzilla.mozilla.org/show_bug.cgi?id=1324919), which is currently waiting on a security review (https://bugzilla.mozilla.org/show_bug.cgi?id=1357856). The last of these bugs should probably be the focus of any efforts, for now.

bkimmett avatar Dec 01 '17 05:12 bkimmett

its a shame how Mozilla treats their add-on suppliers. they do not know what they are doing. they break their own product. shame.

sigoa avatar Mar 12 '18 04:03 sigoa

Is there any new plugin, which does this great job of integrating the new firefox with gnome keyring? Or will this extension be migrated to become a web extension?

white-gecko avatar Sep 25 '18 08:09 white-gecko

I had a look yesterday and didn't find any similar solution that might appear in the next months/years. Thus I switched to keepassxc with its firefox add-on.

Gredin67 avatar Sep 25 '18 08:09 Gredin67

Hi (from a long-time user of mozilla-gnome-keyring) I know nothing of the API changes with recent versions of firefox, nor of the 'web extensions' liimitations. But I'v been told that extension passff https://addons.mozilla.org/en-US/firefox/addon/passff/ works with recent versions of firefox. If the developers managed to get this to work with recent ff, logic would say that it should be possible to do the same for mozilla-gnome-keyring?

mimbert avatar Nov 01 '18 14:11 mimbert

@mimbert passff doesn't integrate with Firefox's password management, but rather provides its own duplicate UI and functionality.

singpolyma avatar Jan 30 '19 00:01 singpolyma

A similar approach is used by the keepassxc extension https://addons.mozilla.org/en-US/firefox/addon/keepassxc-browser/ maybe this is the way we have to go.

white-gecko avatar Mar 04 '19 16:03 white-gecko

Well… in any case you can always just fork such an extension and adjust it for your needs…

rugk avatar Mar 04 '19 21:03 rugk

Is there a possibility to connect a recent Thunderbird to a Gome Keyring? How?

getreu avatar Nov 19 '19 20:11 getreu

Although not related to this add-on: since being unable to use two key functionalities with recent Thunderbird versions - the key ring integration and system tray support for message indication - I moved to Evolution, which provides the former natively, and the latter with the evolution-on plugin, while providing all other standard mail/calendar/task functionalities as well.

ghost avatar Jan 08 '20 19:01 ghost

Is there any way to use this in 2024? Or is it only working in ancient firefox versions?

Lassebq avatar Mar 06 '24 17:03 Lassebq