Skip to content

undefined method `hkdf' for OpenSSL::KDF:Module (NoMethodError) #312

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

Closed
mohamedhafez opened this issue Jul 14, 2024 · 2 comments
Closed

Comments

@mohamedhafez
Copy link
Contributor

When trying to use https://github.com/pushpad/web-push, I get the following error:

undefined method `hkdf' for OpenSSL::KDF:Module (NoMethodError)

At this line: https://github.com/pushpad/web-push/blob/537267741b8b8cdd4ecedeb3f2da82e1145566d8/lib/web_push/encryption.rb#L29

(there's no stack trace past that)

I'm guessing its just an Openssl 3.x feature that hasn't been implemented yet? Just documenting here, I can always fall back on a previous gem version so not urgent

@kares
Copy link
Member

kares commented Dec 6, 2024

closing in favor of #321, please do not open multiple issues, instead just update the original if there's more info

@kares kares closed this as completed Dec 6, 2024
@mohamedhafez
Copy link
Contributor Author

whoops sorry! I'd forgotten i'd filed this issue months ago, my mistake! i'll be more careful next time 🙏

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