You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lint added in PR #806 (7c899ea) incorrectly handles the case where Subject:commonName is not present in a Mailbox Validation S/MIME certificate.
When there is no Subject:commonName in a certificate, Subject.CommonName in the z509 Certificate object is an empty string. The bug is that the e_commonname_mailbox_validated lint is passing this empty string to util.IsMailboxAddress instead of ignoring it, resulting in a false positive error.
This bug blocks Sectigo from upgrading to ZLint v3.6.2.
The text was updated successfully, but these errors were encountered:
The lint added in PR #806 (7c899ea) incorrectly handles the case where Subject:commonName is not present in a Mailbox Validation S/MIME certificate.
When there is no Subject:commonName in a certificate,
Subject.CommonName
in the z509Certificate
object is an empty string. The bug is that the e_commonname_mailbox_validated lint is passing this empty string toutil.IsMailboxAddress
instead of ignoring it, resulting in a false positive error.This bug blocks Sectigo from upgrading to ZLint v3.6.2.
The text was updated successfully, but these errors were encountered: