diff options
author | Kazuki Yamaguchi <[email protected]> | 2022-01-04 22:11:00 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <[email protected]> | 2022-10-17 16:35:35 +0900 |
commit | 10f93a8bd787658996f08b13a0e564eaf3f41489 (patch) | |
tree | 0dfd1c5d83e8b4a101f09e85ad0e2e9cd64a21b1 /ext/openssl/lib/openssl.rb | |
parent | 65bba0ef6fa104324d34079f107f9c72ed8d0e2f (diff) |
[ruby/openssl] 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 https://github.com/ruby/openssl/issues/483
Fixes: https://github.com/ruby/openssl/commit/1800a8d5ebaf ("pkey/dsa: use high level EVP interface to generate parameters and keys", 2020-05-17)
https://github.com/ruby/openssl/commit/0105975a0b
Diffstat (limited to 'ext/openssl/lib/openssl.rb')
0 files changed, 0 insertions, 0 deletions