Description
We are playing with KaiOS push notifications.
Their notification service only seems to accept Content-Encoding: aesgcm
. They also seem to refuse to accept Vapid02 keys (vapid
Authorization scheme). Based on this code in JS library, it seems that it's a good idea to couple aesgcm
encryption with WebPush (Vapid01) authorization scheme. Mozilla service happily accepts both Vapid01 and Vapid02 keys but KaiOS service does not.
It would be great if the Python lib also coupled aesgcm
encoding with Vapid01 keys. Now Vapid02 is selected by default (if not provided directly as an object). This would help newcomers looking at error 400 without any message provided by the KaiOS service. On the other hand, I have not found any relation between Content-Encoding and Authorization schema in the docs.