This PR adds back support for the legacy aesgcm encoding that was removed back in v0.8.0. This is done primarily because (unfortunatly), some push implimentations like KaiOS still require aesgcm. It is also quite usefull for testing new push services (such as Apple's) which don't clarify which encoding they support. Unlike the v0.7 version of aesgcm, this implimentation defers to Mozilla's ECE crate, so there is very minimal maintinence overhead for us. All documentation and examples still use aes128gcm, and notes have been added warning users to use it wherever possible.
Changelog 🗒
[+] Add AesGcm enocding
[+] Add filler sub claim to all tokens, unless the claim is added manually
[+] Add tests for aesgcm
[+] Update documentation to make examples more promenent
[+] Bump to 0.9.5
Bug Fixes 🐜
FireFox would reject pushes where a sub claim was not added, despite the fact that this is not part of the push standard. To solve this issue, a dummy sub claim of 'emaito:example@example.com' is added to all messages. This will not effect any services already adding the sub claim manually.
This PR adds back support for the legacy aesgcm encoding that was removed back in v0.8.0. This is done primarily because (unfortunatly), some push implimentations like KaiOS still require aesgcm. It is also quite usefull for testing new push services (such as Apple's) which don't clarify which encoding they support. Unlike the v0.7 version of aesgcm, this implimentation defers to Mozilla's ECE crate, so there is very minimal maintinence overhead for us. All documentation and examples still use aes128gcm, and notes have been added warning users to use it wherever possible.
Changelog 🗒
[+] Add AesGcm enocding [+] Add filler
sub
claim to all tokens, unless the claim is added manually [+] Add tests for aesgcm [+] Update documentation to make examples more promenent [+] Bump to 0.9.5Bug Fixes 🐜
sub
claim was not added, despite the fact that this is not part of the push standard. To solve this issue, a dummysub
claim of 'emaito:example@example.com' is added to all messages. This will not effect any services already adding thesub
claim manually.