Skip to content

Remove codeSigning EKU? #303

Closed
Closed

Description

@FiloSottile

@mastahyeti @btoews can you help me remember why in #152 we added the codeSigning EKU when there is an email SAN? How are those related?

mkcert/cert.go

Lines 96 to 98 in a2b1208

if len(tpl.EmailAddresses) > 0 {
tpl.ExtKeyUsage = append(tpl.ExtKeyUsage, x509.ExtKeyUsageCodeSigning, x509.ExtKeyUsageEmailProtection)
}

Activity

  1. btoews commented on Oct 26, 2020

    @btoews
    Contributor
  2. ptoomey3 commented on Oct 26, 2020

    @ptoomey3

    I'll try pushing up a quick change to see what happens if we mint a cert for SMIME signatures without that extension.

  3. ptoomey3 commented on Oct 26, 2020

    @ptoomey3

    Nothing in CI broke when I disabled adding this extension for certs used for SMIME signatures in our tests.

  4. FiloSottile commented on Oct 27, 2020

    @FiloSottile
    OwnerAuthor

    Awesome, thank you for checking!

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