Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove padding = from openssl base64 public key
When I attempt to register/subscribe to web push notifications, and the base64 public key contains padding (one or two `=` terminal characters) browsers yield these errors: - Chrome 132: "_InvalidCharacterError: Failed to execute 'subscribe' on 'PushManager': The provided applicationServerKey is not encoded as base64url without padding._" - Firefox 134: "_DOMException: String contains an invalid character_" Simply deleting these seems to work for me, so this change adds `=` to the `tr` deleted character set in the public key `openssl` command.
- Loading branch information