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

Commits on Sep 2, 2022

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

    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 committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    0105975 View commit details
    Browse the repository at this point in the history