Skip to content

Use picoforge configure error #33

Description

@ncmro7

Before filing

  • I searched the existing issues and this is not a duplicate.
  • This is not an exploitable security bug (those go to a private advisory, not here).
  • I can still reproduce it on current main.

Area

Not sure

Firmware build

RS-Key 0.3.X

Board

waveshare rp2350 zero

Host environment

Windows 25H2,picoforge 0.6.0

What happened

librekeys/picoforge#102
Just like in this issue and my reply, there are still problems when trying to change RS-Key parameters using picoforge: you can't modify VIDPID and the name at the same time. Sometimes if you change the VIDPID, the name resets to default; if you change the name, the VIDPID resets to default. Also, LED-related settings don't seem to work either.

Also, when using picoforge to modify pico-fido2, if the VIDPID isn't Yubikey's VIDPID but the name is Yubico Yubikey, Yubico Authenticator works fine. But for RS-Keys where the name is changed to Yubico Yubikey via picoforge, Yubico Authenticator doesn't work. (Same with compilation)
update Yubico Authenticator log below

I'm not sure how much this is related to the firmware, but I checked the PR and saw some adaptations for picoforge, so I decided to open an issue here.

Steps to reproduce

flash device
use picoforge configure device

Output / logs

22:06:08.775 [helper] ERROR: Traceback (most recent call last):
22:06:08.775 [helper] ERROR:   File "authenticator-helper.py", line 40, in <module>
22:06:08.775 [helper] ERROR:   File "helper\__init__.py", line 149, in run_rpc_pipes
22:06:08.775 [helper] ERROR:   File "helper\__init__.py", line 127, in run_rpc
22:06:08.775 [helper] ERROR:   File "helper\device.py", line 103, in __init__
22:06:08.775 [helper] ERROR:   File "helper\device.py", line 155, in __init__
22:06:08.775 [helper] ERROR:   File "helper\device.py", line 159, in scan
22:06:08.775 [helper] ERROR:   File "helper\device.py", line 165, in list_children
22:06:08.775 [helper] ERROR:   File "ykman\pcsc\__init__.py", line 278, in list_devices
22:06:08.775 [helper] ERROR:   File "ykman\pcsc\__init__.py", line 114, in __init__
22:06:08.775 [helper] ERROR:   File "ykman\pcsc\__init__.py", line 69, in _pid_from_name
22:06:08.775 [helper] ERROR:   File "yubikit\core\__init__.py", line 156, in of
22:06:08.775 [helper] ERROR:   File "enum.py", line 793, in __getitem__
22:06:08.775 [helper] ERROR: KeyError: 'YK4_'
22:06:08.775 [helper] ERROR: [PYI-23088:ERROR] Failed to execute script 'authenticator-helper' due to unhandled exception!
22:06:39.823 [desktop.init] INFO: Copying log to clipboard (7.3.1)...

Anything else

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions