{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla-services/autopush/issues/432","repository_url":"https://api.github.com/repos/mozilla-services/autopush","labels_url":"https://api.github.com/repos/mozilla-services/autopush/issues/432/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-services/autopush/issues/432/comments","events_url":"https://api.github.com/repos/mozilla-services/autopush/issues/432/events","html_url":"https://github.com/mozilla-services/autopush/issues/432","id":144703093,"number":432,"title":"Idea: return a 400 with an explanation for `Content-Encoding: aesgcm128` + Crypto-Key","user":{"login":"kitcambridge","id":243830,"avatar_url":"https://avatars.githubusercontent.com/u/243830?v=3","gravatar_id":"","url":"https://api.github.com/users/kitcambridge","html_url":"https://github.com/kitcambridge","followers_url":"https://api.github.com/users/kitcambridge/followers","following_url":"https://api.github.com/users/kitcambridge/following{/other_user}","gists_url":"https://api.github.com/users/kitcambridge/gists{/gist_id}","starred_url":"https://api.github.com/users/kitcambridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitcambridge/subscriptions","organizations_url":"https://api.github.com/users/kitcambridge/orgs","repos_url":"https://api.github.com/users/kitcambridge/repos","events_url":"https://api.github.com/users/kitcambridge/events{/privacy}","received_events_url":"https://api.github.com/users/kitcambridge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla-services/autopush/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/mozilla-services/autopush/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"jrconlin","id":35755,"avatar_url":"https://avatars.githubusercontent.com/u/35755?v=3","gravatar_id":"","url":"https://api.github.com/users/jrconlin","html_url":"https://github.com/jrconlin","followers_url":"https://api.github.com/users/jrconlin/followers","following_url":"https://api.github.com/users/jrconlin/following{/other_user}","gists_url":"https://api.github.com/users/jrconlin/gists{/gist_id}","starred_url":"https://api.github.com/users/jrconlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrconlin/subscriptions","organizations_url":"https://api.github.com/users/jrconlin/orgs","repos_url":"https://api.github.com/users/jrconlin/repos","events_url":"https://api.github.com/users/jrconlin/events{/privacy}","received_events_url":"https://api.github.com/users/jrconlin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mozilla-services/autopush/milestones/7","html_url":"https://github.com/mozilla-services/autopush/milestones/PUSHSVC-0:%20quality","labels_url":"https://api.github.com/repos/mozilla-services/autopush/milestones/7/labels","id":1369355,"number":7,"title":"PUSHSVC-0: quality","description":"An ongoing milestone into which we can schedule maintenance tasks, tech-debt paydown, and other code-quality-related issues.","creator":{"login":"bbangert","id":100193,"avatar_url":"https://avatars.githubusercontent.com/u/100193?v=3","gravatar_id":"","url":"https://api.github.com/users/bbangert","html_url":"https://github.com/bbangert","followers_url":"https://api.github.com/users/bbangert/followers","following_url":"https://api.github.com/users/bbangert/following{/other_user}","gists_url":"https://api.github.com/users/bbangert/gists{/gist_id}","starred_url":"https://api.github.com/users/bbangert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbangert/subscriptions","organizations_url":"https://api.github.com/users/bbangert/orgs","repos_url":"https://api.github.com/users/bbangert/repos","events_url":"https://api.github.com/users/bbangert/events{/privacy}","received_events_url":"https://api.github.com/users/bbangert/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":55,"state":"open","created_at":"2015-10-21T22:36:45Z","updated_at":"2016-04-20T15:42:36Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-03-30T19:56:56Z","updated_at":"2016-04-20T15:42:36Z","closed_at":"2016-04-20T15:42:36Z","body":"If https://bugzilla.mozilla.org/show_bug.cgi?id=1257821 is uplifted to Beta, Firefox will only support two content encodings:\r\n\r\n* `Content-Encoding: aesgcm128` + `Encryption-Key`\r\n* `Content-Encoding: aesgcm` + `Crypto-Key`\r\n\r\nThe intermediate state (`Content-Encoding: aesgcm128` + `Crypto-Key`) currently exists in Firefox 46. Since it's also incompatible with Chrome, I don't think too many developers have been using it...but it might be nice for us to detect it early and return a special error code and message (\"You're using outdated encryption; please update to the format described in https://developers.google.com/web/updates/2016/03/web-push-encryption\").\r\n\r\nWDYT?"}}