Skip to content

[go1.24] smx509: decouple key usage and policy validation #327

@emmansun

Description

@emmansun

Disabling key usage validation (by passing ExtKeyUsageAny) unintentionally disabled policy validation. This change decouples these two checks, preventing the user from unintentionally disabling policy validation.

I’m not sure if smx509 can make the same change.

golang/go@9bba799

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestsync sdksync changes in golang, especially x509 package

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions