OU (2.5.4.11) is incorrectly omitted from the allow list in e_ev_extra_subject_attribs#915
Conversation
…a_subject_attribs
|
As it's reminded into the lint's code itself....
Since the lint has an effective date of As I pointed out in the in-code comments, there is already another lint that specifically deals with the OU prohibition ( |
I'm still in favor of not having OU in the allow list here. But I can live with it if you take a different direction ;) I will expand on why I personally find it the better approach, which boils down to two items:
|
Actually, the |
|
Apart from that, let's take for example this EV certificate: Since it was issued on 2022-06-23, when the OU was still allowed, IMO it's wrong to raise an error about the OU attribute being present in the Subject of this cert. This would not have happened if it was not for PR#903. My understanding, and it seems completely logical to me, is that Zlint should detect if the certificate has any features that break the rules that were in place at the time when the certificate was issued. If a certificate that was good when it was issued later "becomes" bad (as the rules change over time), it would not be correct to dispute something with the issuing CA. |
For my part, I actually spent well over an hour combing over the BRs trying to understand why the heck is in the allow list to begin with. All that work instead of scrolling up in the code file 🤕 |
The relevant date table of the EV CABF guidelines specifically references that §9.2.7 regarding the prohibition of
subject:organizationalUnitName (OID: 2.5.4.11)takes effect on 2022-09-01 rather than inheriting the effective date of the parent revision.organizationalUnitNamefield in the Subject.The lint's in-code documentation correctly identifies that it should not have an opinion on
subject:organizationalUnitName (OID: 2.5.4.11)as that lint covers all other subject attributes and leaves OU to its own lint. However, we removed OU from the allow list of this lint in #903. For my part, I read the CABF guideline and agreed to the change because I had forgotten that there was wording elsewhere that overrides the parent document's effective date.@XolphinMartijn and @defacto64 I would appreciate it if you would chime in on whether-or-not you may an argument against the above. If not then I will move forward with the change.
Thank you @mathewhodson for your PR at #911 which highlighted this issue.