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

Catch-all variants for more janus_messages enums #3108

Open
divergentdave opened this issue May 7, 2024 · 0 comments
Open

Catch-all variants for more janus_messages enums #3108

divergentdave opened this issue May 7, 2024 · 0 comments

Comments

@divergentdave
Copy link
Contributor

Currently we have catch-all enum variants for HPKE algorithm identifiers, to enable graceful handling of unsupported keys. We should add similar variants to other enums where it makes sense, so we can finish decoding messages where possible, and then return more tailored error messages from application logic, instead of urn:ietf:params:ppm:dap:error:invalidMessage. Note that this will be a breaking change to janus_messages.

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