Cant add key on Firefox on Linux #204

Open
opened 2025-11-28 01:19:48 +08:00 by MateoOO7 · 11 comments
MateoOO7 commented 2025-11-28 01:19:48 +08:00 (Migrated from github.com)

Im using Firefox on Linux ubuntu based distribution. On pages:

i see success, but when i try add key for example to bitwarden i see always:

Image

On another website, I see pop up asking me to press the button on the key and then it disappears after half a second.

Github?

Image

In chrome on the same OS and device its ok, i can add key.
I tried using Firefox in private mode without extensions and clean installation FF but without success.
I tested also on other device with different OS Linux Mint and still not working.
Tried also on Windows 11 and have success with Firefox this time.

My board: Tenstar RP2350 A4

Im use last nighly build firmware: pico_fido_waveshare_rp2350_plus_16mb-6.6.uf2
My firefox settings:

Image

LOG:

`RUST_LOG=authenticator=debug firefox

ATTENTION: default value of option mesa_glthread overridden by environment.

ATTENTION: default value of option mesa_glthread overridden by environment.

[INFO  authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw1")): No access (os error 13)

[INFO  authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw0")): No access (os error 13)

[INFO  authenticator::transport::platform::device] new device "/dev/hidraw2"

[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device

[INFO  authenticator::statemachine] Device "/dev/hidraw2" continues with the register process

[INFO  authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now.

[INFO  authenticator::transport::platform::transaction] Transaction was cancelled.

[INFO  authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw0")): No access (os error 13)

[INFO  authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw1")): No access (os error 13)

[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device

[INFO  authenticator::transport::platform::device] new device "/dev/hidraw2"

[INFO  authenticator::statemachine] Device "/dev/hidraw2" continues with the register process

[INFO  authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now.

[INFO  authenticator::transport::platform::transaction] Transaction was cancelled.

[INFO  authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw1")): No access (os error 13)

[INFO  authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw0")): No access (os error 13)

[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device

[INFO  authenticator::transport::platform::device] new device "/dev/hidraw2"

[INFO  authenticator::statemachine] Device "/dev/hidraw2" continues with the register process

[INFO  authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now.

[INFO  authenticator::transport::platform::transaction] Transaction was cancelled.

[INFO  authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw0")): No access (os error 13)

[INFO  authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw1")): No access (os error 13)

[INFO  authenticator::transport::platform::device] new device "/dev/hidraw2"

[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device

[INFO  authenticator::statemachine] Device "/dev/hidraw2" continues with the register process

[INFO  authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now.

[INFO  authenticator::transport::platform::transaction] Transaction was cancelled.`
Im using Firefox on Linux ubuntu based distribution. On pages: - https://webauthn.bin.coffee/ - https://webauthn.io/ i see success, but when i try add key for example to bitwarden i see always: <img width="421" height="200" alt="Image" src="https://github.com/user-attachments/assets/d238ae51-bb90-4710-964e-960828fc293b" /> On another website, I see pop up asking me to press the button on the key and then it disappears after half a second. Github? <img width="302" height="319" alt="Image" src="https://github.com/user-attachments/assets/31a8eef9-3b2e-4346-bd4d-2d995a2baea0" /> In chrome on the same OS and device its ok, i can add key. I tried using Firefox in private mode without extensions and clean installation FF but without success. I tested also on other device with different OS Linux Mint and still not working. Tried also on Windows 11 and have success with Firefox this time. My board: Tenstar RP2350 A4 Im use last nighly build firmware: pico_fido_waveshare_rp2350_plus_16mb-6.6.uf2 My firefox settings: <img width="1013" height="578" alt="Image" src="https://github.com/user-attachments/assets/e8cca4c6-3430-4a8c-902b-25f3ee90de15" /> LOG: ``` `RUST_LOG=authenticator=debug firefox ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. [INFO authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw1")): No access (os error 13) [INFO authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw0")): No access (os error 13) [INFO authenticator::transport::platform::device] new device "/dev/hidraw2" [INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device [INFO authenticator::statemachine] Device "/dev/hidraw2" continues with the register process [INFO authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now. [INFO authenticator::transport::platform::transaction] Transaction was cancelled. [INFO authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw0")): No access (os error 13) [INFO authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw1")): No access (os error 13) [INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device [INFO authenticator::transport::platform::device] new device "/dev/hidraw2" [INFO authenticator::statemachine] Device "/dev/hidraw2" continues with the register process [INFO authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now. [INFO authenticator::transport::platform::transaction] Transaction was cancelled. [INFO authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw1")): No access (os error 13) [INFO authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw0")): No access (os error 13) [INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device [INFO authenticator::transport::platform::device] new device "/dev/hidraw2" [INFO authenticator::statemachine] Device "/dev/hidraw2" continues with the register process [INFO authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now. [INFO authenticator::transport::platform::transaction] Transaction was cancelled. [INFO authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw0")): No access (os error 13) [INFO authenticator::statemachine] error happened with device: Error: Ioerror(Some("/dev/hidraw1")): No access (os error 13) [INFO authenticator::transport::platform::device] new device "/dev/hidraw2" [INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device [INFO authenticator::statemachine] Device "/dev/hidraw2" continues with the register process [INFO authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now. [INFO authenticator::transport::platform::transaction] Transaction was cancelled.` ```
imSarahOwl commented 2025-11-30 12:37:09 +08:00 (Migrated from github.com)

Hey, I have the same board and am experiencing the same issue, tried flashing with the waveshare firmware and a custom one made for the rp2350a, but still to no avail.
Did you get any further?

Hey, I have the same board and am experiencing the same issue, tried flashing with the waveshare firmware and a custom one made for the rp2350a, but still to no avail. Did you get any further?
polhenarejos commented 2025-12-01 04:22:30 +08:00 (Migrated from github.com)

It's an issue of permissions

sudo nano /etc/udev/rules.d/70-fido.rules

KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0666"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", GROUP="plugdev", MODE="0660"

sudo udevadm control --reload-rules
sudo udevadm trigger

and reboot the picokey. Also check your user belongs to plugdev group.

It's an issue of permissions ``` sudo nano /etc/udev/rules.d/70-fido.rules KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0666" KERNEL=="hidraw*", SUBSYSTEM=="hidraw", GROUP="plugdev", MODE="0660" sudo udevadm control --reload-rules sudo udevadm trigger ``` and reboot the picokey. Also check your user belongs to `plugdev` group.
imSarahOwl commented 2025-12-01 04:52:41 +08:00 (Migrated from github.com)

I've tried it in my machine, Arch Linux, Firefox version 145.0, and I am getting this in the logs now

[INFO  authenticator::transport::platform::device] new device "/dev/hidraw1"
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::statemachine] Device "/dev/hidraw1" continues with the register process
[WARN  authenticator::ctap2] error happened: Error: Unexpected apdu status: Unknown([100, 0])
[INFO  authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now.
[INFO  authenticator::transport::platform::transaction] Transaction was cancelled.

My user is in the plugdev group

I've tried it in my machine, Arch Linux, Firefox version 145.0, and I am getting this in the logs now ``` [INFO authenticator::transport::platform::device] new device "/dev/hidraw1" [INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device [INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device [INFO authenticator::statemachine] Device "/dev/hidraw1" continues with the register process [WARN authenticator::ctap2] error happened: Error: Unexpected apdu status: Unknown([100, 0]) [INFO authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now. [INFO authenticator::transport::platform::transaction] Transaction was cancelled. ``` My user is in the plugdev group
MateoOO7 commented 2025-12-01 04:53:39 +08:00 (Migrated from github.com)

It's an issue of permissions

No results for me

cat /etc/udev/rules.d/70-fido.rules
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0666"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", GROUP="plugdev", MODE="0660"
groups
me adm sudo plugdev lpadmin
sudo udevadm control --reload-rules
sudo udevadm trigger
RUST_LOG=authenticator=debug firefox
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::transport::platform::device] new device "/dev/hidraw2"
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::statemachine] Device "/dev/hidraw2" continues with the register process
[INFO  authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now.
[INFO  authenticator::transport::platform::transaction] Transaction was cancelled.
[INFO  authenticator::transport::platform::device] new device "/dev/hidraw2"
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::statemachine] error happened with device: Error: requested operation is not available on device
[INFO  authenticator::statemachine] Device "/dev/hidraw2" continues with the register process
[INFO  authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now.
[INFO  authenticator::transport::platform::transaction] Transaction was cancelled.

> It's an issue of permissions No results for me ``` cat /etc/udev/rules.d/70-fido.rules KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0666" KERNEL=="hidraw*", SUBSYSTEM=="hidraw", GROUP="plugdev", MODE="0660" groups me adm sudo plugdev lpadmin sudo udevadm control --reload-rules sudo udevadm trigger RUST_LOG=authenticator=debug firefox ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. [INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device [INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device [INFO authenticator::transport::platform::device] new device "/dev/hidraw2" [INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device [INFO authenticator::statemachine] Device "/dev/hidraw2" continues with the register process [INFO authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now. [INFO authenticator::transport::platform::transaction] Transaction was cancelled. [INFO authenticator::transport::platform::device] new device "/dev/hidraw2" [INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device [INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device [INFO authenticator::statemachine] error happened with device: Error: requested operation is not available on device [INFO authenticator::statemachine] Device "/dev/hidraw2" continues with the register process [INFO authenticator::statemachine] Statemachine was cancelled. Cancelling transaction now. [INFO authenticator::transport::platform::transaction] Transaction was cancelled. ```
imSarahOwl commented 2025-12-06 03:55:07 +08:00 (Migrated from github.com)

hey, did anyone get it to work?

hey, did anyone get it to work?
polhenarejos commented 2025-12-06 18:15:33 +08:00 (Migrated from github.com)

Are you using v7.0?

Are you using v7.0?
MateoOO7 commented 2025-12-06 22:15:15 +08:00 (Migrated from github.com)

Are you using v7.0?

Yes! I have the latest firmware from Nightly Bulid pico_fido_waveshare_rp2350_plus_16mb-7.0.uf2 installed and I still have this issue

> Are you using v7.0? Yes! I have the latest firmware from Nightly Bulid pico_fido_waveshare_rp2350_plus_16mb-**7.0**.uf2 installed and I still have this issue
chengnan049 commented 2025-12-20 15:23:24 +08:00 (Migrated from github.com)

I remember it's Firefox's bug.

I remember it's Firefox's bug.
MateoOO7 commented 2025-12-21 03:17:32 +08:00 (Migrated from github.com)

I remember it's Firefox's bug.

Is there any solution to fix it? It's strange why this bug only occurs on Linux.

> I remember it's Firefox's bug. Is there any solution to fix it? It's strange why this bug only occurs on Linux.
MateoOO7 commented 2026-01-11 01:14:18 +08:00 (Migrated from github.com)

After upgrade to 7.2 version firmware i can finally add key on Firefox under Linux. Bitwarden, Github and few more sites i have no problem to add passkey. I hope it will be the same on other websites.

After upgrade to 7.2 version firmware i can finally add key on Firefox under Linux. Bitwarden, Github and few more sites i have no problem to add passkey. I hope it will be the same on other websites.
polhenarejos commented 2026-01-11 06:13:15 +08:00 (Migrated from github.com)

Good to hear that latest fixes solved the issue.

Good to hear that latest fixes solved the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dearsky/pico-fido#204