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

OpenSSL::PKey::DH.generate not implemented #254

Closed
postmodern opened this issue May 10, 2022 · 1 comment
Closed

OpenSSL::PKey::DH.generate not implemented #254

postmodern opened this issue May 10, 2022 · 1 comment

Comments

@postmodern
Copy link

postmodern commented May 10, 2022

The OpenSSL::PKey::DH class lacks the .generate class method. It should simply call .new with the key-size and optional "generator" number.

Steps To Reproduce

OpenSSL::PKey::DH.generate(1024)

Expected Result

# => #<OpenSSL::PKey::DH:...>

Actual Result

NoMethodError (undefined method `generate' for OpenSSL::PKey::DH:Class)

Version

  • jruby 9.3.2.0 (2.6.8) 2021-12-01 0b8223f905 OpenJDK 64-Bit Server VM 11.0.15+10 on 11.0.15+10 +jit [linux-x86_64]
  • jruby-openssl (default: 0.11.0 java)
@kares
Copy link
Member

kares commented Apr 11, 2024

adcd031

@kares kares closed this as completed Apr 11, 2024
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

2 participants