jwt
jwt copied to clipboard
`x509.DecryptPEMBlock` has been deprecated since Go 1.16
We should remove/replace it, to be compatible with future Go versions.
It looks like there is no alternative in the Go standard library, so we are somewhat stuck here. Not sure how many people actually use ParseRSAPrivateKeyFromPEMWithPassword
, it is in the utils file and primarily used for a test. We should at least deprecate it and remove it in a future version, i.e. v4 or v5.
Any alternative library?
Any alternative library?
I am afraid we don’t want the hassle of including anything else but the standard library. Especially for something which is not really part of the “public” API.