Crypt-LE
Crypt-LE copied to clipboard
Update LE.pm - Make use of the new use_pkcs1_oaep_padding function
Switched use_pkcs1_padding to use_pkcs1_oaep_padding to be compatible with the new version of Crypt::OpenSSL::RSA
FIXES #102
Have attempted to implement the feedback via https://github.com/do-know/Crypt-LE/pull/107
https://github.com/do-know/Crypt-LE/issues/102#issuecomment-3464303435
This will not fix the problem. oap is not a drop-in replacement for pkcs1. In Crypt::OpenSSL::RSA 0.37, we have added use_pkcs1_pss_padding, which would be an alternative to use_pkcs1_padding, but you would also need to update the JWT encoding in the header to RS256 so the server knows what it's decoding.