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

pkeys are immutable on OpenSSL 3.0 (OpenSSL::PKey::PKeyError) #111

Closed
ravigerardo opened this issue Dec 4, 2022 · 1 comment
Closed

Comments

@ravigerardo
Copy link

server.generate_key

I have an app on heroku and when i try to do a payload_send it fails but in my local environment it works fine.

Apparently it is because the implementation of the generate_key method of the Encryption module is no longer supported. And I get the following error: /webpush/encryption.rb:15:in generate_key!': pkeys are immutable on OpenSSL 3.0 (OpenSSL::PKey::PKeyError)

In my local environment:

irb>> OpenSSL::OPENSSL_VERSION
=> "OpenSSL 1.1.1n 15 Mar 2022"

In production on Heroku:

irb>> OpenSSL::OPENSSL_VERSION
=> "OpenSSL 3.0.1 14 Dec 2021"
@collimarco
Copy link
Contributor

#106

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