Skip to content

crypto/x509: CreateCertificate should return a meaningful error instead of panic when passed an unknown ExtKeyUsage #41169

Description

@rolandshoemaker

x509.CreateCertificate panics if passed a template containing an unknown ExtKeyUsage, example. Probably it'd make more sense to return an error along the lines of Unknown extended key usage.

Activity

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

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions