mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 05:26:03 +03:00
[PR #152] [MERGED] Allow email SANs for S/MIME certificates #402
Labels
No labels
TLS stack issue
Windows
bug
duplicate
duplicate
enhancement
help wanted
help wanted
pull-request
question
question
root store
waiting for info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mkcert#402
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/FiloSottile/mkcert/pull/152
Author: @btoews
Created: 4/9/2019
Status: ✅ Merged
Merged: 4/12/2019
Merged by: @FiloSottile
Base:
master← Head:smime📝 Commits (2)
803db3ballow email SANs for S/MIME certificatesba92743check that parsed email matches user's argument📊 Changes
2 files changed (+16 additions, -3 deletions)
View changed files
📝
cert.go(+10 -1)📝
main.go(+6 -2)📄 Description
This PR allows email addresses to be passed in, along with IP addresses and domain names. Email addresses are added as SANs. The appropriate EKUs are added to the cert based on which types of SANs are present. To identify email addresses, I try parsing them with the
net/mailpackage. This is probably overkill and I'm happy to switch to a regex if that's preferrable./fixes https://github.com/FiloSottile/mkcert/issues/143
/cc @jcjones
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.