Omit default cA flag value as required by spec - #444
Conversation
|
I'm not familar with the codebase, but doesn't this line have the same problem? rcgen/rcgen/src/certificate.rs Line 267 in edc6bb6 (Looks like this is the CSR path - I didn't do any verification for CSRs, but I assume it's a similar story there?) |
Thanks for flagging that! Reworked this to avoid duplicating logic between CSR and certificate encoding. |
cpu
left a comment
There was a problem hiding this comment.
Thanks for picking this up & doing the extra tidying.
Proposed release notes
Previous versions generated DER that is strictly incompatible with the spec, writing an explicit
falsevalue forIsCa::ExplicitNoCawhere this should be omitted (as it's the default).Fixes #443.