-
Notifications
You must be signed in to change notification settings - Fork 171
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
cbor2 exceptions are not caught #176
Comments
It's also worth noting that cbo2 is throwing the wrong type of exception at the moment too: agronholm/cbor2#174 |
I've created #176 to offer up a py_webauthn-specific error code that can be detected when I acknowledge I can do more to smooth out CBOR-related issues. I think I'll try and think through that when I attempt to abstract Pydantic-specific errors as part of addressing #173. |
Improved error reporting from CBOR-related decoding errors is now available in |
If an invalid payload is sent to a server that uses
verify_registration_response
Example:
Error when running test:
Thoughts on adding a cbor parsing exception similar to the client data json exception?
The text was updated successfully, but these errors were encountered: