zitadel / oidc

Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation
https://zitadel.com
Apache License 2.0
1.33k stars 138 forks source link

feat: support PKCS#8 #623

Closed livio-a closed 2 months ago

livio-a commented 2 months ago

Until now BytesToPrivateKey was only able to handle PKCS#1 RSA keys. This PR adds support for the PKCS#8 format including RSA, ECDSA or ED25519 private keys. These keys are used for the signing of JWT, e.g. JWT Profile assertions.

required for https://github.com/zitadel/zitadel-tools/issues/97

Definition of Ready

github-actions[bot] commented 2 months ago

:tada: This PR is included in version 3.26.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: