Crypt-LE icon indicating copy to clipboard operation
Crypt-LE copied to clipboard

Update LE.pm - Make use of the new use_pkcs1_oaep_padding function

Open Refizul opened this issue 8 months ago • 2 comments

Switched use_pkcs1_padding to use_pkcs1_oaep_padding to be compatible with the new version of Crypt::OpenSSL::RSA

FIXES #102

Refizul avatar May 12 '25 00:05 Refizul

Have attempted to implement the feedback via https://github.com/do-know/Crypt-LE/pull/107

ajmetz avatar Sep 30 '25 17:09 ajmetz

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.

toddr avatar Oct 29 '25 22:10 toddr