This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Restrict encryption header values #188
Comments
ghost
added
the
enhancement
label
Oct 19, 2015
+1 for server based rejection. Should be easy to do there. |
Depends #379. |
Here's what we can check and reject on the server:
|
bbangert
added a commit
that referenced
this issue
Nov 15, 2016
Explicitly verify the crypto headers are present and match either the 01 or 04 webpush encryption drafts. This also includes a refactor of the push schemas to remove the push_validation file. Closes #188
bbangert
added a commit
that referenced
this issue
Nov 15, 2016
Explicitly verify the crypto headers are present and match either the 01 or 04 webpush encryption drafts. This also includes a refactor of the push schemas to remove the push_validation file. Closes #188
bbangert
added a commit
that referenced
this issue
Nov 15, 2016
Explicitly verify the crypto headers are present and match either the 01 or 04 webpush encryption drafts. This also includes a refactor of the push schemas to remove the push_validation file. Closes #188
bbangert
added a commit
that referenced
this issue
Nov 15, 2016
Explicitly verify the crypto headers are present and match either the 01 or 04 webpush encryption drafts. This also includes a refactor of the push schemas to remove the push_validation file. Closes #188
bbangert
added a commit
that referenced
this issue
Nov 16, 2016
Explicitly verify the crypto headers are present and match either the 01 or 04 webpush encryption drafts. This also includes a refactor of the push schemas to remove the push_validation file. Closes #188
bbangert
added a commit
that referenced
this issue
Nov 16, 2016
Explicitly verify the crypto headers are present and match either the 01 or 04 webpush encryption drafts. This also includes a refactor of the push schemas to remove the push_validation file. Closes #188
bbangert
added a commit
that referenced
this issue
Nov 16, 2016
Explicitly verify the crypto headers are present and match either the 01 or 04 webpush encryption drafts. This also includes a refactor of the push schemas to remove the push_validation file. Closes #188
bbangert
added a commit
that referenced
this issue
Nov 16, 2016
Explicitly verify the crypto headers are present and match either the 01 or 04 webpush encryption drafts. This also includes a refactor of the push schemas to remove the push_validation file. Closes #188
pjenvey
pushed a commit
that referenced
this issue
Nov 16, 2016
* feat: enforce strict crypto header checks Explicitly verify the crypto headers are present and match either the 01 or 04 webpush encryption drafts. This also includes a refactor of the push schemas to remove the push_validation file. Closes #188
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
webpush-wg/webpush-encryption#1 tightens some of the requirements for the
Content-Encoding
,Encryption
, andEncryption-Key
headers.Content-Encoding
can only beaesgcm128
.Encryption
andEncryption-Key
can only contain one entry.Encryption
can't contain akey
param.We could validate this on the server, and reject invalid messages with a 400.
The text was updated successfully, but these errors were encountered: