Skip to content

Commit

Permalink
Merge pull request #224 from beverloo/enc-details
Browse files Browse the repository at this point in the history
Clarify encryption key lifetime and intention
  • Loading branch information
martinthomson committed Nov 18, 2016
2 parents d202f5a + 4bf28c4 commit b94894e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,12 @@ <h2>
with a <a>service worker registration</a> and a <a>service worker registration</a> has at
most one <a>push subscription</a>.
</p>
<p>
A <a>push subscription</a> has internal slots for a P-256 <a>ECDH</a> key pair and an
authentication secret in accordance with [[!WEBPUSH-ENCRYPTION]]. These slots MUST be
populated when creating the <a>push subscription</a>, and MUST remain constant for its
lifetime.
</p>
<p>
When a <a>push subscription</a> is <dfn data-lt=
"deactivated|deactivate">deactivated</dfn>, both the <a>user agent</a> and the <a>push
Expand Down Expand Up @@ -850,7 +856,9 @@ <h2>
</li>
</ol>
<p>
Keys named <code><a>p256dh</a></code> and <code><a>auth</a></code> MUST be supported.
Keys named <code><a>p256dh</a></code> and <code><a>auth</a></code> MUST be supported, and
their values MUST correspond to those necessary for the user agent to decrypt received push
messages in accordance with [[!WEBPUSH-ENCRYPTION]].
</p>
<p>
The <code><dfn id=
Expand Down

0 comments on commit b94894e

Please sign in to comment.