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

Support s/mime email certificates #143

Closed
jcjones opened this issue Feb 28, 2019 · 6 comments · Fixed by #152
Closed

Support s/mime email certificates #143

jcjones opened this issue Feb 28, 2019 · 6 comments · Fixed by #152

Comments

@jcjones
Copy link

jcjones commented Feb 28, 2019

Given an email address for a command line option, it would be cool to generate certificates suitable for S/MIME use in Thunderbird or Outlook.

@FiloSottile
Copy link
Owner

What would you use an S/MIME certificate that is only valid on your computer for?

@btoews
Copy link
Contributor

btoews commented Mar 19, 2019

I would use this for testing development of S/MIME tooling. Would you accept a PR that implemented this?

@FiloSottile
Copy link
Owner

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

btoews commented 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
Copy link
Owner

Sounds good to me!

Slight preference for SAN over DN.

Drop the serverAuth EKU if all names are emails. Still respect -client.

@btoews
Copy link
Contributor

btoews commented 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.

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 a pull request may close this issue.

3 participants