This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27111 - Separate "persistent" session type into persistent license and persistent key release
Summary: Separate "persistent" session type into persistent license and persistent key...
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Encrypted Media Extensions (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: LC
Assignee: David Dorwin
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard: API_Compatibility
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-20 19:03 UTC by David Dorwin
Modified: 2014-12-11 01:18 UTC (History)
3 users (show)

See Also:


Attachments

Description David Dorwin 2014-10-20 19:03:41 UTC
The "persistent" session type was added to differentiate the more complex management of persistent sessions (and the application responsibilities that go with it) from the simpler temporary session model and to provide the CDM with an indication of the type of license request to generate.

However, this has led to some confusion between persistent sessions and persistent licenses and to spec text that isn't as crisp as desired. Also, CDM implementations do not know whether or not to generate a request for a persistent license.

"persistent" was also general enough to cover any persistence needs without modifying the spec, but any such uses should probably be explicitly specified anyway.

I propose splitting "persistent" into "persistentlicense" and "persistentkeyrelease". This will allow us to provide more specific instructions to the CDM, clean up the spec text, hopefully eliminate related confusion, and normatively specify more behavior (especially related to key release, which has been unclear to some).

There are about six algorithms that need to be updated. I would also define the term "persistable license type" for use where appropriate (instead of using '"persistentlicense" or "persistentkeyrelease"').
Comment 1 David Dorwin 2014-10-31 19:09:27 UTC
As discussed at TPAC, I will implement this. There may be some interesting cases around deleting receipts for offline licenses (where some applications don't care), but that shouldn't block this.
Comment 2 David Dorwin 2014-12-11 01:18:43 UTC
https://github.com/w3c/encrypted-media/commit/d075e48451f02c0815f8d7459fbf166821492ece separates the "persistent" session type into "persistent-license" and "persistent-release-message".