-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Does not work with Firefox #65
Comments
Can you try flashing with a nightly development build? |
And it works well with Chrome, right? |
Yes |
With Firefox in Windows 10 works. Not sure if it is a linux problem. However, compared to Chrome, Firefox is extremely slow. It takes almost 1 minute to perform the process, whereas Chrome takes 2-3 seconds. |
I did not succeed in macOS neither. Firefox is sending continuously a bogus AAID for an unknown reason, which hangs the pico fido until it is closed. Perhaps is related. If you are skilled, you can build the firmware with “DEBUG_APDU=1” in cmake and debuging UART0. I use a TTL to USB dongle that costs a couple of dollars using a terminal opened to the exposed COM port. I can review the log then. |
On my setup (Firefox/Linux), my 2 other "real" FIDO2 key work fine. |
I will try to collect traces. |
Hello,here are the traces for the registration failure on Linux/Firefox �SCAN command 6 command 10 Data res_APDU + 1 (354 bytes): set_report 0 0 2 command 10 set_report 0 0 2 set_report 0 0 2 Data data + 1 (202 bytes): |
Nothing else? |
No |
The response is correct and indeed, if it works in other OS, I do not know why it is cancelled in Linux. Operation cancelled does not give much info, perhaps in the firefox console is something additional displayed? |
I register the key on Chrome successfuly (PIN is setup). And then I try again to register on Firefox. |
Does it work with https://webauthn.io ? Perhaps this helps to debug |
I checked the forums and found https://webauthn.bin.coffee/ testing site that raises similar issue. |
Related with #46 |
Does it work? "Adding on to the previous answer by Cody, and the respective comments, you must also enable Also:
|
I see on some forums that downloading Firefox from the official repository solved their issue. |
And enabling direct attestation? |
tried to enable all, does not work better |
Firefox support could help ? |
What is strange to me is that your true Yubikey works smoothly with Firefox. There's something in it that is recognized by Firefox somehow. |
Yes indeed. And I suspected udev but pico works fine with chromium... |
Any progress? |
no idea of research path... |
I have the same issue with Firefox. Falkon (webkit) on linux. Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Falkon/22.04.3 Chrome. so Firefox cancel only register. BUGs in Firefox ???. |
Firefox works fine with other FIDO2 keys so unclear to me... |
I have Linux Mint and the same issue, and I use Raspberry Pi Pico (rp2040) in the way I have explain. |
I can confirm I have the same issues with Firefox (currently at v132.0), I'm using the Waveshare RP2040 One running on Since I bought multiple waveshares I have one with and one without a pin set, both don't work. Any way to further debug this? Just tested on my wife's Mac and both, with and without pin, work. It's a Macbook Air M2 2022, MacOS Sonoma 14.2, Firefox v131.0.3 (aarch64) |
So which is the combination that does not work? |
On Linux/Ubuntu on firefox the picokey doesnt work, others do. The picokey does work on Chrome. On Mac it does work on Firefox and Chrome. |
I suspect it is related with the CCID interface. Firefox sends APDUs trying to find a specific file reference, but I do not know which one is the good one present in Yubikeys or Solo. If you want to debug, you can try to generate a log file of pcscd process. More info at https://ccid.apdu.fr/ (see Log section). Do it with your Yubikey. Plug the Yubikey and start Firefox. |
i don't know if this is related, but disabling however, it does fail immediately in other areas like github passkey registration, where the prompt to touch the key comes up for one frame and i can see the neopixel flash blue |
btw, i get the same behaviour with firefox on both macos and linux |
I'm not sure if this is related. So I had everything working well before updating to macOS 18, on Firefox. Previously when the mac prompt the take action on the security key box, the Pico would flash on and off with a delay of 1 second but now when the box prompt, the pico will either keep the led on forever or kept off. It seems like the mac literally doesn't see it security key or something. I thought something was corrupted on my Pico, so I even tried re-flashing the firmware with the latest ones (version 6) but this time when it is plugged in, the pico wouldn't even blink and be detected for some reason. And then I tried going down version by version and ended up in version 3 where it will blink when plugged in but face the same issue as what happened initially. On Windows however, it would be detected and blink as it should, but sometimes I'll have to reconnect the device multiple times for it to actually work as it would rapidly blink but does nothing sometimes. |
Can you try the nightly development build? There were some issues fixed recently. |
Yep, I've tried all of them, and it seems like its an issue on the mac itself but I don't know what it is |
yubikey fido test and github login still error out in the same way but now at least ask for a pin and presence auth, so it seems like a step in the right direction |
Can you check no NSS modules are interfering? I had a problem in the past with one PKCS11 module that stole the connection. You can check it at Settings > Privacy & Security > Certificates > Security Devices
|
if i had any, it wouldn't explain the identical behavior across two different devices (pc with linux, laptop with macOS) |
Usually OS handle smartcards differently. macOS relies on libccid, Windows relies on scard driver. And despite pico-fido is mainly used by hid interface, it has a ccid interface that may lock the card if a daemon requires it. I had this problem with firefox in macOS. Whilst it worked in Windows it did not work with macOS, due to the PKCS11 module in firefox. |
I can confirm the same issues. Firefox on linux doesnt work, both in flatpak and rpm. Chromium on linux works in both cases. Will test on macos and update. |
I fixed it for me, I run the non snap version of Firefox, the one from I've added the following to
and reloaded apparmor sudo service apparmor reload Correction, on Ubuntu 24.04 it seems to work, it doesn't on 22.04. |
No activity. Reopen if needed. |
Hello,
PicoFIDO fails to run on Raspberry Pi Pico with Firefox 131.0 under Linux Mint.
Testing on https://www.token2.com/tools/fido2-demo
It works fine with Chromium, but I need this solution to work with Firefox...
Thanks for your support.
The text was updated successfully, but these errors were encountered: