Skip to content

Commit

Permalink
accept any key usages
Browse files Browse the repository at this point in the history
  • Loading branch information
johnabass committed Nov 23, 2024
1 parent a879f70 commit 21b0d3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions token/claimBuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ func (cb *clientCertificateClaimBuilder) AddClaims(_ context.Context, r *Request
CurrentTime: pc.NotAfter.Add(-time.Second),
Roots: cb.roots,
Intermediates: cb.intermediates,
KeyUsages: []x509.ExtKeyUsage{x509.ExtKeyUsageAny},
}

_, verifyErr := pc.Verify(vo)
Expand Down

0 comments on commit 21b0d3c

Please sign in to comment.