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] Registration fails when device is full and discoverable credentials is only preferred. #335

Open
gbdlin opened this issue Apr 13, 2024 · 0 comments

Comments

@gbdlin
Copy link

gbdlin commented Apr 13, 2024

Issue description

Right now, the registration process fails when the device cannot create any more discoverable credentials, because is full, when discoverable credential is set as "preferred" and not as "required. The expected outcome should be to fall back to non-discoverable credential as if the device wouldn't support discoverable credentials at all.

Steps to reproduce

  1. use hardware with limited storage for discoverable credentials (for example yubikey 5 series)
  2. Fill the device with dummy credentials
  3. Try to register new credential using the library, with discoverable/resident credential setting set as "preferred"
  4. Observe result

Expected result

Library should fall back into registering non-discoverable credential

Actual result

Registration fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant