Skip to content

[BUG] YubiKeyDevice.FindAll does not find YubiKey 5 NFC on common NFC-Reader #143

@mrmorrandir

Description

@mrmorrandir

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When using a YubiKey 5 NFC on a ACR122U reader (ACS ACR122U PICC Interface 0) the SDK will not return any YubiKeyDevice on YubiKeyDevice.FindAll().

Tests with .\ykman.exe --reader 'ACS ACR122U PICC Interface 0' info will return correct info:
image

Smartcard Device is shown correctly under Win10 Hardware Manager:
image

Yubico Authenticator can access the YubiKey:
image
image

Expected Behavior

YubiKeyDevice.FindAll() should return device to work with.

Steps To Reproduce

No response

Version

1.10.0

Version

5.4.3

Anything else?

The SmartCardDeviceListener detects the reader and card correctly, but the ISmartCardDeviceExtensions.IsYubicoDevice(...) method will return false because the ProductAtrs.AllYubiKeys.Contains(device.Atr!) will return false, because the ISmartCardDevice.Atr (that is also returned by the SmartCardDevice.GetSmartCardDevices().FirstOrDefault()) is not in the list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions