Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add uncheck_modulus_size feature #453

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shuai132
Copy link

@shuai132 shuai132 commented Oct 9, 2024

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.

@tarcieri
Copy link
Member

tarcieri commented Oct 9, 2024

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

@shuai132
Copy link
Author

shuai132 commented Oct 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants