zlint icon indicating copy to clipboard operation
zlint copied to clipboard

Lenient parsing of default values

Open joyantaDebnath opened this issue 2 years ago • 1 comments

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.

joyantaDebnath avatar Mar 30 '24 23:03 joyantaDebnath

I think this is a duplicate of https://github.com/zmap/zlint/issues/639.

CBonnell avatar Apr 03 '24 14:04 CBonnell