Skip to content

Update CA key usage error lint citations#997

Merged
christopher-henderson merged 2 commits intozmap:masterfrom
mhyder13:ca-ku-required-bits
Oct 5, 2025
Merged

Update CA key usage error lint citations#997
christopher-henderson merged 2 commits intozmap:masterfrom
mhyder13:ca-ku-required-bits

Conversation

@mhyder13
Copy link
Copy Markdown
Contributor

@mhyder13 mhyder13 commented Oct 4, 2025

Notes

These two lints date from the original implementation of zlint and the language has gotten messy after repeated reformatting as the project evolved. The language has also changed as the BRs have been updated. The checks are still relevant, but the metadata is now wrong and this change fixes that.

  • Updated the in-program citation strings for e_ca_key_cert_sign_not_set and e_ca_crl_sign_not_set to reference the current location of the requirements
  • Added a full history of the locations of these requirements to the lint comments for both lints
  • Updated the requirement language in the comments to match the current language in both lints
  • Updated the description string for e_ca_key_cert_sign_not_set to reflect that it applies to all CAs, that it only checks the cert sign bit, and to use REQUIRED instead of MUST to match the language used in the current version of the BRs

Doc References

Copy link
Copy Markdown
Member

@christopher-henderson christopher-henderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once again, hunting down (and presenting) the precise language of the requirement is extremely appreciated by me.

@christopher-henderson christopher-henderson merged commit e8db7b4 into zmap:master Oct 5, 2025
4 checks passed
@mhyder13 mhyder13 deleted the ca-ku-required-bits branch October 7, 2025 01:46
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

Successfully merging this pull request may close these issues.

2 participants