Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update module github.com/zmap/zlint/v3 to v3.6.4 #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Apr 14, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/zmap/zlint/v3 v3.6.1 -> v3.6.4 age adoption passing confidence

Release Notes

zmap/zlint (github.com/zmap/zlint/v3)

v3.6.4

Compare Source

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 service
  • e_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 present
  • e_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:zmap/zlint@v3.6.3...v3.6.4

v3.6.3

Compare Source

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.3
  • e_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 Z
  • e_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 allowed
  • e_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 allowed
  • e_duplicate_subject_attribs Each Name MUST NOT contain more than one instance of a given AttributeTypeAndValue across all RDNs
  • e_ca_invalid_eku Checks that SubCA certificates do not contain forbidden values in their EKU extension
  • e_empty_sct_list At least one SCT MUST be included in the SignedCertificateTimestampList extension
  • e_precert_with_sct_list SCTs must be embedded in the final certificate, not in a precertificate
  • e_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 CRLs
  • e_sub_cert_eku_check Subscriber certificates MUST have id-kp-serverAuth and MAY have id-kp-clientAuth present in extKeyUsage
  • e_invalid_cps_uri If the CPS URI policyQualifier is present in a certificate, it MUST contain an HTTP or HTTPS URL
  • e_crl_empty_revoked_certificates When there are no revoked certificates, the revoked certificates list MUST be absent
  • e_crl_revoked_certificates_field_must_be_empty When the revokedCertificates field is empty, it MUST be absent from the DER-encoded ASN.1 data structure
  • e_ev_orgid_inconsistent_subj_and_ext Checks that the organizationIdentifier Subject attribute and the CABFOrganizationIdentifier extension are consistent
  • e_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.0
  • e_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:zmap/zlint@v3.6.2...v3.6.3

v3.6.2

Compare Source

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, and e_dsa_unique_correct_representation.

New Lints

  • e_eku_critical, BRs: 7.1.2.7.6, Subscriber Certificate extkeyUsage extension MUST NOT be marked critical
  • e_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 present
  • e_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 address
  • e_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 Subject
  • e_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 order
  • e_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 extension
  • e_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 Attribute
  • w_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

Full Changelog:zmap/zlint@v3.6.1...v3.6.2


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot force-pushed the renovate/github.com-zmap-zlint-v3-3.x branch from 10fa8fb to 5418320 Compare August 4, 2024 16:30
@renovate-bot renovate-bot changed the title chore(deps): update module github.com/zmap/zlint/v3 to v3.6.2 chore(deps): update module github.com/zmap/zlint/v3 to v3.6.3 Aug 4, 2024
Copy link

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 3 additional dependencies were updated

Details:

Package Change
golang.org/x/crypto v0.19.0 -> v0.21.0
golang.org/x/net v0.20.0 -> v0.23.0
golang.org/x/sys v0.17.0 -> v0.18.0

@renovate-bot renovate-bot force-pushed the renovate/github.com-zmap-zlint-v3-3.x branch from 5418320 to c6fb8df Compare October 12, 2024 16:41
@renovate-bot renovate-bot changed the title chore(deps): update module github.com/zmap/zlint/v3 to v3.6.3 chore(deps): update module github.com/zmap/zlint/v3 to v3.6.4 Oct 12, 2024
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.

1 participant