[Pcsclite-muscle] pcscd Yubico Yubikey 4 U2F+CCID init failed

Ludovic Rousseau ludovic.rousseau at gmail.com
Sat Apr 17 15:57:09 BST 2021


Hello Trevor,

Le sam. 17 avr. 2021 à 16:32, Trevor Clark <r.trevor.clark at gmail.com> a écrit :
>
> I cannot get pcscd to work with my yubikey on RHEL 8 ( I have also
> tried Fedora 33 with no luck either ).
>
> smart card reader driver name and version: Yubico Yubikey 4 U2F+CCID 00 00
>
> This is a USB type A Yubikey.
>
> pcsc-lite version:
>
> ```
> Name         : pcsc-lite
> Version      : 1.8.23
> Release      : 3.el8
> Architecture : x86_64
> Size         : 224 k
> Source       : pcsc-lite-1.8.23-3.el8.src.rpm
> ```
>
>
> the output of the command "/usr/sbin/pcscd --version"
> ```
> pcsc-lite version 1.8.23.
> Copyright (C) 1999-2002 by David Corcoran <corcoran at musclecard.com>.
> Copyright (C) 2001-2015 by Ludovic Rousseau <ludovic.rousseau at free.fr>.
> Copyright (C) 2003-2004 by Damien Sauveron <sauveron at labri.fr>.
> Report bugs to <pcsclite-muscle at lists.alioth.debian.org>.
> Enabled features: Linux x86_64-redhat-linux-gnu libsystemd serial usb
> libudev usbdropdir=/usr/lib64/pcsc/drivers ipcdir=/var/run/pcscd
> configdir=/etc/reader.conf.d
> ```
>
> Operating system or GNU/Linux distribution name and version: RHEL 8.3
>
> When I look at the status of pcscd I get the following stating that
> Yubico init failed
>
> ```
>   pcscd.service - PC/SC Smart Card Daemon
>    Loaded: loaded (/usr/lib/systemd/system/pcscd.service; indirect;
> vendor preset: disabled)
>    Active: active (running) since Fri 2021-04-16 19:44:35 PDT; 57min ago
>  Main PID: 82341 (pcscd)
>     Tasks: 5 (limit: 150548)
>    Memory: 2.3M
>    CGroup: /system.slice/pcscd.service
>            └─82341 /usr/sbin/pcscd --foreground --auto-exit
>
> Apr 16 19:44:35 tc-desktop systemd[1]: Started PC/SC Smart Card Daemon.
> Apr 16 19:44:35 tc-desktop pcscd[82341]: 00000000
> ifdhandler.c:150:CreateChannelByNameOrChannel() failed
> Apr 16 19:44:35 tc-desktop pcscd[82341]: 00000010
> readerfactory.c:1106:RFInitializeReader() Open Port 0x200000 Failed
> (usb:1050/0406:libudev:0:/dev/bus>
> Apr 16 19:44:35 tc-desktop pcscd[82341]: 00000002
> readerfactory.c:376:RFAddReader() Yubico Yubikey 4 U2F+CCID init
> failed.
> ```
>
> Please let me know if there is anything other information that you
> need. I would really like to resolve this.
>
> Thanks for all your hard work and help in advance.

>From the log you sent I do not see any problem.
The token is working fine and repored the ATR.

See https://ludovicrousseau.blogspot.com/2014/03/level-1-smart-card-support-on-gnulinux.html

Bye

-- 
 Dr. Ludovic Rousseau



More information about the pcsclite-muscle mailing list