Skip to content

Add RsaPublicKey::new_unchecked#206

Merged
tarcieri merged 1 commit intomasterfrom
rsa-public-key-new-unchecked
Oct 8, 2022
Merged

Add RsaPublicKey::new_unchecked#206
tarcieri merged 1 commit intomasterfrom
rsa-public-key-new-unchecked

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Oct 7, 2022

Constructor for RsaPublicKey which bypasses all checks around the modulus and public exponent size.

Closes #199.

Constructor for `RsaPublicKey` which bypasses all checks around the
modulus and public exponent size.
@tarcieri
Copy link
Member Author

tarcieri commented Oct 8, 2022

Hopefully this is uncontroversial enough I'm just going to merge it.

However, I'll hold off on approval before a final release.

@tarcieri tarcieri merged commit 8a1026b into master Oct 8, 2022
@tarcieri tarcieri deleted the rsa-public-key-new-unchecked branch October 8, 2022 19:02
@dignifiedquire
Copy link
Member

Thanks, looks good to me 👍

@tarcieri tarcieri mentioned this pull request Oct 10, 2022
takumi-earth pushed a commit to earthlings-dev/RSA that referenced this pull request Jan 27, 2026
Constructor for `RsaPublicKey` which bypasses all checks around the
modulus and public exponent size.
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.

Having a MAX_PUB_EXPONENT makes this crate unusable with some applications

2 participants