RSA icon indicating copy to clipboard operation
RSA copied to clipboard

feat: add uncheck_modulus_size feature

Open shuai132 opened this issue 1 year ago • 2 comments

Same to #418, some projects use a modulus size larger than 4096. And the source code may be written in C++ or Java. There are still some issues when using the decrypt method, for example, Pkcs1v15Encrypt::decrypt.

Therefore, I have implemented a feature called uncheck_modulus_size, hoping it will be useful for others.

shuai132 avatar Oct 09 '24 10:10 shuai132

This should be fixed with explicit APIs for large moduli, not a cargo feature that can cause spooky-action-at-a-distance among other dependencies that aren't expecting it

tarcieri avatar Oct 09 '24 12:10 tarcieri

Thanks, I just tested use openssl(c++), got same result. I will use my fork just fine! thx

shuai132 avatar Oct 09 '24 13:10 shuai132

Closing as per the comment above.

newpavlov avatar Mar 12 '25 16:03 newpavlov