Skip to content

Support s/mime email certificates #143

Closed

Description

@jcjones

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.

Activity

  1. FiloSottile commented on Feb 28, 2019

    @FiloSottile
    Owner

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

  2. btoews commented on Mar 19, 2019

    @btoews
    Contributor

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

  3. FiloSottile commented on Mar 19, 2019

    @FiloSottile
    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.

  4. btoews commented on Mar 19, 2019

    @btoews
    Contributor

    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.

  5. FiloSottile commented on Mar 19, 2019

    @FiloSottile
    Owner

    Sounds good to me!

    Slight preference for SAN over DN.

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

  6. btoews commented on Mar 19, 2019

    @btoews
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions