jenkinsci / oidc-provider-plugin

OpenID Connect Provider Plugin for Jenkins
https://plugins.jenkins.io/oidc-provider/
MIT License
22 stars 13 forks source link

Choice of keypair format #4

Open jglick opened 2 years ago

jglick commented 2 years ago

Currently the plugin only creates RSA-format keypairs with a fixed size. Might be useful to offer the option of using another algorithm such a elliptic curve.

patrickpichler commented 1 year ago

I've opened a draft PR to implement this feature. It outlines a basic idea of how support for selecting a keypair format could work. I would love to get some feedback from you :slightly_smiling_face:.

Small warning, tests are currently missing and existing tests need a bit of an adaption, but I wanted to get some feedback to see if the way I implemented it would be ok :slightly_smiling_face: