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

Fixing counter increment in ctap_filter_invalid_credentials() #493

Merged

Conversation

dmpiergiacomo
Copy link
Contributor

@dmpiergiacomo dmpiergiacomo commented Dec 11, 2020

This change fixes some issues with the fido2-tests. Specifically it fixes:

  • This line. Now Solo returns the correct number of credentials allowing one more test to succeed.
  • These lines since getAssertionState.user_verified is no longer mistakenly set to 0 due to a wrong size used during the memmove().
  • These lines for same reason above.

Notice that the tests still fail due to design choices ("Initial SoloKeys model truncates displayName").

I'm currently testing the PC (UDP) version without hardware needed (version 4.0.0).

@conorpp
Copy link
Member

conorpp commented Jan 28, 2021

Thank you and good catch! Merging and testing now.

@conorpp conorpp merged commit 42cb332 into solokeys:master Jan 28, 2021
@conorpp
Copy link
Member

conorpp commented Jan 28, 2021

@all-contributors please add @dmpiergiacomo code, bug

@allcontributors
Copy link
Contributor

@conorpp

I've put up a pull request to add @dmpiergiacomo! 🎉

@dmpiergiacomo
Copy link
Contributor Author

Thank you for adding me to the list of contributors, very appreciated 🙂

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

Successfully merging this pull request may close these issues.

2 participants