Skip to content

crypto/x509: code signing certificates fail to verify in macOS Ventura and later  #63995

Description

@sinukus

What version of Go are you using (go version)?

 go1.22 (darwin/arm64)

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
macOS Ventura 13.6.1, M1 Max

What did you do?

When trying to validate a code signing certificate chain with a public certificate authority. The OS responds with "certificate is not standards compliant" on Ventura or later. Earlier versions of mac OS do not fail.

This is due to go assuming all certificates are SSL certificate, and use a SSL policy when validating the chain

What did you expect to see?

I expected the chain to validate with signature is valid, signing date: ..etc

What did you see instead?

"certificate is not standards compliant"

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

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-DarwinWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions