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

DsaParametersGenerator can't initialize size greater than 1024... #549

Open
lalakii opened this issue Jul 4, 2024 · 0 comments
Open

DsaParametersGenerator can't initialize size greater than 1024... #549

lalakii opened this issue Jul 4, 2024 · 0 comments

Comments

@lalakii
Copy link

lalakii commented Jul 4, 2024

var dsa = new DsaParametersGenerator();
dsa.Init(2048, 80, ...);

When I run this code, I get an exception.

System.ArgumentException: size must be from 512 - 1024 and a multiple of 64

java prompts me:

Warning:
<aa> uses a 1024-bit DSA key which is considered a security risk. This key size will be disabled in a future update.

Will this be fixed in a subsequent release?

Thank you.

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