Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Accept messages with Content-Encoding: aes128gcm #930

Closed
beverloo opened this issue Jun 21, 2017 · 0 comments · Fixed by #932
Closed

Accept messages with Content-Encoding: aes128gcm #930

beverloo opened this issue Jun 21, 2017 · 0 comments · Fixed by #932
Assignees
Labels

Comments

@beverloo
Copy link

The latest encryption drafts specify that the Content-Encoding HTTP header for messages encrypted with this scheme needs to set to aes128gcm.

https://tools.ietf.org/html/draft-ietf-webpush-encryption
https://tools.ietf.org/html/draft-ietf-httpbis-encryption-encoding

When pushing a payload to autopush with this header set, I get the following error:

Request did not validate Unknown Content-Encoding

Given that Nightly gained support for decrypting such payloads early May, it'd be nice if your server could be updated to accept them too.

I'm testing with the following page. Chrome supports the new scheme starting Chrome 60 (currently in beta):

https://tests.peter.sh/push-generator/#padding=0;;encryption=1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants