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
{{ message }}
Repository navigation
undefined method `hkdf' for OpenSSL::KDF:Module #321
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'
changed the title [-]undefined method `hkdf' for OpenSSL::KDF:Module (NoMethodError)[/-][+]undefined method `hkdf' for OpenSSL::KDF:Module[/+]on Nov 10, 2024
Activity
[-]undefined method `hkdf' for OpenSSL::KDF:Module (NoMethodError)[/-][+]undefined method `hkdf' for OpenSSL::KDF:Module[/+]