You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it is not possible to set a custom Crypto provider for an oidc provider.
Instead, the library builds its own crypto provider based on the given configuration key.
However, the current implementation uses a CFB mode implementation, which seems to have been deprecated by go itself.
It would be great if library users have the ability to set their own crypto provider. Especially since there already exists a handy interface for the crypto provider.
Describe your ideal solution
Ideally, the library would provide a WithCustomCrypto(crypto Crypto) Option function in order to customize the creation of the oidc provider.
I'm not sure how problematic a deprecated function is as the default implementation, but maybe it is worth considering a new solution for default behaviour too.
Uh oh!
There was an error while loading. Please reload this page.
Preflight Checklist
Describe your problem
Currently, it is not possible to set a custom Crypto provider for an oidc provider.
Instead, the library builds its own crypto provider based on the given configuration key.
However, the current implementation uses a CFB mode implementation, which seems to have been deprecated by go itself.
It would be great if library users have the ability to set their own crypto provider. Especially since there already exists a handy interface for the crypto provider.
Describe your ideal solution
Ideally, the library would provide a
WithCustomCrypto(crypto Crypto) Option
function in order to customize the creation of the oidc provider.I'm not sure how problematic a deprecated function is as the default implementation, but maybe it is worth considering a new solution for default behaviour too.
Version
3.35.0
Additional Context
It looks like the CFB mode has been deprecated since go version 1.24.0 onwards: https://pkg.go.dev/crypto/[email protected]#NewCFBEncrypter
The text was updated successfully, but these errors were encountered: