webpush
webpush copied to clipboard
webpush, Encryption Utilities for Web Push protocol
Hello, I have opened some issues and pull requests over a year ago for this repository. I see that you are probably busy or focused on other projects at the...
How do we handle errors when payload_send() fails?
Starting form OpenSSL 3, PKey aren't mutable anymore, so we have to build them instead of separately setting `private_key` and `public_key`.
The previously used version (0.2.0) is 10 years old at this point.
I have opened this two pull requests to improve / fix VAPID default values: - https://github.com/zaru/webpush/pull/101 - https://github.com/zaru/webpush/pull/100 I think those changes will benefit anyone who is using this gem...
According to [documentation](https://docs.microsoft.com/en-us/windows/apps/design/shell/tiles-and-notifications/push-request-response-headers#response-codes) Microsoft servers don't send 429, but sometimes they start sending 406, which basically means "try again later" as I see it. I'd rather receive `TooManyRequests` error instead...
The default value of 24h is not a safe default value. Sometimes when you restart a server and the clock is wrong by a few seconds, it may result in...
The subject field must start with `mailto:` prefix.
The **`to_pem` method is broken in all the new Ruby versions** due to upstream changes in the OpenSSL library. @zaru @rossta @mohamedhafez can someone please merge my pull request in...
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...