[Pcsclite-muscle] ccid no longer recognizes Nitrokey 3: Found interface 0 but expecting 1
Marcin Cieslak
saper at saper.info
Tue Oct 21 14:18:38 PDT 2025
On Tue, 21 Oct 2025, Marcin Cieslak wrote:
> Hello,
>
> I was using Nitrokey 3 for a pretty long time with pcscd+ccid
> for a quite a long time but one of the updates seems to break one
> thing for me - it seems that libccid does not
> want to talk to that smartcard.
>
> This is FreeBSD 15 on amd64 (so no systemd)
>
> pcsc-lite 2.3.3, polkit support disabled
> libccid 1.6.2
I have figured it out.
The USB interface 0 on that device gets detected by libccid and works
as a smartcard interface just fine.
The USB interface 1 on that device is a FIDO2/PassKey USB HID interface
and libccid needs not to deal with that.
The problem I was having was not related to the CCID support, only to that
HID interface (Somehome FreeBSD's usbhid(4) driver breaks the passkey, only
uhid(4) works).
I have misinterpreted the pcscd logs and started to think the device is not detected
at all. "RFAddReader() Nitrokey Nitrokey 3 init failed." sound scary
but this apparently pertains to only one USB interface, not to a whole device.
Marcin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3706 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/pcsclite-muscle/attachments/20251021/686f006e/attachment.p7s>
More information about the pcsclite-muscle
mailing list