Skip to content

Fix modulus size check in check_public_with_max_size #529

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

Merged
merged 2 commits into from
Jun 16, 2025

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Jun 14, 2025

It was checking the bits of precision, rather than the actual bit length of the key.

Closes #528.

It was checking the bits of precision, rather than the actual bit length
of the key.
@tarcieri tarcieri requested a review from dignifiedquire June 14, 2025 17:08
@tarcieri tarcieri merged commit 79641e1 into master Jun 16, 2025
11 checks passed
@tarcieri tarcieri deleted the fix-key-size-check branch June 16, 2025 15:57
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.

RsaPublicKey::new_with_max_size behaves differently
1 participant