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

pkey/dsa: let PKey::DSA.generate choose appropriate q size #539

Merged
merged 1 commit into from Sep 2, 2022

Conversation

rhenium
Copy link
Member

@rhenium rhenium commented Sep 2, 2022

DSA parameters generation via EVP_PKEY_paramgen() will not automatically
adjust the size of q value but uses 224 bits by default unless specified
explicitly. This behavior is different from the now-deprecated
DSA_generate_parameters_ex(), which PKey::DSA.generate used to call.

Fixes #483

Fixes: 1800a8d ("pkey/dsa: use high level EVP interface to generate parameters and keys", 2020-05-17)

DSA parameters generation via EVP_PKEY_paramgen() will not automatically
adjust the size of q value but uses 224 bits by default unless specified
explicitly. This behavior is different from the now-deprecated
DSA_generate_parameters_ex(), which PKey::DSA.generate used to call.

Fixes ruby#483

Fixes: 1800a8d ("pkey/dsa: use high level EVP interface to generate parameters and keys", 2020-05-17)
@rhenium rhenium merged commit 9247cf8 into ruby:maint-3.0 Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant