Pico Commissioner does nothing? #88

Open
opened 2025-01-18 20:26:16 +08:00 by rayray794 · 18 comments
rayray794 commented 2025-01-18 20:26:16 +08:00 (Migrated from github.com)

Hey there,

I'm having issues setting up a working "Fido2 Key for Secure Logins" .

At my disposal there is a plugged in ESP32-S3-Zero
As for my OS I'm running a Linux distro with a Chrome Browser installed,
greeting me with the following pop-up when using the ESP32 Flasher:

Image

After selecting the "seriual debug unit" from the list and pressing 'Connect',
I am then greeted with the following screens in sequence:

Image
Image
Image
Image
Image

The last popup says "Installation complete" , but I when I'm re-checking for any Logs, there seems to be NOTHING.

Also when trying to use the Pico Commissioner with mostly default settings,
after I've selected my device from the list, nothing happens at all.

After a while , the following appears: "Error commissioning: The operation either timed out or was not allowed. See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client."

I can't get "Commission via WebAuthn" to work either.
When selecting the 'USB security key' option,
I can press any combination of the ESP32 buttons but they do nothing, leaving me stuck with this screen:

Image

Before I used the ESP32 Flasher for the very first time, the LED lights on the ESP32 were also flashing.
Now they have gone off and haven't displayed any colour since.

What can I do to make it work?

Thanks for your effort looking into this.

Hey there, I'm having issues setting up a working "Fido2 Key for Secure Logins" . At my disposal there is a plugged in **ESP32-S3-Zero** As for my OS I'm running a **Linux** distro with a **Chrome Browser** installed, greeting me with the following pop-up when using the ESP32 Flasher: ![Image](https://github.com/user-attachments/assets/e36d272f-1006-49fc-91c5-0da05f5a7b42) After selecting the "seriual debug unit" from the list and pressing 'Connect', I am then greeted with the following screens in sequence: ![Image](https://github.com/user-attachments/assets/a44f214e-d3c1-4727-b3b9-c1f57dfadd13) ![Image](https://github.com/user-attachments/assets/045a2ba9-4874-4fa4-a61e-1897c5c1b1e9) ![Image](https://github.com/user-attachments/assets/f1d7e52e-6d20-4827-8209-48b367fa8c3e) ![Image](https://github.com/user-attachments/assets/9b5741ae-fdb0-4a39-b76c-67234e32c652) ![Image](https://github.com/user-attachments/assets/c4cbd921-e903-4722-b2ac-4e3131585524) The last popup says "Installation complete" , but I when I'm re-checking for any Logs, there seems to be NOTHING. Also when trying to use the Pico Commissioner with mostly default settings, after I've selected my device from the list, nothing happens at all. After a while , the following appears: "Error commissioning: The operation either timed out or was not allowed. See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client." I can't get "Commission via WebAuthn" to work either. When selecting the 'USB security key' option, I can press any combination of the ESP32 buttons but they do nothing, leaving me stuck with this screen: ![Image](https://github.com/user-attachments/assets/1142d4c5-cfc3-489d-9b80-68c1b2c8d3fb) Before I used the ESP32 Flasher for the very first time, the LED lights on the ESP32 were also flashing. Now they have gone off and haven't displayed any colour since. What can I do to make it work? Thanks for your effort looking into this.
polhenarejos commented 2025-01-18 20:35:59 +08:00 (Migrated from github.com)

It doesn’t seem detected by the browser. It should appear “Pico Key”. From the first picture I see only ttys appear.

It doesn’t seem detected by the browser. It should appear “Pico Key”. From the first picture I see only ttys appear.
rayray794 commented 2025-01-26 19:29:54 +08:00 (Migrated from github.com)

I've been trying out various things , different browsers, connecting, reconnecting, ereasing the device multiple times,
even asking chat-gpt for assistance, as I know very little about coding, except for "copying and pasting" (haha!)

Today, I came up with the following steps and somehow made it work:

  1. Flashed the Pico HSM Development version on my recognised "serial debug unit (ttyAMC0)"
  2. Flashed the Pico Fido Development version right afterwards
  3. I used the "dmesg -w" command, showing me the device recognised as a Pico Key (seen in the screenshot below)

Image

  1. I then went to https://www.picokeys.com/pico-commissioner/ ,
    selected a vendor (didn't touch any other settings),
    -> clicked on "Comission via WebUSB" .

Nothing seemed to be happening for like 3 seconds, so I clicked on "Comission via WebAuthn" straight away,
and voila, for some reason, I got a confirmation message and didn't even have to press any buttons on my device.

I tried out the key immediately on a website I had intended to register on, and it worked out flawlessly.
I still do not understand where I went wrong in the first place, but all seems to be working now!

Thanks!

Ps: It's not really a concern for me personally, but despite the device working as a security key now,
I just wanted to let you know that the LED lights never came back to life.

I've been trying out various things , different browsers, connecting, reconnecting, ereasing the device multiple times, even asking chat-gpt for assistance, as I know very little about coding, except for "copying and pasting" (haha!) Today, I came up with the following steps and somehow made it work: 1) Flashed the **Pico HSM Development version** on my recognised "serial debug unit (ttyAMC0)" 2) Flashed the **Pico Fido Development version** right afterwards 3) I used the "dmesg -w" command, showing me the device recognised as a Pico Key (seen in the screenshot below) ![Image](https://github.com/user-attachments/assets/258374f7-7b61-4fc1-b707-80f566bb3586) 4) I then went to https://www.picokeys.com/pico-commissioner/ , selected a vendor (didn't touch any other settings), -> clicked on "Comission via WebUSB" . Nothing seemed to be happening for like 3 seconds, so I clicked on "Comission via WebAuthn" straight away, and voila, for some reason, I got a confirmation message and didn't even have to press any buttons on my device. I tried out the key immediately on a website I had intended to register on, and it worked out flawlessly. I still do not understand where I went wrong in the first place, but all seems to be working now! Thanks! Ps: It's not really a concern for me personally, but despite the device working as a security key now, I just wanted to let you know that the LED lights never came back to life.
polhenarejos commented 2025-01-31 19:10:06 +08:00 (Migrated from github.com)

Perhaps uses a different GPIO. Which board you use? I'd need the vendor model.

Perhaps uses a different GPIO. Which board you use? I'd need the vendor model.
Oakwen commented 2025-03-01 10:30:29 +08:00 (Migrated from github.com)

I had the same problem with waveshare_rp2350_zero.
Click "Commission via WebUSB", select PIco Keys device and nothing happens.
"Commission via WebAuthn" works fine, and after about 3 seconds the green "Commissioned successfully!" will appear.

Thanks!

I had the same problem with waveshare_rp2350_zero. Click "Commission via WebUSB", select PIco Keys device and nothing happens. "Commission via WebAuthn" works fine, and after about 3 seconds the green "Commissioned successfully!" will appear. Thanks!
Oakwen commented 2025-03-04 13:22:31 +08:00 (Migrated from github.com)

BTW
I just bought a waveshare_rp2040_zero.
I have the same problem.

BTW I just bought a waveshare_rp2040_zero. I have the same problem.
Oakwen commented 2025-03-06 08:16:59 +08:00 (Migrated from github.com)

Pico Commissioner works fine on Chrome browser on openSUSE.
Waveshare_rp2040_zero and waveshare_rp2350_zero work fine.
It just doesn't work on Chrome browser on Windows 11.

Pico Commissioner works fine on Chrome browser on openSUSE. Waveshare_rp2040_zero and waveshare_rp2350_zero work fine. It just doesn't work on Chrome browser on Windows 11.
kasuha07 commented 2025-03-14 14:49:40 +08:00 (Migrated from github.com)

I had the same problem with waveshare_rp2350_zero. Click "Commission via WebUSB", select PIco Keys device and nothing happens. "Commission via WebAuthn" works fine, and after about 3 seconds the green "Commissioned successfully!" will appear.

Thanks!

same issue. Tested on my and friend's laptops with waveshare_rp2350_one.
Environment:

OS: Windows 10 x64 22H2
Browser: Chrome 134.0.6998.89

and

OS: Windows 11 24H2
Browser: Edge

Steps to reproduce:

  • open Pico Commissioner web page.
  • custom some configurations.
  • plug the device into laptop.
  • click Commission via WebUSB, select Pico Keys
  • wait for 1-2 minutes but nothing happens.
  • unplug the device

The output from console as the picture below:

  1. page loaded
  2. plug the device
  3. select the device
  4. unplug the device

Image

BTW, I tried to Commission via WebUSB on my android phone. It worked properly and showed "Commissioned successfully!".

> I had the same problem with waveshare_rp2350_zero. Click "Commission via WebUSB", select PIco Keys device and nothing happens. "Commission via WebAuthn" works fine, and after about 3 seconds the green "Commissioned successfully!" will appear. > > Thanks! same issue. Tested on my and friend's laptops with `waveshare_rp2350_one`. Environment: ``` OS: Windows 10 x64 22H2 Browser: Chrome 134.0.6998.89 ``` and ``` OS: Windows 11 24H2 Browser: Edge ``` Steps to reproduce: - open Pico Commissioner web page. - custom some configurations. - plug the device into laptop. - click `Commission via WebUSB`, select `Pico Keys` - wait for 1-2 minutes but nothing happens. - unplug the device The output from console as the picture below: 1. page loaded 2. plug the device 3. select the device 4. unplug the device ![Image](https://github.com/user-attachments/assets/9e5062e4-21d0-4107-b8ff-8918c41cee68) BTW, I tried to Commission via WebUSB on my android phone. It worked properly and showed "Commissioned successfully!".
polhenarejos commented 2025-03-14 15:08:04 +08:00 (Migrated from github.com)

When clicking on WebUSB a window like this should appear:

Image

If it does not appear it might be a problem of permissions or your browser.

When clicking on WebUSB a window like this should appear: ![Image](https://github.com/user-attachments/assets/c2d5d7f4-a10a-44ef-b86a-261911d89ef0) If it does not appear it might be a problem of permissions or your browser.
Oakwen commented 2025-03-14 15:17:55 +08:00 (Migrated from github.com)

This window will appear. Select the pico device, click "Connect" and nothing will happen.

This window will appear. Select the pico device, click "Connect" and nothing will happen.
Raito00 commented 2025-03-14 16:42:50 +08:00 (Migrated from github.com)

This window will appear. Select the pico device, click "Connect" and nothing will happen.

I get flashed custom data like this:

  1. Edit all Fields
  2. Click Commission via WebUSB and select Pico Key

Image

  1. Then trigger flash with - Commission via WebAuthn

Image

Accept enter PIN and wait ...

> This window will appear. Select the pico device, click "Connect" and nothing will happen. I get flashed custom data like this: 1. Edit all Fields 2. Click Commission via WebUSB and select Pico Key ![Image](https://github.com/user-attachments/assets/5d67c25f-8569-419a-81cf-c5c437ce98cc) 3. Then trigger flash with - Commission via WebAuthn ![Image](https://github.com/user-attachments/assets/6f2c2dc8-3c5b-4f3e-b8cb-681e7104d657) Accept enter PIN and wait ...
polhenarejos commented 2025-03-14 16:57:25 +08:00 (Migrated from github.com)

Actually if you opt for WebAuthn, there's no need to click on WebUSB. Both are different methods for commissioning.

Actually if you opt for WebAuthn, there's no need to click on WebUSB. Both are different methods for commissioning.
Raito00 commented 2025-03-14 16:59:03 +08:00 (Migrated from github.com)

Actually if you opt for WebAuthn, there's no need to click on WebUSB. Both are different methods for commissioning.

So then when try use WebUSB nothing happening for me also after select Pico key ...

> Actually if you opt for WebAuthn, there's no need to click on WebUSB. Both are different methods for commissioning. So then when try use WebUSB nothing happening for me also after select Pico key ...
Oakwen commented 2025-03-14 17:07:38 +08:00 (Migrated from github.com)

What is very strange is that WebUSB does not work under Windows, but works fine under openSUSE and Arch Linux.

What is very strange is that WebUSB does not work under Windows, but works fine under openSUSE and Arch Linux.
Raito00 commented 2025-03-14 17:22:20 +08:00 (Migrated from github.com)

What is very strange is that WebUSB does not work under Windows, but works fine under openSUSE and Arch Linux.

Can You please also check your Fido key here: https://webauthn.bin.coffee/

There is all ok with: AAGUID: xxxxxxxxxxxxxxxx ???

because i get 000000000000000

> What is very strange is that WebUSB does not work under Windows, but works fine under openSUSE and Arch Linux. Can You please also check your Fido key here: https://webauthn.bin.coffee/ There is all ok with: AAGUID: xxxxxxxxxxxxxxxx ??? because i get 000000000000000
Oakwen commented 2025-03-14 19:47:33 +08:00 (Migrated from github.com)

@Raito00

Image

You are right.

@Raito00 ![Image](https://github.com/user-attachments/assets/d5b4d1a6-46ca-4a1c-b218-c2b8dbaa9913) You are right.
polhenarejos commented 2025-03-17 18:38:57 +08:00 (Migrated from github.com)

To get the AAGUID you need to use Direct attestation. It is not shown in coffee.bin but it works in webauthn.io.

To get the AAGUID you need to use Direct attestation. It is not shown in coffee.bin but it works in webauthn.io.
intensecity commented 2025-06-13 09:34:30 +08:00 (Migrated from github.com)

Just reaffirming that the WebUSB method does not work in Windows. Currently working around this by using Android instead.
Cheers

Just reaffirming that the WebUSB method does not work in Windows. Currently working around this by using Android instead. Cheers
tsvico commented 2025-06-26 10:00:04 +08:00 (Migrated from github.com)

Just reaffirming that the WebUSB method does not work in Windows. Currently working around this by using Android instead. Cheers

Win7 in VM works fine, I use chrome 105 in win7 works fine

> Just reaffirming that the WebUSB method does not work in Windows. Currently working around this by using Android instead. Cheers Win7 in VM works fine, I use chrome 105 in win7 works fine
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dearsky/pico-fido#88