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

undefined method `q=' for OpenSSL::PKey::DH #300

Closed
Unknown-Guy opened this issue Apr 30, 2024 · 1 comment
Closed

undefined method `q=' for OpenSSL::PKey::DH #300

Unknown-Guy opened this issue Apr 30, 2024 · 1 comment

Comments

@Unknown-Guy
Copy link

Starting with jruby-openssl 0.14.4 sshkit dies with:

SSHKit::Runner::ExecuteError: Exception while executing on host staging-app: undefined method `q=' for #<OpenSSL::PKey::DH:0x7cb886f3>
Did you mean?  q
  execute at /Users/user/.rbenv/versions/jruby-9.2.7.0/lib/ruby/gems/shared/gems/sshkit-1.22.2/lib/sshkit/runners/parallel.rb:15

0.14.3 works fine.

kares added a commit that referenced this issue May 27, 2024
kares added a commit that referenced this issue May 27, 2024
* 0.14:
  [release] update for next dev SNAPSHOT
  [release] prepare for 0.14.6
  [compat] OpenSSL::ConfigError and DEFAULT_CONFIG_FILE (#304)
  [fix] OpenSSL::PKey::DH#set_pqg regression (#300)
  Convert IOException to Ruby exception correctly
  [refactor] add exception debugging within SSLSocket#waitSelect
  [fix] sync SSLContext#setup as it could be shared (#302)
  [refactor] freeze SSLContext when everything okay
  [refactor] organize i-var sets (set @context after setup)
  [test] regenerate OpenSSL CA based setup
  [release] update to 0.14.6.dev SNAPSHOT
@kares
Copy link
Member

kares commented May 27, 2024

Sorry for the inconvenience, we've pushed 0.14.6 with a fix: 5f462bd
(please be advised that the set_pqg API is deprecated on C-Ruby)

@kares kares closed this as completed May 27, 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