You are not logged in.

#1 2024-08-17 10:11:48

Inu_Tokisaki
Member
Registered: 2024-01-21
Posts: 19

YubiKey is not recognized by Yubico sw

Hello

I bought YubiKey and even though it works on my smartphone, when I plug it into my laptop via USB, the Yubiko sw such as YubiKey Manager and Yubico Authenticator still say "Insert your YubiKey" even though lsusb recognizes YubiKey.

I tried

journalctl -xe | grep yk

and got this:

ykman-gui[6110]: "PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
ykman-gui[6110]: qml: Function not found: 'yubikey.controller.refresh' (Traceback (most recent call last):
ykman-gui[6110]: qml: qrc:/qml/YubiKey.qml:208: TypeError: Cannot read property 'success' of undefined

yubioath-desktop[5856]: "PyOtherSide error: Traceback (most recent call last):\n\n  File \"qrc:///py/yubikey.py\", line 23, in <module>\n    from ykman.device import scan_devices, list_all_devices, connect_to_device, get_name, read_info\n\nImportError: cannot import name 'connect_to_device' from 'ykman.device' (/usr/lib/python3.12/site-packages/ykman/device.py)\n"
                                                   from ykman.device import scan_devices, list_all_devices, connect_to_device, get_name, read_info
                                               ImportError: cannot import name 'connect_to_device' from 'ykman.device' (/usr/lib/python3.12/site-packages/ykman/device.py)
systemd[993]: app-gnome-ykman\x2dgui-6110.scope: Consumed 543ms CPU time, 66.8M memory peak.

I installed yubikey-manager-qt, yubikey-manager and yubioath-desktop via pacman, I also enabled and started both pcscd.service and pcscd.

Thank you for your help.

Offline

#2 2024-08-18 19:43:43

ForOneResponse
Member
Registered: 2024-08-18
Posts: 1

Re: YubiKey is not recognized by Yubico sw

First of all try "ykman list", if you cannot find it then it might be a different issue from what I am describing below.

Secondly, beware that the package "yubioath-desktop" was flagged out of date 2023 meaning it is SEVERLY out of date at this point. I would recommend using the official "https://github.com/Yubico/yubioath-flut … /tag/7.0.0" version instead.

I ran into a similar issue, actually using up to date software fixed it for me. Good luck!

Offline

Board footer

Powered by FluxBB