Re: [push-api] Add and Encryption Key array to the PushRegistration interface (#89)

@martinthomson wrote:
> My recommendation would be to generate one for each new push subscription, but that depends largely on choosing something relatively cheap to create, like ECDH.

We should probably leave it up to the UA to decide whether to use a key per origin, or per Service Worker, or per push registration (or some other heuristic). The spec can then simply tell authors to make no presumptions about key re-use (i.e. authors should expect to have to store a separate key for every push registration, even if in some cases these may be the same).

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/pull/89#issuecomment-65106506

Received on Monday, 1 December 2014 18:00:29 UTC