Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] EnumerateRpsBeginResponse.GetData fails on some firmware versions when no RelyingParties exists #191

Open
1 task done
virot opened this issue Jan 26, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@virot
Copy link

virot commented Jan 26, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

On: YubiKey 5 NFC / 5.4.3
Security Key C by Yubico / 5.4.3

Causes:
Exception : Yubico.YubiKey.Fido2.Ctap2DataException: The FIDO2 info returned is invalid.
at Yubico.YubiKey.Fido2.Commands.EnumerateRpsBeginResponse.GetData()
at Yubico.YubiKey.Fido2.Fido2Session.EnumerateRelyingParties()

When adding a single RP it starts working as intended

Expected Behavior

Return zero same as 5.7.1 not a exception

Steps To Reproduce

Sample software:
https://github.com/virot/YubiKeyTests/blob/main/fido2_empty_fido/Program.cs

This does not use a KeyCollector, my project powershellYK does, and both are affected the same way and I am to lazy for my test code

Version

1.12.1

Version

5.4.3

Anything else?

No response

@virot virot added the bug Something isn't working label Jan 26, 2025
@DennisDyallo
Copy link
Collaborator

Thanks again @virot
I will look into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants