-
Notifications
You must be signed in to change notification settings - Fork 7
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
Further simplifications #172
Comments
I raised an issue (#140) before to discuss this before, and agreed not to change the special cases, since we do not want to change the syntax. In the next version (-10), the C509 certificate types 0 and 1 are increased to 2 and 3 respectively. This allows us to do more improvements, even with syntax change, e.g. removing the special cases above. |
Yes, and I think it should remain an issue pending more input.
Those new numbers were only introduced to gracefully handle early adoption of the draft. That change does not warrant any change in design, but arguments about complexity do, as may other input. |
Side notes. CBOR encoding of MAC addresses: CBOR encoding of IPv6 addresses: |
Some of the authors discussed this issue. We don't have enough input to make a change. These special cases were introduced based on previous assessments of relevant optimizations. If we are reconsidering them then we would need more input. Please give an example how complicated this can be. Further proposals for encoding or combining these special cases are also welcome! |
The current encoding mechanism is a trade-off between encoded certificate size and code complexity. It has been suggested by @xipki remove some special cases for a cleaner design:
There is no obvious right or wrong here. Comments are welcome.
The text was updated successfully, but these errors were encountered: