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

Missing ability to create RsaParameters, which prevents using modulus size 4096 #2284

Open
wellcaffeinated opened this issue Jan 24, 2025 · 0 comments

Comments

@wellcaffeinated
Copy link

Hi there
Forgive me if i've missed something but I'm currently attempting to write a library using ring, and I want to support RSA 4096. However there is no constant defined to allow this. I thought I'd be able to just create the necessary RsaParameters directly, but there is no ability to do this because the properties are private.

If there is no workaround, I'd suggest one of the following:

  1. Make the properties pub
  2. implement a new() or try_new() method.

Thanks!

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

No branches or pull requests

1 participant