You are not logged in.

#1 2024-06-04 19:38:22

ben42
Member
Registered: 2024-06-04
Posts: 2

[SOLVED] No YubiKey detected, even if usb device is recognized

I've installed yubikey according to Arch Wiki. The usb device is successfully recognized as FIDO2 security key. But ykman can't find the device. Any suggestions or ideas what the issue could be? roll I'm now searching for several hours, but got stuck so far.. Some relevant logs & diagnostics:

List of usb devices shows the FIDO2 Security Key:

$ cyme
  1   1  0x1d6b 0x0002 xHCI Host Controller 0000:00:0d.0 480.0 Mb/s
  2   1  0x1d6b 0x0003 xHCI Host Controller 0000:00:0d.0          -
  3  14 0x349e 0x0022 FIDO2 Security Key   -             12.0 Mb/s
  3   2  0x30c9 0x00ad Integrated Camera    0001         480.0 Mb/s
  3   3  0x8087 0x0033 AX211 Bluetooth      -             12.0 Mb/s
  3   1  0x1d6b 0x0002 xHCI Host Controller 0000:00:14.0 480.0 Mb/s
  4   1  0x1d6b 0x0003 xHCI Host Controller 0000:00:14.0  10.0 Gb/s

The service pcscd.service is active:

$ sudo systemctl status pcscd              
● pcscd.service - PC/SC Smart Card Daemon
     Loaded: loaded (/usr/lib/systemd/system/pcscd.service; indirect; preset: disabled)
     Active: active (running) since Tue 2024-06-04 21:10:19 CEST; 14min ago
TriggeredBy: ● pcscd.socket
       Docs: man:pcscd(8)
   Main PID: 59221 (pcscd)
      Tasks: 7 (limit: 38046)
     Memory: 1.5M (peak: 2.7M)
        CPU: 151ms
     CGroup: /system.slice/pcscd.service
             └─59221 /usr/bin/pcscd --foreground --auto-exit

Jun 04 21:10:19 blackbox systemd[1]: Started PC/SC Smart Card Daemon.
Jun 04 21:10:19 blackbox (pcscd)[59221]: pcscd.service: Referenced but unset environment variable evaluates to an empty string: PCSCD_ARGS
$ sudo ykman --diagnose                    
ykman:            5.4.0
Python:           3.12.3 (main, Apr 23 2024, 09:16:07) [GCC 13.2.1 20240417]
Platform:         linux
Arch:             x86_64
System date:      2024-06-04
Running as admin: True
Detected PC/SC readers:
Detected YubiKeys over PC/SC:
Detected YubiKeys over HID OTP:
Detected YubiKeys over HID FIDO:
$ ykman info                 
ERROR: No YubiKey detected!
$ uname -a
Linux blackbox 6.9.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000 x86_64 GNU/Linux

Last edited by ben42 (2024-06-05 05:24:28)

Offline

#2 2024-06-04 20:39:52

zpg443
Member
Registered: 2016-12-03
Posts: 315

Re: [SOLVED] No YubiKey detected, even if usb device is recognized

Did you install yubico-authenticator-bin? Since the pcscd.service is active, maybe that is what is missing.

Offline

#3 2024-06-05 05:23:24

ben42
Member
Registered: 2024-06-04
Posts: 2

Re: [SOLVED] No YubiKey detected, even if usb device is recognized

It's a bit embarrassing. I have noticed that it is not a Yubikey but another manufacturer. Everything works now as expected!
Thank you very much for your help!

Offline

Board footer

Powered by FluxBB