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

readCertificateInfo reports email addresses in subjectAltName field #170

Merged
merged 2 commits into from
Nov 28, 2017

Conversation

jes-sherborne
Copy link
Contributor

A certificate's subjectAltName can include an email address in addition to IP addresses and DNS names.

This PR extends the certificate parsing to recognize any email addresses if present.

For supporting info, see the OpenSSL documentation or the relevant RFC.

@jes-sherborne
Copy link
Contributor Author

Here's an example cert file with an email address in the subjectAltName field. It's zipped because GitHub doesn't allow pem files as attachments.

[email protected]

@Dexus
Copy link
Owner

Dexus commented Oct 18, 2017 via email

@jes-sherborne
Copy link
Contributor Author

So I updated the documentation. That said, I note that this section of the README is currently commented out, so it doesn't show up. When it's uncommented, my revision will show as well.

@Dexus
Copy link
Owner

Dexus commented Oct 18, 2017 via email

@jes-sherborne
Copy link
Contributor Author

Is there anything else you need from me, or is this PR ready from your perspective?

@Dexus
Copy link
Owner

Dexus commented Oct 18, 2017 via email

@Dexus Dexus merged commit f1f5eeb into Dexus:master Nov 28, 2017
@jes-sherborne jes-sherborne deleted the san-email branch November 28, 2017 15:14
@Dexus
Copy link
Owner

Dexus commented Apr 4, 2018

🎉 This PR is included in version 1.12.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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