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

Lenient parsing of default values #823

Open
joyantaDebnath opened this issue Mar 30, 2024 · 1 comment
Open

Lenient parsing of default values #823

joyantaDebnath opened this issue Mar 30, 2024 · 1 comment

Comments

@joyantaDebnath
Copy link

joyantaDebnath commented Mar 30, 2024

Based on X.690 DER restrictions (section 11.5), when encoding a set or sequence, any field that is equal to its default value shall not be included in the encoding. Nevertheless, ZLint’s parser does not adhere to this requirement and reports errors for specific fields that have default values, such as the CA flag of the Basic Constraint extension, the critical flag of extensions, and the Version.

@CBonnell
Copy link
Contributor

CBonnell commented Apr 3, 2024

I think this is a duplicate of #639.

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

2 participants