Releases: zmap/zlint
v3.6.5-rc2
ZLint v3.6.5-rc2
The ZMap team is happy to share ZLint v3.6.5-rc2.
Thank you to everyone who contributes to ZLint!
New Lints
e_subj_contains_html_entities
Detects the presence of HTML entities (e.g. '&') in the Subject, which probably shouldn't be theree_ev_invalid_orgid_reg_scheme
The Registration Schemes allowed in organizationIdentifier are those listed in Appendix He_ev_extra_subject_attribs
CAs SHALL NOT include any Subject Distinguished Name attributes except as specifiede_crl_has_authority_key_identifier
The CRL must include Authority Key Identifier extensione_crl_unique_revoked_certificate
The CRL must not include duplicate serial numbers in its revoked certificates liste_invalid_ca_certificate_policies
Checks that the Policy OIDs in the CertificatePolicies extension of a SubCA certificate comply with CABF requirements
Bug Fixes
- Corrected
e_ev_extra_subject_attribs
to not allow OUs
Security
- Upgraded golang.org/x/crypto from 0.25.0 to 0.31.0 to address CVE-2024-45337
- Upgraded golang.org/x/net from 0.27.0 to 0.33.0 to address CVE-2024-45338
Misc
- More clear language in CLI option descriptions.
- An upgrade to the repository's linter.
- Addition of the Delta CRL Indicator OID to the list of known OIDs
- Added effective dates for CABF/BR 2.0.1 to 2.0.8
- Typo correction in citation string for
e_crl_has_authority_key_identifier
- Updated ZCrypto to 3a86168
- Updates to the
newLint.sh
helper script. - New repo tooling to generate test CRLs.
Changelog
- 629cb54 Add lint to detect HTML entities in Subject attributes (#907)
- cd73211 fix: organizationUnitName is prohibited (#903)
- 1fccaa7 Patch for CVE CVE-2024-45337 in test CRL generation tool (#906)
- 5c47a01 build(deps): bump golang.org/x/crypto in /v3/cmd/genTestCerts (#905)
- cb26b9e build(deps): bump golang.org/x/crypto from 0.25.0 to 0.31.0 in /v3 (#904)
- 0d1ece3 Add lint to check for a valid Registration Scheme in the Subject.organizationIdentifier of EV certificates (#901)
- 82c722b Add lint to check that EV certificates contain only allowed attributes in the Subject (#902)
- 529e5e5 Add functionality to generate CRL in asn1 encoding (#893)
- 5807078 Fix newLint.sh CLI (#897)
- 5534545 Linter is broken due to a broken dependency on an old Golang version (#900)
- d0b1e1f Update to zcrypto 3a86168 (#899)
- 989baef Correct typo in RFC section reference (#898)
- 6ec3b31 Add lint to check Authority Key Identifier in CRL Extension (#892)
- eba3486 Add Effective Date for recent CABFBRs (#895)
- 84d8f29 Add Delta CRL Indicator Oid (#896)
- 920bf49 Add Delta CRL Indicator Oid (#894)
- 4b55d49 Add lint to check that CRL does not have duplicates in RevokedCertificates (#890)
- d0dc117 Add lint for checking compliance with §7.1.2.10.5 of the BRs (CA Certificate Policies) (#887)
- f1f5644 Upgrade linter to 1.61.0 and address new lints (#891)
- 45a7d73 Improve the language on some CLI option descriptions (#886)
Full Changelog:v3.6.4...v3.6.5-rc2
v3.6.5
ZLint v3.6.5
The ZMap team is happy to share ZLint v3.6.5.
Thank you to everyone who contributes to ZLint!
New Lints
e_subj_contains_html_entities
Detects the presence of HTML entities (e.g. '&') in the Subject, which probably shouldn't be theree_ev_invalid_orgid_reg_scheme
The Registration Schemes allowed in organizationIdentifier are those listed in Appendix He_ev_extra_subject_attribs
CAs SHALL NOT include any Subject Distinguished Name attributes except as specifiede_crl_has_authority_key_identifier
The CRL must include Authority Key Identifier extensione_crl_unique_revoked_certificate
The CRL must not include duplicate serial numbers in its revoked certificates liste_invalid_ca_certificate_policies
Checks that the Policy OIDs in the CertificatePolicies extension of a SubCA certificate comply with CABF requirements
Bug Fixes
- Corrected
e_ev_extra_subject_attribs
to not allow OUs
Security
- Upgraded golang.org/x/crypto from 0.25.0 to 0.31.0 to address CVE-2024-45337
- Upgraded golang.org/x/net from 0.27.0 to 0.33.0 to address CVE-2024-45338
Misc
- More clear language in CLI option descriptions.
- An upgrade to the repository's linter.
- Addition of the Delta CRL Indicator OID to the list of known OIDs
- Added effective dates for CABF/BR 2.0.1 to 2.0.8
- Typo correction in citation string for
e_crl_has_authority_key_identifier
- Updated ZCrypto to 3a86168
- Updates to the
newLint.sh
helper script. - New repo tooling to generate test CRLs.
Changelog
- 629cb54 Add lint to detect HTML entities in Subject attributes (#907)
- cd73211 fix: organizationUnitName is prohibited (#903)
- 1fccaa7 Patch for CVE CVE-2024-45337 in test CRL generation tool (#906)
- 5c47a01 build(deps): bump golang.org/x/crypto in /v3/cmd/genTestCerts (#905)
- cb26b9e build(deps): bump golang.org/x/crypto from 0.25.0 to 0.31.0 in /v3 (#904)
- 0d1ece3 Add lint to check for a valid Registration Scheme in the Subject.organizationIdentifier of EV certificates (#901)
- 82c722b Add lint to check that EV certificates contain only allowed attributes in the Subject (#902)
- 529e5e5 Add functionality to generate CRL in asn1 encoding (#893)
- 5807078 Fix newLint.sh CLI (#897)
- 5534545 Linter is broken due to a broken dependency on an old Golang version (#900)
- d0b1e1f Update to zcrypto 3a86168 (#899)
- 989baef Correct typo in RFC section reference (#898)
- 6ec3b31 Add lint to check Authority Key Identifier in CRL Extension (#892)
- eba3486 Add Effective Date for recent CABFBRs (#895)
- 84d8f29 Add Delta CRL Indicator Oid (#896)
- 920bf49 Add Delta CRL Indicator Oid (#894)
- 4b55d49 Add lint to check that CRL does not have duplicates in RevokedCertificates (#890)
- d0dc117 Add lint for checking compliance with §7.1.2.10.5 of the BRs (CA Certificate Policies) (#887)
- f1f5644 Upgrade linter to 1.61.0 and address new lints (#891)
- 45a7d73 Improve the language on some CLI option descriptions (#886)
Full Changelog:v3.6.4...v3.6.5
v3.6.5-rc1
ZLint v3.6.5-rc1
The ZMap team is happy to share ZLint v3.6.5-rc1.
Thank you to everyone who contributes to ZLint!
New Lints
e_subj_contains_html_entities
Detects the presence of HTML entities (e.g. '&') in the Subject, which probably shouldn't be theree_ev_invalid_orgid_reg_scheme
The Registration Schemes allowed in organizationIdentifier are those listed in Appendix He_ev_extra_subject_attribs
CAs SHALL NOT include any Subject Distinguished Name attributes except as specifiede_crl_has_authority_key_identifier
The CRL must include Authority Key Identifier extensione_crl_unique_revoked_certificate
The CRL must not include duplicate serial numbers in its revoked certificates liste_invalid_ca_certificate_policies
Checks that the Policy OIDs in the CertificatePolicies extension of a SubCA certificate comply with CABF requirements
Bug Fixes
- Corrected
e_ev_extra_subject_attribs
to not allow OUs
Security
- Upgraded golang.org/x/crypto from 0.25.0 to 0.31.0 to address CVE-2024-45337
Misc
- More clear language in CLI option descriptions.
- An upgrade to the repository's linter.
- Addition of the Delta CRL Indicator OID to the list of known OIDs
- Added effective dates for CABF/BR 2.0.1 to 2.0.8
- Typo correction in citation string for
e_crl_has_authority_key_identifier
- Updated ZCrypto to 3a86168
- Updates to the
newLint.sh
helper script. - New repo tooling to generate test CRLs.
Changelog
- 629cb54 Add lint to detect HTML entities in Subject attributes (#907)
- cd73211 fix: organizationUnitName is prohibited (#903)
- 1fccaa7 Patch for CVE CVE-2024-45337 in test CRL generation tool (#906)
- 5c47a01 build(deps): bump golang.org/x/crypto in /v3/cmd/genTestCerts (#905)
- cb26b9e build(deps): bump golang.org/x/crypto from 0.25.0 to 0.31.0 in /v3 (#904)
- 0d1ece3 Add lint to check for a valid Registration Scheme in the Subject.organizationIdentifier of EV certificates (#901)
- 82c722b Add lint to check that EV certificates contain only allowed attributes in the Subject (#902)
- 529e5e5 Add functionality to generate CRL in asn1 encoding (#893)
- 5807078 Fix newLint.sh CLI (#897)
- 5534545 Linter is broken due to a broken dependency on an old Golang version (#900)
- d0b1e1f Update to zcrypto 3a86168 (#899)
- 989baef Correct typo in RFC section reference (#898)
- 6ec3b31 Add lint to check Authority Key Identifier in CRL Extension (#892)
- eba3486 Add Effective Date for recent CABFBRs (#895)
- 84d8f29 Add Delta CRL Indicator Oid (#896)
- 920bf49 Add Delta CRL Indicator Oid (#894)
- 4b55d49 Add lint to check that CRL does not have duplicates in RevokedCertificates (#890)
- d0dc117 Add lint for checking compliance with §7.1.2.10.5 of the BRs (CA Certificate Policies) (#887)
- f1f5644 Upgrade linter to 1.61.0 and address new lints (#891)
- 45a7d73 Improve the language on some CLI option descriptions (#886)
Full Changelog:v3.6.4...v3.6.5-rc1
v3.6.4
ZLint v3.6.4
The ZMap team is happy to share ZLint v3.6.4.
Thank you to everyone who contributes to ZLint!
New Lints
e_crl_distrib_points_not_http
The scheme of each CRL Distribution Point MUST be 'http'e_cs_crl_distribution_points
This extension MUST be present. It MUST NOT be marked critical. It MUST contain the HTTP URL of the CA's CRL servicee_cs_eku_required
If the Certificate is a Code Signing Certificate, then id-kp-codeSigning MUST be present. anyExtendedKeyUsage and id-kp-serverAuth MUST NOT be presente_cs_key_usage_required
This extension MUST be present and MUST be marked critical. The bit position for digitalSignature MUST be set. The bit positions for keyCertSign and cRLSign MUST NOT be set. All other bit positions SHOULD NOT be set.e_cs_rsa_key_size
e_cs_rsa_key_size
Bug Fixes
- Corrected the semantics of
e_ev_orgid_inconsistent_subj_and_ext
to address Mozilla #1897538 (https://bugzilla.mozilla.org/show_bug.cgi?id=1897538) - Corrected
e_sub_cert_aia_does_not_contain_ocsp_url
to have an ineffective date. - Corrected an issue in the CLI parser wherein filtering on RFC8813 would result in an error.
- Corrected an issue in the CLI parser wherein filtering rules would not be applied when running lints against a CRL.
Changelog
- ddaf5cc util: gtld_map autopull updates for 2024-09-28T16:21:05 UTC (#882)
- 77a6468 fix: Fix PSD2 based cabfOrganizationIdentifier check (#880)
- 372cdc6 RFC8813 is not referrable from the CLI as a valid lint source (#879)
- caa62ac Add lint to check that all CRL Distribution Points only contain "http" URLs (per CABF BRs 7.1.2.11.2) (#867)
- 8eb670f Fix old lint checking that an OCSP URL is present in TLS Server certificates: add ineffective date (#871)
- 2e67fb9 Update main.go to have CRL linting lint on provided registry (#874)
- f83e4e2 README: Add pkimetal to users list (#873)
- 33ee62a Add Code Signing lints for EKU, Key Usage, RSA Key Size and CRLDistributionPoints (#865)
Full Changelog:v3.6.3...v3.6.4
v3.6.4-rc1
ZLint v3.6.4-rc1
The ZMap team is happy to share ZLint v3.6.4-rc1.
Thank you to everyone who contributes to ZLint!
New Lints
e_crl_distrib_points_not_http
The scheme of each CRL Distribution Point MUST be 'http'e_cs_crl_distribution_points
This extension MUST be present. It MUST NOT be marked critical. It MUST contain the HTTP URL of the CA's CRL servicee_cs_eku_required
If the Certificate is a Code Signing Certificate, then id-kp-codeSigning MUST be present. anyExtendedKeyUsage and id-kp-serverAuth MUST NOT be presente_cs_key_usage_required
This extension MUST be present and MUST be marked critical. The bit position for digitalSignature MUST be set. The bit positions for keyCertSign and cRLSign MUST NOT be set. All other bit positions SHOULD NOT be set.e_cs_rsa_key_size
e_cs_rsa_key_size
Bug Fixes
- Corrected the semantics of
e_ev_orgid_inconsistent_subj_and_ext
to address Mozilla #1897538 (https://bugzilla.mozilla.org/show_bug.cgi?id=1897538) - Corrected
e_sub_cert_aia_does_not_contain_ocsp_url
to have an ineffective date. - Corrected an issue in the CLI parser wherein filtering on RFC8813 would result in an error.
- Corrected an issue in the CLI parser wherein filtering rules would not be applied when running lints against a CRL.
Changelog
- ddaf5cc util: gtld_map autopull updates for 2024-09-28T16:21:05 UTC (#882)
- 77a6468 fix: Fix PSD2 based cabfOrganizationIdentifier check (#880)
- 372cdc6 RFC8813 is not referrable from the CLI as a valid lint source (#879)
- caa62ac Add lint to check that all CRL Distribution Points only contain "http" URLs (per CABF BRs 7.1.2.11.2) (#867)
- 8eb670f Fix old lint checking that an OCSP URL is present in TLS Server certificates: add ineffective date (#871)
- 2e67fb9 Update main.go to have CRL linting lint on provided registry (#874)
- f83e4e2 README: Add pkimetal to users list (#873)
- 33ee62a Add Code Signing lints for EKU, Key Usage, RSA Key Size and CRLDistributionPoints (#865)
Full Changelog:v3.6.3...v3.6.4-rc1
v3.6.3
ZLint v3.6.3
The ZMap team is happy to share ZLint v3.6.3.
Thank you to everyone who contributes to ZLint!
New Lints
e_ev_invalid_business_category
Checks that businessCategory contains a valid value as per EV Guidelines 7.1.4.2.3e_subj_orgunit_in_ca_cert
The organizationalUnitName MUST NOT be included in Root CA certs or TLS Subordinate CA certs. organizationalUnitName is allowed for cross signed certificates, although not recommended. This lint may be configured to signify that the target is a cross signed certificate.e_subj_country_not_uppercase
Alpha-2 country codes shall consist of LATIN CAPITAL LETTER A through LATIN CAPITAL LETTER Ze_aia_must_contain_permitted_access_method
The AIA must contain only the id-ad-ocsp or id-ad-caIssuers accessMethod. Others are not allowed. Also, each accessLocation MUST be encoded as uniformResourceIdentifier GeneralName.e_aia_ocsp_must_have_http_only
The id-ad-ocsp accessMethod must contain an HTTP URL of the of the Issuing CA’s OCSP responder. Other schemes are not allowede_aia_unique_access_locations
When multiple AccessDescriptions are present with the same accessMethod in the AIA extension, then each accessLocation MUST be unique.e_cabf_org_identifier_psd_vat_has_state
The cabfOrganizationIdentifier field for PSD org VAT Registration Schemes cannot include the referenceStateOrProvince field.e_aia_ca_issuers_must_have_http_only
he id-ad-caIssuers accessMethod must contain an HTTP URL of the Issuing CA’s certificate. Other schemes are not allowede_duplicate_subject_attribs
Each Name MUST NOT contain more than one instance of a given AttributeTypeAndValue across all RDNse_ca_invalid_eku
Checks that SubCA certificates do not contain forbidden values in their EKU extensione_empty_sct_list
At least one SCT MUST be included in the SignedCertificateTimestampList extensione_precert_with_sct_list
SCTs must be embedded in the final certificate, not in a precertificatee_cert_ext_invalid_der
Checks that the 'critical' flag of extensions is not FALSE when present (as per DER encoding)e_crl_missing_crl_number
CRL issuers conforming to this profile MUST include this extension in all CRLse_sub_cert_eku_check
Subscriber certificates MUST have id-kp-serverAuth and MAY have id-kp-clientAuth present in extKeyUsagee_invalid_cps_uri
If the CPS URI policyQualifier is present in a certificate, it MUST contain an HTTP or HTTPS URLe_crl_empty_revoked_certificates
When there are no revoked certificates, the revoked certificates list MUST be absente_crl_revoked_certificates_field_must_be_empty
When the revokedCertificates field is empty, it MUST be absent from the DER-encoded ASN.1 data structuree_ev_orgid_inconsistent_subj_and_ext
Checks that the organizationIdentifier Subject attribute and the CABFOrganizationIdentifier extension are consistente_subject_rdns_correct_encoding
CAs that include attributes in the Certificate subject field that are listed in the Tables 77 and 78 of BR 2.0.0 SHALL follow the specified encoding requirements for the attribute
Miscellaneous
- Modified
util.IsEmailProtectionCert
to consider whether the certificate in question has an email SAN and whether it is an S/MIME BR certificate. - Modifies
util.IsServerAuthCert
to presume that certificate with unknown key usages are server certificates. w_sub_cert_eku_extra_values
is now ineffective as of CABF/BRs 2.0.0e_sub_cert_eku_server_auth_client_auth_missing
is now ineffective as of CABF/BRs 2.0.0
Changelog
- 13c40b2 Fix goreleaser to use the --clean flag rather than --rm-dist (#868)
015d220 Add lint to check for a valid business category in EV certificates (#830)
2440571 Add lint to check that Root CA and TLS SubCA certificates do not contain the OU subject attribute (#864)
672100d util: gtld_map autopull updates for 2024-07-13T13:20:09 UTC (#866)
f6d07ed Improve util.IsEmailProtectionCert function (#858)
f7f6b51 Add lint to check that the countryName attribute (C) is in uppercase (#859)
24d58f9 Subscriber aia lints (#860)
04d863f cabfOrganizationIdentifier extension for VAT and PSD based organizationIdentifiers cannot have referenceStateOrProvince (#848)
e5da476 Improve the util.IsServerAuthCert() function (#856)
5b73e7b Fix ExpectedDetails of passing invalid subject test (#846)
899709e Aia ca issuers must have http only (#852)
ae8d594 util: gtld_map autopull updates for 2024-06-12T22:19:30 UTC (#854)
b14a83b fix: Only apply CN check for Subscriber certificates (#851)
bf3764c Cleanup some unnecessary allocations (#849)
26ca0f3 Add lint to check for duplicate subject attributes (ATVs) (#850)
c8164d8 Add lint to check that SubCA certificates do not have illegal values in their EKU extension (#840)
068ae82 Avoid warning dv cn (#843)
8523152 Fix handling of Subject:commonName not present in lint for BR 7.1.4.2.2a mailbox-validated (#845)
456dc01 Add lint to check that an SCT list is not empty (#837)
c73f78b Add lint to check that precertificates do not contain an SCT list (#841)
26ab5b0 Add lint for checking that the 'critical' field is properly DER-encoded in extensions (#839)
208af03 Add lint for checking that a CRL contains the CRL Number extension (#834)
d5a09f8 Add lint to cover TLS BR v2 EKU checks (#833)
63e3f86 Add lint to detect invalid cps uri (#828)
2988620 Add lint to check that a CRL does not contain an empty revokedCertificates element (#831)
61c73ed build(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 in /v3 (#835)
a011234 build(deps): bump golang.org/x/net in /v3/cmd/genTestCerts (#836)
6c7d024 Add lint to verify CRL TBSCertList.revokedCertificates field is absent when there are no revoked certificates (#832)
4b2f38b Lint for checking that organizationIdentifier Subject attribute and CABFOrganizationIdentifier extension are consistent as per EVG 9.2.8 (#820)
5de620c Subject rdns correct encoding (#824)
Full Changelog:v3.6.2...v3.6.3
v3.6.3-rc1
ZLint v3.6.3-rc1
The ZMap team is happy to share ZLint v3.6.3-rc1.
Thank you to everyone who contributes to ZLint!
New Lints
e_ev_invalid_business_category
Checks that businessCategory contains a valid value as per EV Guidelines 7.1.4.2.3e_subj_orgunit_in_ca_cert
The organizationalUnitName MUST NOT be included in Root CA certs or TLS Subordinate CA certs. organizationalUnitName is allowed for cross signed certificates, although not recommended. This lint may be configured to signify that the target is a cross signed certificate.e_subj_country_not_uppercase
Alpha-2 country codes shall consist of LATIN CAPITAL LETTER A through LATIN CAPITAL LETTER Ze_aia_must_contain_permitted_access_method
The AIA must contain only the id-ad-ocsp or id-ad-caIssuers accessMethod. Others are not allowed. Also, each accessLocation MUST be encoded as uniformResourceIdentifier GeneralName.e_aia_ocsp_must_have_http_only
The id-ad-ocsp accessMethod must contain an HTTP URL of the of the Issuing CA’s OCSP responder. Other schemes are not allowede_aia_unique_access_locations
When multiple AccessDescriptions are present with the same accessMethod in the AIA extension, then each accessLocation MUST be unique.e_cabf_org_identifier_psd_vat_has_state
The cabfOrganizationIdentifier field for PSD org VAT Registration Schemes cannot include the referenceStateOrProvince field.e_aia_ca_issuers_must_have_http_only
he id-ad-caIssuers accessMethod must contain an HTTP URL of the Issuing CA’s certificate. Other schemes are not allowede_duplicate_subject_attribs
Each Name MUST NOT contain more than one instance of a given AttributeTypeAndValue across all RDNse_ca_invalid_eku
Checks that SubCA certificates do not contain forbidden values in their EKU extensione_empty_sct_list
At least one SCT MUST be included in the SignedCertificateTimestampList extensione_precert_with_sct_list
SCTs must be embedded in the final certificate, not in a precertificatee_cert_ext_invalid_der
Checks that the 'critical' flag of extensions is not FALSE when present (as per DER encoding)e_crl_missing_crl_number
CRL issuers conforming to this profile MUST include this extension in all CRLse_sub_cert_eku_check
Subscriber certificates MUST have id-kp-serverAuth and MAY have id-kp-clientAuth present in extKeyUsagee_invalid_cps_uri
If the CPS URI policyQualifier is present in a certificate, it MUST contain an HTTP or HTTPS URLe_crl_empty_revoked_certificates
When there are no revoked certificates, the revoked certificates list MUST be absente_crl_revoked_certificates_field_must_be_empty
When the revokedCertificates field is empty, it MUST be absent from the DER-encoded ASN.1 data structuree_ev_orgid_inconsistent_subj_and_ext
Checks that the organizationIdentifier Subject attribute and the CABFOrganizationIdentifier extension are consistente_subject_rdns_correct_encoding
CAs that include attributes in the Certificate subject field that are listed in the Tables 77 and 78 of BR 2.0.0 SHALL follow the specified encoding requirements for the attribute
Miscellaneous
- Modified
util.IsEmailProtectionCert
to consider whether the certificate in question has an email SAN and whether it is an S/MIME BR certificate. - Modifies
util.IsServerAuthCert
to presume that certificate with unknown key usages are server certificates. w_sub_cert_eku_extra_values
is now ineffective as of CABF/BRs 2.0.0e_sub_cert_eku_server_auth_client_auth_missing
is now ineffective as of CABF/BRs 2.0.0
Changelog
- 13c40b2 Fix goreleaser to use the --clean flag rather than --rm-dist (#868)
015d220 Add lint to check for a valid business category in EV certificates (#830)
2440571 Add lint to check that Root CA and TLS SubCA certificates do not contain the OU subject attribute (#864)
672100d util: gtld_map autopull updates for 2024-07-13T13:20:09 UTC (#866)
f6d07ed Improve util.IsEmailProtectionCert function (#858)
f7f6b51 Add lint to check that the countryName attribute (C) is in uppercase (#859)
24d58f9 Subscriber aia lints (#860)
04d863f cabfOrganizationIdentifier extension for VAT and PSD based organizationIdentifiers cannot have referenceStateOrProvince (#848)
e5da476 Improve the util.IsServerAuthCert() function (#856)
5b73e7b Fix ExpectedDetails of passing invalid subject test (#846)
899709e Aia ca issuers must have http only (#852)
ae8d594 util: gtld_map autopull updates for 2024-06-12T22:19:30 UTC (#854)
b14a83b fix: Only apply CN check for Subscriber certificates (#851)
bf3764c Cleanup some unnecessary allocations (#849)
26ca0f3 Add lint to check for duplicate subject attributes (ATVs) (#850)
c8164d8 Add lint to check that SubCA certificates do not have illegal values in their EKU extension (#840)
068ae82 Avoid warning dv cn (#843)
8523152 Fix handling of Subject:commonName not present in lint for BR 7.1.4.2.2a mailbox-validated (#845)
456dc01 Add lint to check that an SCT list is not empty (#837)
c73f78b Add lint to check that precertificates do not contain an SCT list (#841)
26ab5b0 Add lint for checking that the 'critical' field is properly DER-encoded in extensions (#839)
208af03 Add lint for checking that a CRL contains the CRL Number extension (#834)
d5a09f8 Add lint to cover TLS BR v2 EKU checks (#833)
63e3f86 Add lint to detect invalid cps uri (#828)
2988620 Add lint to check that a CRL does not contain an empty revokedCertificates element (#831)
61c73ed build(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 in /v3 (#835)
a011234 build(deps): bump golang.org/x/net in /v3/cmd/genTestCerts (#836)
6c7d024 Add lint to verify CRL TBSCertList.revokedCertificates field is absent when there are no revoked certificates (#832)
4b2f38b Lint for checking that organizationIdentifier Subject attribute and CABFOrganizationIdentifier extension are consistent as per EVG 9.2.8 (#820)
5de620c Subject rdns correct encoding (#824)
Full Changelog:v3.6.2...v3.6.3-rc1
v3.6.2
ZLint v3.6.2
The ZMap team is happy to share ZLint v3.6.2.
Thank you to everyone who contributes to ZLint!
Bug Fixes
- Corrected an issue in e_single_email_if_present wherein only the SAN was checked for email addresses and the subject domain name was not.
- Limited the checking of common names in the SAN for
e_mailbox_address_shall_contain_an_rfc822_name
- Added an ineffective date to
e_dsa_correct_order_in_subgroup
,e_dsa_shorter_than_2048_bits
, ande_dsa_unique_correct_representation
.
New Lints
e_eku_critical
, BRs: 7.1.2.7.6, Subscriber Certificate extkeyUsage extension MUST NOT be marked criticale_crlissuer_must_not_be_present_in_cdp
, BRs: 7.1.2.11.2, crlIssuer and/or Reason field MUST NOT be present in the CDP extension.e_legal_entity_identifier
, S/MIME BRs: 7.1.2.3.l, Mailbox/individual: prohibited. Organization/sponsor: may be presente_commonname_mailbox_validated
, S/MIME BRs: 7.1.4.2.2a, If present, the commonName attribute of a mailbox-validated certificate SHALL contain a mailbox addresse_subject_country_name
, S/MIME BRs: 7.1.4.2.2n, If present, the subject:countryName SHALL contain the two‐letter ISO 3166‐1 country code associated with the location of the Subjecte_cab_dv_subject_invalid_values
, BRs: 7.1.2.7.2, If certificate policy 2.23.140.1.2.1 (CA/B BR domain validated) is included, only country and/or common name is allowed in SubjectDN.e_invalid_subject_rdn_order
, BRs: 7.1.4.2, Subject field attributes (RDNs) SHALL be encoded in a specific ordere_subscribers_crl_distribution_points_are_http
, S/MIME BRs: 7.1.2.3.b, cRLDistributionPoints SHALL have URI scheme HTTP.e_smime_qc_statements_must_not_be_critical
, S/MIME BRs: 7.1.2.3.k, This extension MAY be present and SHALL NOT be marked critical.e_mailbox_address_shall_contain_an_rfc822_name
, S/MIME BRs: 7.1.4.2.1, All Mailbox Addresses in the subject field or entries of type dirName of this extension SHALL be repeated as rfc822Name or otherName values of type id-on-SmtpUTF8Mailbox in this extensione_authority_key_identifier_correct
, S/MIME BRs: 7.1.2.3.g, authorityKeyIdentifier SHALL be present. This extension SHALL NOT be marked critical. The keyIdentifier field SHALL be present. authorityCertIssuer and authorityCertSerialNumber fields SHALL NOT be present.e_strict_multipurpose_smime_ext_subject_directory_attr
, S/MIME BRs: 7.1.2.3j, SMIME Strict and Multipurpose certificates cannot have Subject Directory Attributew_ext_subject_key_identifier_not_recommended_subscriber
, BRs v2: 7.1.2.7.6, Subcriber certificates use of Subject Key Identifier is NOT RECOMMENDED
Changelog
- ae3b1f3 Correct test descriptions (#829)
- 308a138 Limit scope for cn checking in SAN (#825)
- 2980c72 Add ineffective date to DSA lints. (#827)
- f9496fa Use help Method beforeoron instead of (#717)
- 9291729 util: gtld_map autopull updates for 2024-03-27T22:19:31 UTC (#817)
- e99e725 feat: Test EKU Criticality (#816)
- 38cfd72 cRLIssuer MUST NOT be present (#814)
- 990a074 Add lints for S/MIME BR 7.1.2.3l (#805)
- 32bba7a Update single email if present (#808)
- e33bae9 Update single email subject if present (#802)
- 7c899ea Add lint for BR 7.1.4.2.2a mailbox-validated (#806)
- e6650eb Add lints for S/MIME BR 7.1.4.2.2n country name (#807)
- 8d2c579 Lint for 7.1.2.7.2 BR (#810)
- e76cc77 Add lint for checking that Subject attributes (RDNs) appear in the order prescribed by CABF BR 7.1.4.2 (#813)
- a063d31 Add lints for S/MIME BR 7.1.2.3.b (#779)
- a72ff4e util: gtld_map autopull updates for 2024-03-09T18:19:57 UTC (#811)
- 5501be1 Mailbox addresses from san for all br (#809)
- 9c67bdb Fix typo (#804)
- 83b5f8d Add lint for S/MIME BR 7.1.2.3 (k) (#799)
- b9ff71f Add lint to enforce SMIME BRs: 7.1.4.2.1 requirement for mailbox addr… (#800)
- a23de3d util: gtld_map autopull updates for 2024-02-20T21:17:08 UTC (#794)
- bf84ed8 Add test case for smime ext subject directory attr (#801)
- 060b385 Lint for S/MIME BR 7.1.2.3.g (#797)
- a4b46ef Add lint for subject directory attributes extension (#798)
- 1baec6e Fix copy/paste error (#796)
- 8deb02b Subject Key Identifier is not recommended by CABF BR v2 (#790)
- fa85598 Handle ips in aia internal names (#791)
Full Changelog:v3.6.1...v3.6.2
v3.6.2-rc2
ZLint v3.6.2-rc2
The ZMap team is happy to share ZLint v3.6.2-rc2.
Thank you to everyone who contributes to ZLint!
Bug Fixes
- Limited the checking of common names in the SAN for
e_mailbox_address_shall_contain_an_rfc822_name
- Added an ineffective date to
e_dsa_correct_order_in_subgroup
,e_dsa_shorter_than_2048_bits
, ande_dsa_unique_correct_representation
.
Changelog
Full Changelog:v3.6.2-rc1...v3.6.2-rc2
v3.6.2-rc1
ZLint v3.6.2-rc1
The ZMap team is happy to share ZLint v3.6.2-rc1.
Thank you to everyone who contributes to ZLint!
Bug Fixes
- Corrected an issue in e_single_email_if_present wherein only the SAN was checked for email addresses and the subject domain name was not.
New Lints
e_eku_critical
, BRs: 7.1.2.7.6, Subscriber Certificate extkeyUsage extension MUST NOT be marked criticale_crlissuer_must_not_be_present_in_cdp
, BRs: 7.1.2.11.2, crlIssuer and/or Reason field MUST NOT be present in the CDP extension.e_legal_entity_identifier
, S/MIME BRs: 7.1.2.3.l, Mailbox/individual: prohibited. Organization/sponsor: may be presente_commonname_mailbox_validated
, S/MIME BRs: 7.1.4.2.2a, If present, the commonName attribute of a mailbox-validated certificate SHALL contain a mailbox addresse_subject_country_name
, S/MIME BRs: 7.1.4.2.2n, If present, the subject:countryName SHALL contain the two‐letter ISO 3166‐1 country code associated with the location of the Subjecte_cab_dv_subject_invalid_values
, BRs: 7.1.2.7.2, If certificate policy 2.23.140.1.2.1 (CA/B BR domain validated) is included, only country and/or common name is allowed in SubjectDN.e_invalid_subject_rdn_order
, BRs: 7.1.4.2, Subject field attributes (RDNs) SHALL be encoded in a specific ordere_subscribers_crl_distribution_points_are_http
, S/MIME BRs: 7.1.2.3.b, cRLDistributionPoints SHALL have URI scheme HTTP.e_smime_qc_statements_must_not_be_critical
, S/MIME BRs: 7.1.2.3.k, This extension MAY be present and SHALL NOT be marked critical.e_mailbox_address_shall_contain_an_rfc822_name
, S/MIME BRs: 7.1.4.2.1, All Mailbox Addresses in the subject field or entries of type dirName of this extension SHALL be repeated as rfc822Name or otherName values of type id-on-SmtpUTF8Mailbox in this extensione_authority_key_identifier_correct
, S/MIME BRs: 7.1.2.3.g, authorityKeyIdentifier SHALL be present. This extension SHALL NOT be marked critical. The keyIdentifier field SHALL be present. authorityCertIssuer and authorityCertSerialNumber fields SHALL NOT be present.e_strict_multipurpose_smime_ext_subject_directory_attr
, S/MIME BRs: 7.1.2.3j, SMIME Strict and Multipurpose certificates cannot have Subject Directory Attributew_ext_subject_key_identifier_not_recommended_subscriber
, BRs v2: 7.1.2.7.6, Subcriber certificates use of Subject Key Identifier is NOT RECOMMENDED
Changelog
- f9496fa Use help Method beforeoron instead of (#717)
- 9291729 util: gtld_map autopull updates for 2024-03-27T22:19:31 UTC (#817)
- e99e725 feat: Test EKU Criticality (#816)
- 38cfd72 cRLIssuer MUST NOT be present (#814)
- 990a074 Add lints for S/MIME BR 7.1.2.3l (#805)
- 32bba7a Update single email if present (#808)
- e33bae9 Update single email subject if present (#802)
- 7c899ea Add lint for BR 7.1.4.2.2a mailbox-validated (#806)
- e6650eb Add lints for S/MIME BR 7.1.4.2.2n country name (#807)
- 8d2c579 Lint for 7.1.2.7.2 BR (#810)
- e76cc77 Add lint for checking that Subject attributes (RDNs) appear in the order prescribed by CABF BR 7.1.4.2 (#813)
- a063d31 Add lints for S/MIME BR 7.1.2.3.b (#779)
- a72ff4e util: gtld_map autopull updates for 2024-03-09T18:19:57 UTC (#811)
- 5501be1 Mailbox addresses from san for all br (#809)
- 9c67bdb Fix typo (#804)
- 83b5f8d Add lint for S/MIME BR 7.1.2.3 (k) (#799)
- b9ff71f Add lint to enforce SMIME BRs: 7.1.4.2.1 requirement for mailbox addr… (#800)
- a23de3d util: gtld_map autopull updates for 2024-02-20T21:17:08 UTC (#794)
- bf84ed8 Add test case for smime ext subject directory attr (#801)
- 060b385 Lint for S/MIME BR 7.1.2.3.g (#797)
- a4b46ef Add lint for subject directory attributes extension (#798)
- 1baec6e Fix copy/paste error (#796)
- 8deb02b Subject Key Identifier is not recommended by CABF BR v2 (#790)
- fa85598 Handle ips in aia internal names (#791)
Full Changelog:v3.6.1...v3.6.2-rc1