webpush icon indicating copy to clipboard operation
webpush copied to clipboard

Fix vapid key to_pem

Open collimarco opened this issue 4 years ago • 1 comments
trafficstars

Due to upstream changes in the OpenSSL library, Ruby 2.6.7, 2.7 and all later versions break the method VapidKey#to_pem of this library.

You can read more here: https://github.com/ruby/openssl/issues/437

Without this fix, in the new Ruby versions, the to_pem method would return the private key two times instead of the key pair (private key + public key).

Please merge this fix as soon as possible. Thank you!

collimarco avatar Apr 16 '21 11:04 collimarco

@zaru Can you please merge this important bug fix? We have been using our branch for almost 2 years in production, so it's safe to merge.

collimarco avatar Nov 25 '22 14:11 collimarco