Skip to content

Cs add aia lints#1036

Merged
christopher-henderson merged 7 commits into
zmap:masterfrom
digirenpeter:cs-add-aia-lints
Apr 19, 2026
Merged

Cs add aia lints#1036
christopher-henderson merged 7 commits into
zmap:masterfrom
digirenpeter:cs-add-aia-lints

Conversation

@digirenpeter

Copy link
Copy Markdown
Contributor

Added code signing lints for the following requirements:

  1. This extension MUST be present. It MUST NOT be marked critical. (lint_cs_authority_information_access.go)
  2. It MUST contain the HTTP URL of the Issuing CA’s certificate (accessMethod = 1.3.6.1.5.5.7.48.2) (lint_cs_aia_missing_ca_issuers_http_url.go)
  3. If the CA provides OCSP responses, it MUST contain the HTTP URL of the Issuing CA’s OCSP responder (accessMethod = 1.3.6.1.5.5.7.48.1). (lint_cs_aia_ocsp_not_http.go)

The requirement is the same for subscriber and subCA certificates, so these will apply to both.

lint.RegisterCertificateLint(&lint.CertificateLint{
LintMetadata: lint.LintMetadata{
Name: "e_cs_aia_missing_ca_issuers_http_url",
Description: "The authorityInformationAccess extension MUST contain the HTTP URL of the Issuing CA's certificate (id-ad-caIssuers).",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Perhaps I am confused here, but I am seeing SHOULD language from the CABF. Could you help me find MUST language for this?


From what I can find...

CABF 1.2.

It SHOULD also contain the HTTP URL of the Issuing CA’s certificate
(accessMethod = 1.3.6.1.5.5.7.48.2). See Section 13.2.1 for details.

CABF 2.2.6.

Access Method OID Access Location Presence Maximum Description
id-ad-caIssuers 1.3.6.1.5.5.7.48.2 uniformResourceIdentifier SHOULD * A HTTP URL of the Issuing CA’s certificate

We also have w_sub_cert_aia_does_not_contain_issuing_ca_url which is returning a warning on this SHOULD language.

@digirenpeter digirenpeter Apr 19, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

In the latest code signing cabf requirements (v3.10.0 section 7.1.2.3c) it has it as MUST for subca and code signing certs

authorityInformationAccess

This extension MUST be present. It MUST NOT be marked critical.

It MUST contain the HTTP URL of the Issuing CA’s certificate (accessMethod = 1.3.6.1.5.5.7.48.2). If the CA provides OCSP responses, it MUST contain the HTTP URL of the Issuing CA’s OCSP responder (accessMethod = 1.3.6.1.5.5.7.48.1).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ahhh there's the disconnect, I was looking at server certs 😮‍💨 Yeah I see it now.

Thank you for clearing that up!

@christopher-henderson christopher-henderson merged commit 5dc4eaf into zmap:master Apr 19, 2026
4 checks passed
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