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

Unclear what fields are mandatory vs optional #1

Open
dthaler opened this issue Nov 8, 2018 · 1 comment
Open

Unclear what fields are mandatory vs optional #1

dthaler opened this issue Nov 8, 2018 · 1 comment

Comments

@dthaler
Copy link
Collaborator

dthaler commented Nov 8, 2018

For example in "dsi" in 9.1.5, is "tfwdata" mandatory or optional? The doc doesn't say.

I'd propose using a more formal description of the format, such as CDDL, which provides simple ways to specify what's mandatory, optional, etc. and also allows validation via tools.

For example, section 9.1.1 has:
"ocspdat": ["],
Notice the missing quote. This would be automatically detected if we allowed validation via a tool like can be done with CDDL.

@dthaler
Copy link
Collaborator Author

dthaler commented Mar 24, 2019

Another example is the "sdlist" field. If it contains 0 entries, must the field still be present?

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