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

Add lint for BR 7.1.4.2.2a mailbox-validated #806

Merged
merged 4 commits into from
Mar 11, 2024

Conversation

bitlux
Copy link
Contributor

@bitlux bitlux commented Feb 28, 2024

The changes to san.go are copied from #800.

Copy link
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.

So the table of acceptable values is as follows...

Certificate Type Contents
Mailbox-validated Mailbox Address
Organization-validated subject:organizationName or Mailbox Address
Sponsor-validated Personal Name, subject:pseudonym, or Mailbox Address
Individual-validated Personal Name, subject:pseudonym, or Mailbox Address

This lint, as written, appears to only be checking the first row (mailbox validated).

This is perfectly fine, although I suppose that we should state this explicitly in the citation.

Do you think that the following reasonable?

If present, the commonName attribute of a mailbox validated certificate SHALL contain a mailbox address

@bitlux
Copy link
Contributor Author

bitlux commented Mar 11, 2024

Thanks for the review.

Yes, I intended to check only the mailbox-validated certificates with this PR (as indicated by the title and lint filename). I updated the description.

@christopher-henderson christopher-henderson merged commit 7c899ea into zmap:master Mar 11, 2024
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.

None yet

2 participants