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

YubiKey doesn't work with Brave #34441

Open
pushkin- opened this issue Nov 19, 2023 · 8 comments
Open

YubiKey doesn't work with Brave #34441

pushkin- opened this issue Nov 19, 2023 · 8 comments
Labels
needs-more-info The report requires more detail before we can decide what to do with this issue. OS/Desktop OS/Linux

Comments

@pushkin-
Copy link

Description

I'm getting what seems to be a dupe of this issue.

My YubiKey doesn't work in Brave. It works in Firefox though.

image

I see this in devtools:
DOMException: The operation either timed out or was not allowed. See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.

This happens when using other sites as well.

Steps to Reproduce

  1. go here https://demo.yubico.com/webauthn/
  2. Click Add Security Key
  3. Plug in key and touch it
  4. Get error above.

Actual result:

I get the error above.

Expected result:

Reproduces how often:

every time

Brave version (brave://version info)

Brave 1.60.114 Chromium: 119.0.6045.124 (Official Build) unknown (64-bit)
Revision 99a34933fc6a44fdfe52dea41341927bbce3549a
OS Linux
JavaScript V8 11.9.169.6
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36

Version/Channel Information:

  • Can you reproduce this issue with the current release? yes (believe I'm on latest; at least I updated yesterday)
  • Can you reproduce this issue with the beta channel? haven't tried
  • Can you reproduce this issue with the nightly channel? haven't tried

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? no
  • Does the issue resolve itself when disabling Brave Rewards? no
  • Is the issue reproducible on the latest version of Chrome? don't have another Chromium based browser installed. Though I do on my phone actually, where it worked.

Miscellaneous Information:

I installed Brave through the Pop Store rather than through sudo apt install brave-browser if it makes a difference

@thatLeaflet
Copy link

When I had this issue, I was able to fix it by starting Brave then plugging in my YubiKey.

@wknapik
Copy link
Contributor

wknapik commented Dec 11, 2023

I installed Brave through the Pop Store rather than through sudo apt install brave-browser if it makes a difference

It does. This was an issue with the snap version of the browser, resolved around the time of the report - #15003. Can you please update and test again?

@pushkin-
Copy link
Author

hm I updated through Pop Store (1.61.101) and get the same problems @wknapik

@wknapik
Copy link
Contributor

wknapik commented Jan 2, 2024

I just tried this in 1.61.109 (both the native and snap version) and couldn't reproduce the issue. I was able to add my yubikey and then successfully used it to authenticate on the Yubico website and on GitHub (both when it was inserted before the browser was started and after).

@wknapik
Copy link
Contributor

wknapik commented Jan 2, 2024

@pushkin- I'm not a Pop OS user, but I assume the Pop store is the equivalent of the Ubuntu store, which installs snaps by default. We could eliminate the snap containment as the source of the issue if you tried the native version of the browser (installed according to instructions from brave.com/linux).

@bsclifton bsclifton added OS/Linux needs-more-info The report requires more detail before we can decide what to do with this issue. labels Jan 2, 2024
@pushkin-
Copy link
Author

pushkin- commented Jan 2, 2024

@wknapik yep that seemed to do the trick. Thanks!

@Mange
Copy link

Mange commented Jan 22, 2024

I have the same issue. I'm on NixOS, using native install of Brave.

It works in Chrome and Firefox, but not in Brave.

Is there any sources of logs that I could provide?

Brave version:
Version 1.61.114 Chromium: 120.0.6099.199 (official) (64 bits)

@samuel-lucas6
Copy link

I've just got a YubiKey and can't get the WebAuthn demo to work in Brave either. I'm on Windows so tested it in Edge and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-more-info The report requires more detail before we can decide what to do with this issue. OS/Desktop OS/Linux
Projects
None yet
Development

No branches or pull requests

6 participants