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
If you'd be okay with that. We'd want to either add a DN component or SAN for the email address. We'd also probably want to add key usage for signing and extended key usage for email/code signing.
Activity
FiloSottile commentedon Feb 28, 2019
What would you use an S/MIME certificate that is only valid on your computer for?
btoews commentedon Mar 19, 2019
I would use this for testing development of S/MIME tooling. Would you accept a PR that implemented this?
FiloSottile commentedon Mar 19, 2019
Could we just detect an email address in the names list and generate a cert valid for S/MIME? I’m not familiar with S/MIME myself.
btoews commentedon Mar 19, 2019
If you'd be okay with that. We'd want to either add a DN component or SAN for the email address. We'd also probably want to add key usage for signing and extended key usage for email/code signing.
FiloSottile commentedon Mar 19, 2019
Sounds good to me!
Slight preference for SAN over DN.
Drop the serverAuth EKU if all names are emails. Still respect -client.
btoews commentedon Mar 19, 2019
Cool. I won't be able to look at this for ~2 weeks, but will put it on my todo list unless someone else gets to it first.