You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In trying to run the web-push gem on JRuby 9.4.9.0 with jruby-openssl version 0.15.1, I get the following error:
/Users/mohamed/.rbenv/versions/jruby-9.4.9.0/lib/ruby/gems/shared/gems/web-push-3.0.1/lib/web_push/encryption.rb:29:in`encrypt': undefined method `hkdf' for OpenSSL::KDF:Module (NoMethodError) from /Users/mohamed/.rbenv/versions/jruby-9.4.9.0/lib/ruby/gems/shared/gems/web-push-3.0.1/lib/web_push/request.rb:131:in `encrypt_payload'from/Users/mohamed/.rbenv/versions/jruby-9.4.9.0/lib/ruby/gems/shared/gems/web-push-3.0.1/lib/web_push/request.rb:127:in`build_payload' from /Users/mohamed/.rbenv/versions/jruby-9.4.9.0/lib/ruby/gems/shared/gems/web-push-3.0.1/lib/web_push/request.rb:9:in `initialize' from org/jruby/RubyClass.java:922:in `new'from/Users/mohamed/.rbenv/versions/jruby-9.4.9.0/lib/ruby/gems/shared/gems/web-push-3.0.1/lib/web_push.rb:43:in `payload_send'
This does not happen in MRI 3.1.6 and openssl 3.2.0
The text was updated successfully, but these errors were encountered:
mohamedhafez
changed the title
undefined method `hkdf' for OpenSSL::KDF:Module (NoMethodError)
undefined method `hkdf' for OpenSSL::KDF:Module
Nov 10, 2024
In trying to run the web-push gem on JRuby 9.4.9.0 with jruby-openssl version 0.15.1, I get the following error:
Here's a link to the line that caused the error: https://github.com/pushpad/web-push/blob/537267741b8b8cdd4ecedeb3f2da82e1145566d8/lib/web_push/encryption.rb#L29
This does not happen in MRI 3.1.6 and openssl 3.2.0
The text was updated successfully, but these errors were encountered: