Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firefox 57 + #59

Open
NodokaMurmevent opened this issue Aug 14, 2017 · 34 comments
Open

firefox 57 + #59

NodokaMurmevent opened this issue Aug 14, 2017 · 34 comments

Comments

@NodokaMurmevent
Copy link

Hello, did you have any plan for your addon working with webextension ? with firefox 57 your addon will stop to work.

@prefiks
Copy link
Owner

prefiks commented Aug 14, 2017

There is big chance that firefox will have native support for u2f soon, so i don't want to spend much time in rewriting that extension.

@Essjayess
Copy link

This addon also broke in Firefox Developer Edition 56.0b2.

@yfdyh000
Copy link

https://bugzilla.mozilla.org/show_bug.cgi?id=1065729

@bunnybooboo
Copy link

@NodokaMurmevent
Copy link
Author

on nightly 57 we can find u2f paramerters typing on adress bar :

about:config

and seach for u2f you can enable the U2F login but it's broken when i wrote this.

@bunnybooboo
Copy link

bunnybooboo commented Aug 29, 2017

it's also in 55 @NodokaMurmevent

Check this tool https://u2f.bin.coffee/

@prefiks
Copy link
Owner

prefiks commented Aug 29, 2017

So i did preliminary conversion to webextension (it's here: https://github.com/prefiks/u2f4moz/tree/webextension/webextension), but to make it work it will require installing external program (this is only method that would allow to communicate with physical device). It is not 100% conversion yet, it can't handle cases where it need to fetch external facets, but that theoretically could be added (i am missing access to https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/url#getTLD(url) to make it work).

@jcjones
Copy link

jcjones commented Aug 29, 2017

Hi, all - I'm one of the folks building U2F support natively into Firefox. It looks like it won't make it in for 57, I'm afraid, but we'll almost certainly make it into Firefox 58.

If you're on Windows or OSX, I actually have some partially-working unstable builds available with U2F support. There's a problem using it on some sites - like Github - that I'm still tracking down. (EDIT: Found the bug, and added tests to u2f.bin.coffee, now just gotta fix it.)

This bug 1245527 will hook our U2F code up into our USB HID code, which is in a large set of patches that are further away from review. The actual hardware interaction code is this rust library, u2f-hid-rs which is landing in bug 1388843.

Unfortunately, getting this kind of hardware interaction into Gecko has required a lot more work than the way addons worked. :) But it does open up all the more advanced browser-interaction parts of web authentication.

@NodokaMurmevent
Copy link
Author

thanks for the information, i will continue to use nightly for a little moment its seem.

@jcjones
Copy link

jcjones commented Aug 30, 2017

@prefiks: How common are external facets, by the way? Firefox Bug 1244959 is about adding support for them, but I don't know where they're used in the wild. Any pointers you can give me here or on there would be helpful!

@prefiks
Copy link
Owner

prefiks commented Aug 30, 2017

There is this: #55, but except that i never seen one in wild.

@NodokaMurmevent
Copy link
Author

NodokaMurmevent commented Sep 22, 2017

official integration work in firefox 58 i have juste enable in about:config, i login on my nextcloud without any problem

security.webauth.u2f        true
security.webauth.webauthn        true
security.webauth.webauthn_enable_softtoken        true
security.webauth.webauthn_enable_usbtoken        true

@jcjones
Copy link

jcjones commented Sep 26, 2017

Indeed, @NodokaMurmevent: Experimental support landed in Firefox 57 ("Firefox Quantum"), where this extension (unfortunately) stops working.

Tweet: https://twitter.com/jamespugjones/status/912314952232267777

There is no external FacetID support in the experimental code in Firefox, so this isn't a solution for Facebook and probably won't work for Google Accounts either, but it's intended as a stop-gap for W3C Web Authentication

I suppose it might be good to point people to how to flip on the internal support though maybe in the u2f4moz README?

@offlinehoster
Copy link

FireFox57 is now available and U2F is not working. Any Updates for the awesome u2f4moz project? ;)

@offlinehoster
Copy link

Sorry for the noise!

U2F is working after you activated this option inside FireFox. For me is the following setting working "security.webauth.u2f true"

@fbender
Copy link

fbender commented Nov 13, 2017 via email

@phillipberndt
Copy link

Just wanted to leave some feedback: Your code from the experimental webextension branch works flawlessly on FF 57.0.1 / Ubuntu 16.04 / Yubikey Nano. Thanks a lot for porting it 👍

@Ulrar
Copy link

Ulrar commented Jan 2, 2018

So is there any chance to have U2F working with Google in FF >= 57 ? Since that extension doesn't work anymore, and apparently FF's implementation isn't complete, I'm guessing not ?

@phw
Copy link

phw commented Jan 15, 2018

So is there any chance to have U2F working with Google in FF >= 57 ? Since that extension doesn't work anymore, and apparently FF's implementation isn't complete, I'm guessing not ?

Today I discovered that U2F actually works for me in Firefox 57.0.4 after enabling security.webauth.u2f in about:config. Also security.webauth.webauthn_enable_usbtoken needs to be true, but that's actually the default now. I could register my key and authenticate with it on all services I tested.

I know this did not work for me with the initial 57 release, so there likely have been some fixes. @Ulrar, I would suggest you just test if this works for you now.

@Ulrar
Copy link

Ulrar commented Jan 15, 2018 via email

@offlinehoster
Copy link

After i got Firefox 59.0.1 it just stopped working for google services.

Something went wrong. Remove your Security Key and try again

Any Ideas?

@ghost
Copy link

ghost commented Apr 25, 2018

Using 59.0.2 - same results as offlinehoster when trying to use google. "security.webauth.u2f" is activated.

@davidstrauss
Copy link

Since the release of Firefox 60 u2f is now fully supported.

This is not correct. Firefox 60 continues to ship with U2F disabled by default, which I wouldn't consider "fully supported" even if it supported Google's login system (which it still does not).

Firefox 60 defaults to enabling WebAuthn, not U2F. This is a newer generation of FIDO token.

@jcjones
Copy link

jcjones commented May 11, 2018

However, one good piece of news is Firefox 60 shipped with hardcoded support for Google Accounts, and I am aware that the Accounts team is working to make it function with Firefox's U2F support. Also, Thunderbird 60 is shipping with U2F enabled by default, also for Google Accounts' Advanced Protection Program.

@Ulrar
Copy link

Ulrar commented May 11, 2018

I was about to comment on this, I just finished compiling FF 60 and indeed it does not work. But I suppose it's just a matter of time then, great news ! :)

@seefood
Copy link

seefood commented May 21, 2018

I don't know what Google are doing different/wrong, but Github U2F logins are working as expected and Google is still broken in FF60. Also, Github allows you to enter TOTP in that same screen, Google needs two more clicks to get there. What I see is that Google are using enough API to detect that U2F is available in the browser and offer you to use it, but it quickly fails, while the Github login page pops up a notice ("A page is requesting access to your security token/finger scanner" etc).

Donno if it's Google's fault or FF60 not implementing the full standard Chrome does, but either way a solution has to be around the corner...

@jcjones
Copy link

jcjones commented May 21, 2018

For U2F tokens that are already registered, Google Accounts will work with Firefox 60 and later pretty soon. (I just helped test it last week using Firefox 60 and a specially-whitelisted account). You won't be able to register new U2F tokens via Firefox, however, since we deliberately chose to limit the scope of the hardcoded override to sign operations for safety's sake. But that decision will also be short-lived pain, since Google Accounts should have WebAuthn support shortly after Chrome ships it, which is coming up in the next two weeks or so.

@jcjones
Copy link

jcjones commented May 23, 2018

This appears to have rolled out. All of my Google Accounts which have U2F tokens registered seem to let me use my U2F token with Firefox 60+.

@Ulrar
Copy link

Ulrar commented May 30, 2018

If I'm not mistaken that version of chrome is out, any ideas when we'll be able to add new tokens from firefox ?

@davidstrauss
Copy link

If I'm not mistaken that version of chrome is out, any ideas when we'll be able to add new tokens from firefox ?

There is no intention to support enrolling new U2F tokens for Google accounts in Firefox. You should use another browser (like Chrome) if you need to do that. You can now use Firefox with the accounts after the enrollment, though.

The future is WebAuthN, which should eventually be fully supported for Google accounts in Firefox, including enrollment. Google Chrome just shipped WebAuthN support, so I suspect "eventually" will be "soon." The U2F support here is a stopgap to support existing tokens.

@Ulrar
Copy link

Ulrar commented May 30, 2018

That was my question, I understand firefox is never going to add the missing bits of U2F.
I'm just waiting, like most people here I assume, for some way to use U2F tokens with firefox, the how doesn't really matter (at least to me) so if that's through WebAuthN, great.

I understand we're waiting for google to add it, but since jcjones seemed to have infos about it earlier I was just wondering if there were any news on that.

@davidstrauss
Copy link

davidstrauss commented May 30, 2018

I'm just waiting, like most people here I assume, for some way to use U2F tokens with firefox

Once you've enabled security.webauth.u2f in about:config, U2F works fine almost everywhere, including for enrollment. The exception is for Google accounts; to enroll a U2F token for a Google account, use Chrome. You can use Firefox afterward.

the how doesn't really matter (at least to me) so if that's through WebAuthN, great.

WebAuthN is a different, newer specification. Firefox fully supports it, but the rest of the rollout depends on website owners/operators like Google. This issue isn't a good place to get more information on that.

@jcjones
Copy link

jcjones commented May 31, 2018

@Ulrar: I'm afraid for all my general WebAuthn/Mozilla info, I'm also in-the-dark as to when exactly Google Accounts will have WebAuthn support. We're both hoping 'soon' together. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests