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 U2F Dongle Not Detected #5143

Closed
2 of 7 tasks
gudenau opened this issue Oct 23, 2018 · 19 comments · Fixed by #12990
Closed
2 of 7 tasks

FireFox U2F Dongle Not Detected #5143

gudenau opened this issue Oct 23, 2018 · 19 comments · Fixed by #12990
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/bug

Comments

@gudenau
Copy link

gudenau commented Oct 23, 2018

  • Gitea version (or commit ref): 1.5.2
  • Git version: 2.11.0
  • Operating system: Debian Stretch
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite3
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

When attempting to add a YubiKey with FireFox it reports that it is not supported. I have it enabled in about:config, security.webauth.u2f;true.

Screenshots

image

@jonasfranz
Copy link
Member

When do this alert appears? Instant, when you click on your key or after approx. 30 seconds?

Did you installed the drivers for your "YubiKey"?

@gudenau
Copy link
Author

gudenau commented Oct 23, 2018

Sorry, was preoccupied.

The drivers are loaded, this is Linux and it works on GitHub. That message appears as soon as you hit the add button.

@jonasfranz
Copy link
Member

I cannot reproduce it since I don't have the hardware you used. Could you please specify your browser version and hardware?

@gudenau
Copy link
Author

gudenau commented Oct 28, 2018

Firefox v63.0 (64-bit)

YubiKey NEO and YubiKey 4 I think.

@nogweii
Copy link

nogweii commented Nov 13, 2018

Firefox 61+ uses WebAuthN, which is different from the U2F Javascript API that Chrome introduced. I haven't taken a look through Gitea's code, but that might be why it doesn't detect the security key - it uses the older (deprecated) API rather than the newer standardized one.

@lafriks
Copy link
Member

lafriks commented Nov 13, 2018

Works for me with YubiKey 5 on both Firefox 63 and Chrome on Windows and Linux

@rugk
Copy link
Contributor

rugk commented Nov 26, 2018

I can confirm it works on try.gitea.io as expected with Firefox and Fedora 29 here. (with security.webauth.u2f enabled obviously – as it has been said the new WebAuthn API is not yet supported by Gitea)

@tamalsaha
Copy link
Contributor

I am seeing the same error on Ubuntu 18.04 + Chrome 71.0.3578.98 .

u2f-chrome

@rugk
Copy link
Contributor

rugk commented Jan 13, 2019

@tamalsaha Did you enable security.webauth.u2f in about:config in Firefox?

Otherwise it won't work, as gitea still uses the legacy u2f API, instead of WebAuthn.

@tamalsaha
Copy link
Contributor

I am using Chrome. I can use U2F with Google services from this same Chrome installation.

@rugk
Copy link
Contributor

rugk commented Jan 13, 2019

Sorry, but this issue here is about Firefox. Better create a new issue then, if you encounter problems.

@tamalsaha
Copy link
Contributor

Thanks. I have filed #5720

@stale
Copy link

stale bot commented Mar 14, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label Mar 14, 2019
@rugk
Copy link
Contributor

rugk commented Mar 14, 2019

No bot, this is still an issue. And it will be. It's a bug, after all…

@stale stale bot removed the issue/stale label Mar 14, 2019
@lunny lunny added the issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented label Mar 16, 2019
@bricewge
Copy link

Just to report that I had the same issue when using Firefox Nightly 64.0a1 (2018-09-09) with a Yubikey NEO and enabeling security.webauth.u2f, as @rugk recommended, fixed it.

@6543
Copy link
Member

6543 commented Oct 24, 2019

@gudenau does it still not work ?
mine work fine ...

@foggy1
Copy link

foggy1 commented Dec 7, 2019

Confirmed that this is still an issue as pictured above on Firefox 70.0.1 on Manjaro Linux as well as latest Firefox developer addition on MacOS (latest Catalina). I have security.webauth.u2f set to true and use it on many other sites.

EDIT: Nevermind, it's an https issue (was over http)

@lunny
Copy link
Member

lunny commented Jan 17, 2020

I'm using Firefox(72.0.1) on macOS(10.14.5) . It's OK for me.

@sapk sapk mentioned this issue Feb 11, 2020
7 tasks
@sapk
Copy link
Member

sapk commented Feb 12, 2020

Do you use gitea under a subpath ? (like found in #10231 (comment))

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.